		function ShowChart(seq, indexValue, https)
		{	
		document.images['chart'+seq].src = (https+'charts.stockgroup.com/charts/sgc2000.asp?p1=' + indexValue +'&P2=1&P3=00&P4=2001&P5=1&P6=00&P7=2001&P8=3&P9=&p10=&p11=1&p12=&p13=1&p14=&p15=&P17=&P18=&p20=&p21=&p22=&p23=&p24=&p25=185&P26=0&P27=0&P28=2&P29=FFFFFF&P30=CC0000&P33a=9C9A9C&P34=6699CC&P39=000000&P55=0&P47=000066&P48=0&P58=&p61=0&p62=0');
		}	
		
		function writit(country,inno,id)
					{
						if (country == "US") {
						var lname = new Array("Dow Industrials","Dow Utilities","Dow Transportation","Nasdaq Composite","Nasdaq 100","Nasdaq Financial",
												"Nasdaq Biotech","Nasdaq Computer","Nasdaq Industrials","Nasdaq Telecom","S&amp;P500","S&amp;P 400","AMEX",
												"NYSE","NRussell 1000","Russell 2000","Russell 3000");
												if (id=="strFundLongName1") {
													Set_Cookie("ua1=usymb1", inno);
													}
												if (id=="strFundLongName2") {
													Set_Cookie("ua2=usymb2", inno);  
													}
												if (id=="strFundLongName3") {
													Set_Cookie("ua3=usymb3", inno); 
													}
											}  
						else	{
						var lname = new Array("TSX COMPOSITE","TSX-VENTURE","Canadian Dollar","Dow Industrials","Dow Utilities","Dow Transportation",
												"Nasdaq Composite","Nasdaq 100","TSX 60 Capped Index","TSX 60 Index","TSX CAN Discretionary","TSX CAN Staples","TSX CAN Energy Index",
												"TSX CAN Energy Trust","TSX CAN Financial","TSX CAN Gold Index","TSX CAN Health Care","TSX CAN Income Trust","TSX CAN Industrials",
												"TSX CAN Information","TSX CAN Materials","TSX CAN MidCap","TSX CAN Mining","TSX CAN Real Estate","TSX CAN Reit","TSX CAN Small Cap",
												"TSX CAN Tele Services","TSX CAN Utilities","TSX Capped Composite","Nasdaq Financial","Nasdaq Biotech","Nasdaq Computer",
												"Nasdaq Industrials","Nasdaq Telecom","S&amp;P500","S&amp;P 400","AMEX","NYSE","Russell 1000","Russell 2000",
												"Russell 3000","Wilshire 5000","10 Yr Note","30 Yr Bond");
												if (country == "CA") {
												if (id=="strFundLongName1") {
													Set_Cookie("ca1=csymb1", inno);
													}
												if (id=="strFundLongName2") {
													Set_Cookie("ca2=csymb2", inno); 
													}
												if (id=="strFundLongName3") {
													Set_Cookie("ca3=csymb3", inno);   
													}}
													
													if (country == "INT") {
												if (id=="strFundLongName1") {
													Set_Cookie("ia1=isymb1", inno);
													}
												if (id=="strFundLongName2") {
													Set_Cookie("ia2=isymb2", inno); 
													}
												if (id=="strFundLongName3") {
													Set_Cookie("ia3=isymb3", inno);   
													}}
											}
						
						var text = lname[inno]													
						if (document.getElementById)
						{
							x = document.getElementById(id);
							x.innerHTML = '';
							x.innerHTML = text;
						}
						else if (document.all)
						{
							x = document.all[id];
							x.innerHTML = text;
						}
						else if (document.layers)
						{
							x = document.layers[id];
							text2 = text;
							x.document.open();
							x.document.write(text2);
							x.document.close();
						}
						
					}
		function writit2(country,inno,inname,id)
					{
						if (country == "US") {
							if (id=="strFundLongName1") {
								Set_Cookie("ua1=usymb1", inno);
							}
							if (id=="strFundLongName2") {
								Set_Cookie("ua2=usymb2", inno);  
							}
							if (id=="strFundLongName3") {
								Set_Cookie("ua3=usymb3", inno); 
							}
						} else {
							if (country == "CA") {
								if (id=="strFundLongName1") {
									Set_Cookie("ca1=csymb1", inno);
								}
								if (id=="strFundLongName2") {
									Set_Cookie("ca2=csymb2", inno); 
								}
								if (id=="strFundLongName3") {
									Set_Cookie("ca3=csymb3", inno);   
								}
							}
							
							if (country == "INT") {
								if (id=="strFundLongName1") {
									Set_Cookie("ia1=isymb1", inno);
								}
								if (id=="strFundLongName2") {
									Set_Cookie("ia2=isymb2", inno); 
								}
								if (id=="strFundLongName3") {
									Set_Cookie("ia3=isymb3", inno);   
								}
							}
						}
						var text = inname													
						if (document.getElementById)
						{
							x = document.getElementById(id);
							x.innerHTML = '';
							x.innerHTML = text;
						}
						else if (document.all)
						{
							x = document.all[id];
							x.innerHTML = text;
						}
						else if (document.layers)
						{
							x = document.layers[id];
							text2 = text;
							x.document.open();
							x.document.write(text2);
							x.document.close();
						}
						
					}
		function Set_Cookie(name, value) { 
			var expdate = new Date ();
     		var argv = Set_Cookie.arguments; 
			var argc = Set_Cookie.arguments.length; 
			var path = (argc > 3) ? argv[3] : null; 
			var domain = (argc > 4) ? argv[4] : null; 
			var secure = (argc > 5) ? argv[5] : false; 
			
			expdate.setTime (expdate.getTime() + (1000 * 60 * 60 * 24 * 31));
			document.cookie = name + "=" + escape (value) + 
			((expdate == null) ? "" : ("; expires=" + expdate.toGMTString())) + 
			((path == null) ? "" : ("; path=" + path)) + 
			((domain == null) ? "" : ("; domain=" + domain)) + 
			((secure == true) ? "; secure" : ""); 
			} 

		
		function customize() { 
			newwin=window.open('','customize','WIDTH=360,HEIGHT=400,resizable=yes,scrollbars=no,status=no,menubar=no,directories=no,toolbar=no,top=100,left=200');
		}
