﻿function MM_reloadPage(init) {  
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_swapImgRestore() { 
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_swapImage() { 
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function ATMWin(URL) {
  ATM=window.open(URL,"ATM","top=0,left=0,height="+(screen.availheight)+",width="+(screen.availWidth)+",toolbar=yes,menubar=yes,scrollbars=yes,resizable=yes,location=yes,directories=no,status=yes");
  if (ATM) ATM.focus();
}

function OpeWin(URL,WinName)
{
	new_win=window.open(URL,WinName,"top=20,left=250,height=500,width=730,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes");
}

function RootWin(URL)
{
	location.href = URL;
}

function MM_callJS(jsStr) 
{ 
	return eval(jsStr)
}
