//Keep out our code!!! Ask permission first webmaster@mentalfx.com
if (parent.location.href != window.location.href) {
parent.location.href = window.location.href;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

var bookmarkurl="http://www.mentalfx.com/index.html"
var bookmarktitle="Mental FX - Over 200 Pages of Psychedelia"

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function Resolution()
    {
    var height=screen.height;
    var width=screen.width;
    alert(+ width + " x " + height + " is the size of wallpaper you need.")
    }

function borderit(which,color){
if (document.all||document.getElementById){
which.style.borderColor=color
}
}



var ie=(document.all)?1:0;
function LightOn(what)
	{
		if (ie) what.style.backgroundColor = 'red';
		else return;
	}

function LightOut(what)
	{
		if (ie) what.style.backgroundColor = 'orange';
		else return;
	}

	
	function fullwin(targeturl){
newwin = window.open(targeturl,"","fullscreen=1,scrollbars=1");
newwin.resizeBy(16,0) 
}

function hidestatus(){
window.status=''
return true
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus