function GMT(){
   var d, tz, s = "Your local time is GMT ";
   d = new Date();
   tz = d.getTimezoneOffset();
   if (tz > 0)
      s +="+" + tz / 60 + " hours. ";
   else if (tz == 0)
      s += "GMT";
   else
      s += tz / 60 + " hours. ";
	  //s = -s;
document.write(s);
 }  
