//<!-- hide script from old browsers

// frame buster
	setTimeout ("changePage()", 200);
	function changePage() {
		if (self.parent.frames.length != 0)
			self.parent.location=document.location;
		}


function gohome(what) {
url = location.hostname;
if (what) {
	url = what;
}
thehost = url.toUpperCase();
home = "";
if (thehost == "TIMEISMINE.COM" || thehost == "WWW.TIMEISMINE.COM") {home = "gifts/index.shtml";}
if (thehost == "PETRENE.COM" || thehost == "WWW.PETRENE.COM"){home = "gifts/index.shtml";}
if (thehost == "WITHOUTANYDOUBT.COM" || thehost == "WWW.WITHOUTANYDOUBT.COM"){home = "index.shtml";}
if (thehost == "WITHOUTCONCEPTS.COM" || thehost == "WWW.WITHOUTCONCEPTS.COM"){home = "/press/index.shtml";}
if (thehost == "HEALYOURSELFNOW.COM" || thehost == "WWW.HEALYOURSELFNOW.COM"){home = "/gifts/index.shtml";}

if (thehost == "ETAL.NO-IP.COM"){home = "gifts/index.shtml";}

if (home == "") {home = "index.shtml";}
if (url == "") {
	location = home;
} else {
	if (thehost == "ETAL.NO-IP.COM") {
	location = "http://" + url + ":8080/petrene" + "/" + home;
	} else {
	location = "http://" + url + "/" + home;
	}
}
}


// Disabled Functions for speed purposes: Keep this as SUGGEST Button uses it
function SwitchImg()
{ //start
} //end

function RestoreImg()
{ //start
} //end

function gettime () {
window.open('/cgi-bin/centraltime.cgi', '', ',location=no,toolbar=no,scrollbars=no,directories=no,Status=yes,copyhistory=yes,width=540,height=480');
}

function opennow(where){
	if (navigator.appName=="Microsoft Internet Explorer") { 
		window.open(where,"Doorway","fullscreen=yes");
	} else {
    		width = screen.width 
		height = screen.height
		var winprop = 'width=' + width +',height=' + height+ ',' + 'top=' + 0 + ',left=' + 0 + ',location=no,toolbar=no,scrollbars=no,directories=no,Status=no,copyhistory=no,resizable=no,status=no';
		window.open(where, '',winprop);
	} 
}

function getvalueForum() {
	var myInteger, myString
	myInteger=document.myform.forum.selectedIndex
	myString=document.myform.forum.options[myInteger].value
   	if (myString != "") {
       	self.parent.location=myString;
	}
}

function centerwin(url,width,height) {
	var winl = (screen.width - width) / 2;
	var wint = (screen.height - height) / 2;
    	var winprop = 'width=' + width +',height=' + height+ ',' + 'top=' + wint + ',left=' + winl + ',location=no,toolbar=no,scrollbars=yes,directories=no,Status=no,copyhistory=no';
	window.open(url, '',winprop);
}

// end hiding script from old browsers -->



