<!--
//alert(frames['self'].name);
function checkFrame(){
	if (frames['self'].name != 'header')
	{
		location.replace('http://www.zotterthepotter.com');
	}
}
// setting the expiry date for this cookie
// valid one day
var expDate = new Date();
expDate.setTime( expDate.getTime() + ( 24 * 60 * 60 * 1000 ) );
function ReLoad() { 
	var tempvar 
	tempvar = getCookie('promocode1')
	if (tempvar > " ") {
		if (tempvar = "stargate") {
		//alert(tempvar);
			location.replace('http://www.zotterthepotter.com/stargatepromo');
		}
		if (tempvar = "EPC1") {
			location.replace('http://www.zotterthepotter.com/EPC1promo');
		}
	}
}
if (document.images) {
	teston = new Image(); // Active images
	teston.src = "images/design/zcart2.gif";

	testoff = new Image(); // Inactive images
	testoff.src = "images/design/zcart1.gif";
}

function imgOn(imgName) {

	if (document.images) {
		document[imgName].src = "images/design/" + imgName + "_2.gif";
	}
}

function imgOff(imgName) {
	if (document.images) {
		document[imgName].src = "images/design/" + imgName + "_1.gif";
	}
}

function bookmark() {
var num = new BrowserInfo();
if (num.version >= 4) {
   window.external.AddFavorite('http://www.zotterthepotter.com','Zotter The Potter');
   
}
}  
// Example:
// var b = new BrowserInfo();
// alert(b.version); 
function BrowserInfo()
{
  this.name = navigator.appName;
  this.codename = navigator.appCodeName;
  this.version = navigator.appVersion.substring(0,4);
  this.platform = navigator.platform;
  this.javaEnabled = navigator.javaEnabled();
  this.screenWidth = screen.width;
  this.screenHeight = screen.height;
}
function Rcertify() { 
popupWin = window.open
('http://www.bbbonline.org/cks.asp?id=141000465', 'Participant', 
'location=yes,scrollbars=yes,width=450,height=300'); 
window.name = 'opener'; 
}
function popUp(url) {
sealWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=500,height=450');
self.name = "mainWin";
}
// -->
