// JavaScript Document

//This needed to replace the target: "_blank", discontinued in XHTML 1.1
function newwin (link)
                 {
                 window.open(link.href);
                 return false;
                 }

//This will make the menu to float in IE6
function reposicionaMenu(){
	//IE6 in non-quirks doesnt get document.body.scrollTop:
	var pos = (document.body.scrollTop)?document.body.scrollTop:document.documentElement.scrollTop;
	document.getElementById("floatmenu").style.top = parseInt(pos + 0) + "px";
}

//ONLY in IE6 will be the scroll code activated
//No return value needed, nothing happens if not IE6
function detectIE6Browser()
{
var isIE6 = false /*@cc_on || @_jscript_version < 5.7 @*/;
if(isIE6 == true){// IE6 nothinge else
	document.getElementById("floatmenu").style.position = "absolute";
	window.onscroll = reposicionaMenu;
	//If IE6, titleDisplay should work, anyway
  titleDisplaySetup();
	}
	//If NOT IE6 then titleDisplaySetup should run - interesting, FireFox
	//does not need this to make titleDisplay work
	else 	titleDisplaySetup();
}

