<!--

// original script: http://regretless.com/scripts/basics/get_screen_width_height.php
// CREDITS: got the original php script from veryraw.com
// original script: http://veryraw.com/history/2005/03/image-resizing-with-php/
// original screen resolution script: http://regretless.com/scripts/basics/get_screen_width_height.php
// adapted for brian's script by james revillini
// adapted for zencart 1.2.5d by james revillini (kodersoftware in the zen forums)
// there didn't seem to be a license, but it was shared openly so i'm going to
// brand it henceforth:
//
// +----------------------------------------------------------------------+
// | MoonDreams.net Image Resize-o-matic                                  |
// | (Ported for zen cart by James Revillini)                             |
// +----------------------------------------------------------------------+
// | Copyright (c) 2005 Jim Revillini                                     |
// |                                                                      |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license        |
// | (see http://www.gnu.org/licenses/gpl.txt)                            |
// +----------------------------------------------------------------------+
// $Id: jscript_get_resolution.php
// 

var today = new Date();
var the_date = new Date("December 31, 2023");
var the_cookie_date = the_date.toGMTString();
var the_cookie = "users_res="+ screen.width +"x"+ screen.height;
var the_cookie = the_cookie + ";expires=" + the_cookie_date;
document.cookie=the_cookie

//-->
