<!-- /* © 1997-2003 SmellTheCoffee, Inc. All Rights Reserved.*/ 
var win=null;
var clen = document.cookie.length;

function NewWindow(mypage,myname,w,h,pos,infocus){

if(GetCookie("CID") == "999"){ return; }
	else { // If cookie does not exist
	// Establishing a cookie for the new visitor
	document.cookie="CID=999; Path=/; Expires= " + getFuture(999).toGMTString();

	function getFuture (f){
		var d = new Date();
		d.setTime(d.getTime() + (86400000 * f));
		return d;
	}

	// Position of pop-up box on screen, change these to have box open up in a different location.
	PosLeft=100;
	PosTop=100;

	// width and height values can be changed in <BODY onLoad...> statement
	// page path/name and page title are also changed in <BODY onLoad...> statement

	// scrollbars=no, etc. can be directly modified as listed below:
	settings="width=" + w + ",height=" + h + ",PosTop=" + PosTop + ",PosLeft=" + PosLeft + ",scrollbars=no,location=no,directories=no,status=yes,menubar=no,toolbar=no,resizable=yes";

	// The pop-up window displays if they haven't been here before
	win=window.open(mypage,myname,settings);
	}
}

function GetCookie (name) {
	var arg = name + "=";
	var alen = arg.length;
	var clen = document.cookie.length;
	var i = 0;
	while (i < clen) {
  		var j = i + alen;
  		if (document.cookie.substring(i, j) == arg)
  		return getCookieVal (j);
  		i = document.cookie.indexOf(" ", i) + 1;
  		if (i == 0) break;
  	}
  	return null;
  }

function getCookieVal (offset) {
	var endstr = document.cookie.indexOf (";", offset);
	if (endstr == -1)
  	endstr = document.cookie.length;
  	return unescape(document.cookie.substring(offset, endstr));
}
//-->