function getCookie(Name) {

   var search = Name + "="

   if (document.cookie.length > 0) { // if there are any cookies

      offset = document.cookie.indexOf(search) 

      if (offset != -1) { // if cookie exists 

         offset += search.length 

         // set index of beginning of value

         end = document.cookie.indexOf(";", offset) 

         // set index of end of cookie value

         if (end == -1) 

            end = document.cookie.length

         return unescape(document.cookie.substring(offset, end))

      } 

   }

}

var screen_x=window.screen.width;
var screen_y=window.screen.height;


document.write('<img src="http://phptrack.net/phptrack.php?site_id='+phptrack_site_id+'&s_x='+screen_x+'&s_y='+screen_y+'&t_v='+phptrack_test_value+'" width="0" height="0" border="0"/>');