// break out of frames
if(top.location != location) {
    top.location.href = document.location.href ;
}

//hide content when not needed
var ns6=document.getElementById&&!document.all?1:0
var head="display:''"
var folder=''

function enlarge(oject){
folder=ns6?oject.nextSibling.nextSibling.style:document.all[oject.sourceIndex+1].style
if (folder.display=="none")
folder.display=""
else
folder.display="none"
}

// Show / Hide content with DIV's
var active = 'def' // Div to display first
function show(divname)
{
	if (document.getElementById)
	{
		var stylediv = document.getElementById(active).style;
		stylediv.display = stylediv.display? "":"none";

		stylediv = document.getElementById(divname).style;
		stylediv.display = stylediv.display? "":"block";
		active = divname;
	}
	else if (document.all)
	{
		var style2 = document.all[active].style;
		style2.display = style2.display? "":"none";
		
		var style2 = document.all[divname].style;
		style2.display = style2.display? "":"block";
		active = divname;
	}
	else if (document.layers)
	{
		var style2 = document.layers[active].style;
		style2.display = style2.display? "":"none";
		
		var style2 = document.layers[divname].style;
		style2.display = style2.display? "":"block";
		active = divname;
	}
}

function preloadall() {
if (document.getElementById) {  // DOM3 = IE5, NS6
document.getElementById('hidepage').style.visibility = 'hidden';
}
else {
if (document.layers) {  // Netscape 4
document.hidepage.visibility = 'hidden';
}
else {  // IE 4
document.all.hidepage.style.visibility = 'hidden';
      }
   }
}

// Floathing blue cube at bottom-left
var verticalpos="frombottom"
if (!document.layers)
document.write('</div>')
function floatingCube()
{
var startX = 62,
	 startY = 120;
    var ns = (navigator.appName.indexOf("Netscape") != -1);
    var d = document;
    function ml(id)
    {
        var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
        if(d.layers)el.style=el;
        el.sP=function(x,y){this.style.left=x;this.style.top=y;};
        el.x = startX;
        if (verticalpos=="fromtop")
        el.y = startY;
        else{
        el.y = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
        el.y -= startY;
        }
        return el;
    }
    window.StayBottomLeft=function()
    {
        if (verticalpos=="fromtop"){
        var pY = ns ? pageYOffset : document.body.scrollTop;
        ftlObj.y += (pY + startY - ftlObj.y)/8;
        }
        else{
        var pY = ns ? pageYOffset + innerHeight : document.body.scrollTop + document.body.clientHeight;
        ftlObj.y += (pY - startY - ftlObj.y)/8;
        }
        ftlObj.sP(ftlObj.x, ftlObj.y);
		  setTimeout("StayBottomLeft()", 10);
    }
    ftlObj = ml("divStayBottomLeft");
    StayBottomLeft();
}
if (!document.layers)
document.write('<div id="divStayBottomLeft" style="position:absolute">')

function ExecOnload(func) {
  var PrefOnload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      PrefOnload();
      func();
    }
  }
}
ExecOnload(preloadall);
ExecOnload(function() {
});