var PURL="http://www.internet.ge/";
var PName="win120984620dsf2348720211230984721918267";



var expires = new Date(); 
    expires.setTime(expires.getTime() + 1000*60*60*24*365);
var expiresnow=new Date;
    expiresnow.setTime(expires.getTime() - 1);

//----------------------------------------------------------
function mainrefresh(PName,querystring) {
  ihp=window.open(PURL+"?"+querystring,PName);
}
//----------------------------------------------------------
function helpwin(url) {
  var df=window.open('unihelpwin.html?'+url,'unihelpwindow','scrollbars=no,toolbar=no,status=yes,width=365,height=290,top=50,left=50');
  df.window.focus();
}
//------------------------------------------
function installhelpwindow () {
  var uhw=window.open("","installhelpwindow","scrollbars=no,toolbar=no,status=yes,width=200,height=500,top=100,left=200");
  uhw.document.open();
  uhw.document.write ("<html>here will be help text about how to install sylfaen...</html>");
  uhw.document.close();
}
//--------------------------------------------------------
function getCookie(Name) {   var search = Name + "=";   if (document.cookie.length > 0) { offset = document.cookie.indexOf(search);if (offset != -1) { offset += search.length;end = document.cookie.indexOf(";", offset);if (end == -1) end = document.cookie.length;return unescape(document.cookie.substring(offset, end));}}}
function setCookie(name, value, expire) {document.cookie = name + "=" + escape(value)   + ((expire == null) ? "" : ("; expires=" + expire.toGMTString()));}