function chm(instid,isnttime){if ((document.getElementById("forexpfg").href=='http://www.forexpf.ru/')&(document.getElementById("forexpfg").innerHTML=='Курсы валют Forex')) open('http://j1.forexpf.ru:80/proftrading/chart3.jsp?instrumentId='+instid+'&tictype='+isnttime);} function chm2(instid,isnttime){if ((document.getElementById("forexpfg").href=='http://www.forexpf.ru/')&(document.getElementById("forexpfg").innerHTML=='Курсы валют Forex')) open('http://www.forexpf.ru/chart/'+instid+'/'+isnttime);}