function changegraph (freq,stock,lang){
	var txt=new Array;
	var grp=new Array;
	txt['aylik_imkb_tr']="TCELL / Aylık";
	txt['haftalik_imkb_tr']="TCELL / Haftalık";
	txt['yillik_imkb_tr']="TCELL / Yıllık";
	txt['aylik_nyse_tr']="TKC / Aylık";
	txt['haftalik_nyse_tr']="TKC / Haftalık";
	txt['yillik_nyse_tr']="TKC / Yıllık";
	
	txt['aylik_imkb_en']="TCELL / Monthly";
	txt['haftalik_imkb_en']="TCELL / Weekly";
	txt['yillik_imkb_en']="TCELL / Yearly";
	txt['aylik_nyse_en']="TKC / Monthly";
	txt['haftalik_nyse_en']="TKC / Weekly";
	txt['yillik_nyse_en']="TKC / Yearly";
	
	grp['aylik_imkb']="http://graph.foreks.com/gifs/tcell/TCELL_A.gif";
	grp['haftalik_imkb']="http://graph.foreks.com/gifs/tcell/TCELL_H.gif";
	grp['yillik_imkb']="http://graph.foreks.com/gifs/tcell/TCELL_Y.gif";

	grp['aylik_nyse']="http://graph.foreks.com/gifs/tcell/TKC,NYS_A.gif";
	grp['haftalik_nyse']="http://graph.foreks.com/gifs/tcell/TKC,NYS_H.gif";
	grp['yillik_nyse']="http://graph.foreks.com/gifs/tcell/TKC,NYS_Y.gif";
	
	document.getElementById('text_'+stock).value=txt[freq+'_'+stock+'_'+lang];
	document.getElementById('graph_'+stock).src=""+grp[freq+'_'+stock];	
}
