<!--


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function checkscreen()
{
   if (screen.width==800)    
   {MM_openBrWindow('main.htm','zk017b','screenX=0,screenY=0,directories=0,fullscreen=1,left=0,top=0,width=800,height=600,location=0,menubar=0,scrollbars=0,status=0,toolbar=0')
}
   if (screen.width==1024)
   {MM_openBrWindow('main.htm','zk017b','screenX=0,screenY=0,directories=0,fullscreen=0,left=112,top=84,width=800,height=600,location=0,menubar=0,scrollbars=0,status=0,toolbar=0')}
}


var expdate=new Date();
expdate.setTime(expdate.getTime()+(24*60*60*1000*365));

function SetCookie(name,value)
{


var argv=SetCookie.arguments;
 var argc=SetCookie.arguments.length;
 var expires=(2<argc)?argv[2]:null;
 var path=(3<argc)?argv[3]:null;
 var domain=(4<argc)?argv[4]:null;
 var secure=(5<argc)?argv[5]:false;
 document.cookie=name+"="+escape(value)+((expires==null)?"":("; expires="+expires.toGMTString()))+((path==null)?"":("; path="+path))+((domain==null)?"":("; domain="+domain))+((secure==true)?"; secure":"");
}

function writecook()
{
  var url=location.href;
  SetCookie("historyUrl",url,expdate,"/",null,false);
}
//-->