function mainRefresh()
{
parent.frames['content'].location.reload();

}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function tmt_findObj(n){
	var x,t; if((n.indexOf("?"))>0&&parent.frames.length){t=n.split("?");
	x=eval("parent.frames['"+t[1]+"'].document.getElementById('"+t[0]+"')");
	}else{x=document.getElementById(n)}return x;
}

function tmt_DivResize(theDiv,w,h){
    var fun = (document.getElementById) ? "tmt_findObj" : "MM_findObj";
	var obj = eval(fun+"(theDiv)");
	if(document.layers && obj)obj.resizeTo(w, h);
  	else{if(obj)obj.style.width = w;obj.style.height = h;}
}
function tmt_DivIndex(theDiv,v){
	var z = (document.layers) ? ".zIndex" : ".style.zIndex";
	var fun = (document.getElementById) ? "tmt_findObj" : "MM_findObj";
	var obj = eval(fun+"(theDiv)");
	if(obj)eval(fun+"('"+theDiv+"')"+z+"="+v);
}
function playSMSG(){
	var FlashMovie=window.document.smsg;
	//var FlashMovie2=window.document.getSix;
	FlashMovie.Play();
	//FlashMovie2.Play();
}
function playEBO(){
	var FlashMovie=window.document.ebo;
	//var FlashMovie2=window.document.getSix;
	FlashMovie.Play();
	//FlashMovie2.Play();
}
function playFlashMovie(){
	var FlashMovie=window.document.eBO_panpsychism;
	//var FlashMovie2=window.document.getSix;
	FlashMovie.Play();
	//FlashMovie2.Play();
}
function playFlashMovie2(){
	var FlashMovie=window.document.eBO_panpsychism;
	FlashMovie.Play();
}
function playFlashMovied(){
	var FlashMovie=window.document.eBO_dn;
	FlashMovie.Play();
}

function stopFlashMovie(){
	var FlashMovie=window.document.eBO_panpsychism;
	var FlashMovie2=window.document.getSix;
	FlashMovie.Stop();
	FlashMovie2.Stop();
}
	

function shake(n) {
	if (parent.moveBy) {
	for (i = 10; i > 0; i--) {
	for (j = n; j > 0; j--) {
	parent.moveBy(0,i);
	parent.moveBy(i,0);
	parent.moveBy(0,-i);
	parent.moveBy(-i,0);
         }
      }
   }
}