/*this script will check to see if the verification cookie is present. If it isn't, a popup window will open and the verification statement willprint automatically - script written by Malcolm Elsworth for c21*/<!-- Hide script from older browsers//sets the expiry to 18 months from now		//expireDate = new Date//expireDate.setMonth(expireDate.getMonth()+18)//sets the expiry to 1 day from now		expireDate = new DateexpireDate.setDate(expireDate.getDate()+1)visited = ""	function checkCookie() {	if (document.cookie != "") { //if there IS a cookie, print the page			printPage()		}	else {  //otherwise, run the Verify function			Verify()		}	}	function setCookie() {		document.cookie = "visited=yes; expires=" + expireDate.toGMTString() + " ; path=/";	}				function Verify()	{ 	var where_to = confirm("Before you print any pages from this report\nyou must print the verification statement.\nWould you like to print it now?"); 	if (where_to == true) {		setCookie();		doPopup('../verification/p_verification.html','','width=650,height=470,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=0');		}	}	var da = (document.all) ? 1 : 0; //is it IE? (da=document all)var pr = (window.print) ? 1 : 0; //is it Netscape? (pr=print)var mac = (navigator.userAgent.indexOf("Mac") != -1); //is it mac? (mac=mac)function printPage() {  if (pr) //if it's Netscape, issue a regular JavaScript command - NS4+ or IE5    //alert("PR");    window.print()  else if (da && !mac) //if it's IE and NOT a mac, issue a visual basic command - IE4    //alert("DA and not a mac");    vbPrintPage()    //window.print()  else    //window.print();    alert("To print this page select 'Print' from your browsers 'File' menu."); //otherwise tell them to do it manually  return false;}function doPopup(URL,winName,features) {		window.open(URL,winName,features);	}		// End hiding script -->