
			var isIE5 = (document.all && document.getElementById) ? true : false;
			var isNS6 = (!document.all && document.getElementById) ? true : false;
			if(!isIE5 && !isNS6) { alert("Sorry your browser is not supported"); }
		
			var symbol = "EURUSD";
			var contract = "9999D";
			var contract_type = "9999D";

			var close_time = "";
			var open_time = "";
			var time_zone_diff = "";
			var spacer = 4;
			var max_date_bars = 200;
			var days_offset = 6;
			var top_chart_pad = 5;
			var bottom_chart_pad = 5;
			var max_high = 1.4413 + (5 / 946.204340712413);
			var min_low = 1.187655 - (5 / 946.204340712413);
			var title_bar_height = 20;
			var tick_scale = 946.204340712413;
			var image_height = 300;
			var image_width = 650;
			var chart_height = 250;
			var chart_width = 600;
			var indicator_height = 100;
			var price_mark = 0.00286231336805556;
			var minmove = parseFloat("5e-05");
			var highlight_color = 'yellow';
			var ocp_table = "<DIV ID='ocp_highlighter' style='position: absolute; left: 1; top:" + (title_bar_height+1) + "; z-index: 1; visibility: hidden; height: " + (chart_height-1) + "; width: " + spacer + "; background-color: " + highlight_color + "'></DIV>";
			var ind_table = "<DIV ID='ind_highlighter' style='position: absolute; left: 1; top: 1; z-index: 1; visibility: hidden; height: " + (indicator_height - 2) + "; width: " + spacer + "; background-color: " + highlight_color + "'></DIV>";
			var pic_temp = new Array();
			pic_temp[0] = new Image(image_width,indicator_height);		//indicator template
			pic_temp[0].src = "/charts/template/tmp_ind_650_100_200.png";
			pic_temp[1] = new Image(image_width,indicator_height);		//blank indicator
			pic_temp[1].src = "/charts/template/tmp_ind_blank_650_100.png";
			pic_temp[2] = new Image(image_width,image_height);				//ocp template
			pic_temp[2].src = "/charts/template/tmp_650_300_200.png";
			pic_temp[3] = new Image(image_width,indicator_height);		//rsi template
			pic_temp[3].src = "/charts/template/tmp_rsi_650_100.png";
			pic_temp[4] = new Image(image_width,indicator_height);		//stochastic template
			pic_temp[4].src = "/charts/template/tmp_sto_650_100.png";
	
			var pic_ocp = new Array();
			pic_ocp[0] = new Image(image_width,image_height);			//ocp chart
			pic_ocp[0].src = "/charts/fx/eod/EURUSD/eurusd9999d_200_9999d_1280350800_OHLC.png";
			pic_ocp[1] = new Image(image_width,image_height);			//ocp moving average
			pic_ocp[1].src = "/charts/fx/eod/EURUSD/avg_eurusd9999d_200_9999d_1280350800.png";
		var pic_name = new Array();
pic_name[0] = new Image(image_width,indicator_height);
pic_name[0].src = "/charts/fx/eod/EURUSD/vol_eurusd9999d_200_9999d_1280350800.png";
pic_name[0].name = "voloi";
pic_name[1] = new Image(image_width,indicator_height);
pic_name[1].src = "/charts/fx/eod/EURUSD/fsto_eurusd9999d_200_9999d_1280350800.png";
pic_name[1].name = "fsto";
pic_name[2] = new Image(image_width,indicator_height);
pic_name[2].src = "/charts/fx/eod/EURUSD/ssto_eurusd9999d_200_9999d_1280350800.png";
pic_name[2].name = "ssto";
pic_name[3] = new Image(image_width,indicator_height);
pic_name[3].src = "/charts/fx/eod/EURUSD/macd_eurusd9999d_200_9999d_1280350800.png";
pic_name[3].name = "macd";
pic_name[4] = new Image(image_width,indicator_height);
pic_name[4].src = "/charts/fx/eod/EURUSD/rsi_eurusd9999d_200_9999d_1280350800.png";
pic_name[4].name = "rsi";
