function CheckPage()
{
if( top==self )
{
document.write("<table width=545 height=40 border=0 cellspacing=0 cellpadding=0><tr><td width=373>");
document.write("<font class=lk>");
document.write("<a href='../default.html' target='_top'>Начало</a>");
document.write(":&nbsp&nbsp<a href='" +s1+ "' target='_top'>" +s2+ "</a>");
document.write("</font></td><TD width=172 height=32><a href='../default.html'><img lowsrc='../images/lowsrc.gif' src='../images/logo31s.gif' width=172 height=36 border=0></a></TD></TR>");
document.write("<TR><TD height=4 colspan=2><div style='position:absolute; top:39; left:18;'><img src='../images/down.gif' width=453 height=1></div></TD></TR>");
document.write(" </table>");
}
else
{
if (top.pr != -1)
top.document.location="http://www.forexite.com/default.html";
}
}

function CheckPageNan()
{
if( top==self )
{
document.write("<div id=openacc>");
document.write("<a href='../forex_trading_forexite/forexite_account_opening.html'><div>Открыть<br>счет</div></a>");
document.write("</div>");
}
else
{
}
}


function CheckPage10()
{
if( top==self )
{
document.write("<table width=545 height=40 border=0 cellspacing=0 cellpadding=0><tr><td width=373>");
document.write("<font class=lk>");
document.write("<a href='../default.html' target='_top'>Начало</a>");
document.write("</font></td><TD width=172 height=32><a href='../default.html'><img lowsrc='../images/lowsrc.gif' src='../images/logo31s.gif' width=172 height=36 border=0></a></TD></TR>");
document.write("<TR><TD height=4 colspan=2><div style='position:absolute; top:39; left:18;'><img src='../images/down.gif' width=453 height=1></div></TD></TR>");
document.write("</table>");
}
else
{
if (top.pr != -1)
top.document.location="http://www.forexite.com/default.html";
}
}

function CheckPage1()
{
if( top==self )
{
document.write("<table width=545 height=40 border=0 cellspacing=0 cellpadding=0><tr><td width=373>");
document.write("<font class=lk>");
document.write("<a href='default.html' target='_top'>Начало</a>");
document.write("</font></td><TD width=172 height=32><a href='default.html'><img lowsrc='images/lowsrc.gif' src='images/logo31s.gif' width=172 height=36 border=0></a></TD></TR>");
document.write("<TR><TD height=4 colspan=2><div style='position:absolute; top:39; left:18;'><img src='images/down.gif' width=453 height=1></div></TD></TR>");
document.write("</table>");
}
else
{
if (top.pr != -1)
top.document.location="http://www.forexite.com/default.html";
}
}

function CheckPage2()
{
if( top==self )
{
document.write("<table width=545 height=40 border=0 cellspacing=0 cellpadding=0><tr><td width=373>");
document.write("<font class=lk>");
document.write("<a href='../../default.html' target='_top'>Начало</a>");
document.write(":&nbsp&nbsp<a href='../"+s1+"' target='_top'>"+s2+"</a>");
document.write(":&nbsp&nbsp<a href='../"+s3+"' target='_top'>"+s4+"</a>");
document.write("</font></td><TD width=172 height=32><a href='../../default.html'><img lowsrc='../../images/lowsrc.gif' src='../../images/logo31s.gif' width=172 height=36 border=0></a></TD></TR>");
document.write("<TR><TD height=4 colspan=2><div style='position:absolute; top:39; left:18;'><img src='../../images/down.gif' width=453 height=1></div></TD></TR>");
document.write("</table>");
}
else
{
if (top.pr != -1)
top.document.location="http://www.forexite.com/default.html";
}
}


function CheckForObject(n1, n2)
{
if (top != self)
{
parent.Mi = n1;
parent.Mk = n2;
parent.menu.drawMenu(n1,n2);
}
}

function TimePage()
{
document.write("<table width=100% border=0 cellpadding=0 cellspacing=0><tr><td height=40 align=left valign=middle><font class=hd size=1><p>Обновлено: ");
var zxc=new Date();
var fyear1 = zxc.getYear();
if (fyear1<1000)
fyear1=fyear1+1900;
var cxz=new Date(document.lastModified);
delta =-zxc.getTimezoneOffset()/60;
var dateObj =new Date(cxz - delta*3600000);
var date = dateObj.getDate();
var fyear = dateObj.getYear();
if (fyear<1000)
fyear=fyear+1900;
var mm=dateObj.getMonth()+1;
var hr=dateObj.getHours();
var mn=dateObj.getMinutes();
if (mn<10)
  mn = "0" + mn
if (hr<10)
  hr = "0" + hr
if (date<10)
  document.write("0")
document.write(date+".");
if (mm<10)
  document.write("0");
document.write(mm+"."+fyear+" "+hr+":"+mn+" GMT");
if ((navigator.appName.lastIndexOf("Netscape") != -1) & (navigator.appVersion.lastIndexOf("4") == -1))
document.write("<br>&copy 1999-"+fyear1+" Forexite Ltd.</font></td></tr><tr><td height=8></td></tr></table>");
else
document.write("<br>&copy 1999-"+fyear1+" Forexite Ltd.</font></td></tr></table>");
}

function TimePage2()
{
var zxc=new Date();
var cxz=new Date(document.lastModified);
delta=-zxc.getTimezoneOffset()/60;
var dateObj =new Date(cxz - delta*3600000);
var date=dateObj.getDate();
var fyear=dateObj.getYear();
if (navigator.appName.lastIndexOf("Netscape") != -1)
fyear=fyear+1900;
var mm=dateObj.getMonth()+1;
var hr=dateObj.getHours();
var mn=dateObj.getMinutes();
if (mn<10)
mn="0"+mn
if (hr<10)
hr="0"+hr
if (date<10)
document.write("0")
document.write(date+".")
if (mm<10)
document.write("0")
document.write(mm+"."+fyear+" "+hr+":"+mn+" GMT")
}

function rlh(n,m,l)
{
if(n!=1)
self.location.reload(true);
else
CheckForObject(m,l);
t1=new Date();
z1=t1.getHours()-t1.getTimezoneOffset()/60;
if ((z1>5) && (z1<18))
dt=600000;
else
dt=3600000;
timerId = setTimeout("rlh(0,0,0)",dt);
}

