function GetNowDate()
{
 var dtDate=new Date();
 
 var month= dtDate.getMonth()+1;
 var nHours=dtDate.getHours();
 var nMinutes=dtDate.getMinutes();
 var nSec=dtDate.getSeconds();
 result=dtDate.getDate()+ "."+ month+ "."+ dtDate.getYear();
 result+=" "+nHours+":"+nMinutes+":"+nSec;
 return(result);
}
  var MSIE=navigator.userAgent.indexOf("MSIE");
  var NETS=navigator.userAgent.indexOf("Netscape");
  var OPER=navigator.userAgent.indexOf("Opera");
  var bn=navigator.appName;
  var bv=parseInt( navigator.appVersion );
  var ms = navigator.appVersion.indexOf("MSIE");
  if (!document.layers)
    bv=parseInt(navigator.appVersion.substring(ms+5, ms+6));
  var SW=screen.width;
  var SH=screen.height;
  var CD=screen.colorDepth;
  var d_url=window.document.URL;
  var refer=window.document.referrer;
  var plat=navigator.platform;
  var acookie=navigator.cookieEnabled;
  var lang=navigator.language;
  var userlang=navigator.userLanguage;

var oneDay= 1*24*60*60*1000;
var expDate = new Date();
expDate.setTime (expDate.getTime() + oneDay*364*10);
var cookieExpires = expDate.toGMTString();

RF="^"

var nowDate = new Date();
var nDate = nowDate.toGMTString();
var SV=""
//SV+="T.MSIE~"+MSIE+RF;
//SV+="T.NETS~"+NETS+RF;
//SV+="T.OPER~"+OPER+RF;
//SV+="T.bn~"+bn+RF;
//SV+="T.bv~"+bv+RF;
SV+="T.SD~"+SW+"x"+SH+RF;
SV+="T.CD~"+CD+RF;
SV+="T.P~"+plat+RF;
SV+="T.BL~"+lang+RF;
SV+="T.UL~"+userlang+RF;
SV+="T.ND~"+GetNowDate()+RF
document.cookie="SV="+SV+";";
document.cookie="expires="+cookieExpires;

//window.alert(cookieExpires)
//window.alert(document.cookie)

/*
//first, calculate an expiration for your temporary test cookie
var oneDay= 1*24*60*60*1000;
var expDate = new Date();
expDate.setTime (expDate.getTime() + oneDay);
var cookieExpires = expDate.toGMTString();
//just for completeness, get the browser information
document.write("Your browser is: <b>", navigator.appName,"</b><BR>");
document.write("Version:  <b>",navigator.appVersion,"</b><BR>");
//set your temprorary cookie
document.cookie="verifyCookie=test; expires="+cookieExpires
//check to see if ANY cookies exist, including the one you just set
if (document.cookie.length>0)
document.write("Your browser supports cookies.<BR><BR>");
else {
document.write("Your browser doesn't support cookies, ")
document.write("or they're currently disabled.<BR><BR>");
document.write(document.cookie.substring(0,document.cookie.length)+"<BR><BR>");
}
//now be a good Netizen and clear out the unwanted stuff
document.cookie="verifyCookie=CLEAR; expires=Sun, 09-Nov-97 01:00:00 GMT";
*/

