<!-- Screen Size on click
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=yes,menubar=no,toolbar=no,resizable=yes';
win=window.open(mypage,myname,settings);}
// -->

<!--Swap Image Function
function L(strNewImage) {document.images['MP'].src = strNewImage;} 
// -->


<!--SetCookie for Recently Viewed
function setCookie(name, value)
	{
		var today = new Date()
		var expires = new Date()
		expires.setTime(today.getTime() + 1000*60*60*24*30) // expires in a month
		document.cookie = name + "=" + escape(value) + "; expires=" + expires.toGMTString() +";path=/"
		}
		function getCookie(Name) {
		var search = Name + "="
		if(document.cookie.length > 0) {
		offset = document.cookie.indexOf(search)
		if(offset != -1) {
		offset += search.length
		end = document.cookie.indexOf(";", offset)
		if(end == -1) end = document.cookie.length
		return unescape(document.cookie.substring(offset, end))}
		else return ""
		}
	}
// -->
