<!-- 
//this is the page3.companion thingy
function steveCompanion() {
	msgWindow = window.open('','targetname','width=250,height=460,top=15,left=15');
	msgWindow.location.href = '/companion/index.shtml';
	if (msgWindow.opener == null) msgWindow.opener = self;
}

// various stuff for the site
function openWindow1chat() { 
popupWin = window.open('/chatup/', 'remote', 'width=505,height=500,top=15,left=15,resizable=no,scrollbars=yes') 
}
function openWindow1joke() { 
popupWin = window.open('/joke/', 'remote', 'width=495,height=500,top=15,left=15,resizable=no,scrollbars=yes') 
}
function openWindow1t() { 
popupWin = window.open('/slideshow/pop1ii.html', 'remote', 'width=480,height=460,top=10,left=10,resizable=no,scrolling=no') 
}
function openWindow2l() { 
popupWin = window.open('/slideshow/sexy1ff.html', 'remote', 'width=480,height=460,top=10,left=10,resizable=no,scrolling=no') 
}
function openWindow7mag() { 
popupWin = window.open('/magnificent7/', 'remote', 'width=572,height=460,top=10,left=10,resizable=no,scrolling=no') 
}
function openWindow1gss() { 
popupWin = window.open('/guide-slideshow/index.html', 'remote', 'width=468,height=520,top=10,left=10,resizable=no,scrolling=no') 
}



// this is the generic window opener...
function openWindowGen(url,name,width,height,top,left,resize,scroll) {
	var temp = "window.open('" + url + "', '" + name + "', '" + "width=" + width + ',height=' + height + ',top=' + top + ',left=' + left + ',resizable=' + resize + ',scrollbars=' + scroll + "')";
	eval(temp);
}


// this is the cookie stuff to keep Steve and Danny sane
function getCookieData(label){
	var labelLen = label.length;
	var cLen = document.cookie.length;
	var i=0;
	var cEnd;
	while (i < cLen) {
		var j = i + labelLen;
		if (document.cookie.substring(i,j) == label) {
			cEnd = document.cookie.indexOf(";",j);
			if (cEnd == -1) {
				cEnd = document.cookie.length;
			}
			return unescape(document.cookie.substring(j.cEnd));
		}
		i++;
	}
	return "";
}
function getExcludePopups(){
	var result = false;
	var temp = getCookieData('excludePopups');
	if(temp.indexOf('yes') != -1) {
		result = true;
	}
	return(result);
}
//-->


	
		