<!--

function getCookieValue(cookieName)
{
   var cookieValue = document.cookie;
   var cookieStartsAt = cookieValue.indexOf(" " + cookieName + "=");

   if (cookieStartsAt == -1)   {
      cookieStartsAt = cookieValue.indexOf(cookieName + "=");
   }

   if (cookieStartsAt == -1)   {
      cookieValue = null;
   }
   else
   {
      cookieStartsAt = cookieValue.indexOf("=", cookieStartsAt) + 1;
      var cookieEndsAt = cookieValue.indexOf(";", cookieStartsAt);
      if (cookieEndsAt == -1)      {
         cookieEndsAt = cookieValue.length;
      }

      cookieValue = unescape(cookieValue.substring(cookieStartsAt, cookieEndsAt ));
   }
   return cookieValue;
}

function setCookie(cookieName, cookieValue, cookieDomain, cookiePath, cookieExpires)
{
   cookieValue = escape(cookieValue);

   if (cookieExpires == "")   {
      var nowDate = new Date();
      nowDate.setFullYear(nowDate.getFullYear() + 100);
      nowDate.setHours(0);
      nowDate.setMinutes(0);
      nowDate.setSeconds(0);
      cookieExpires = nowDate.toGMTString();
      //alert(nowDate);
      //alert(cookieExpires);
   }

   if (cookieDomain != "")   {
      cookieDomain = ";domain=" + cookieDomain;

   }

   if (cookiePath != "")   {
      cookiePath = ";Path=" + cookiePath;

   }

   document.cookie = cookieName + "=" + cookieValue + ";expires=" + cookieExpires + cookieDomain + cookiePath;
}

var nowDate = new Date();
var lastVisit = getCookieValue("LastVisit");

if (lastVisit == null || lastVisit != "y") {
	lastVisit = "y";
      	setCookie("LastVisit",lastVisit,"","","");
      	window.open('../en/important_note.htm','','width=550,height=250,top=0,left=0,toolbar=0,menubar=0,location=0,scrollbars=1,status=0,resizable=1');
}
//-->
