	var message="";
	function clickIE() { if (document.all) { (message);return false; } }
	function clickNS(e) {
		if (document.layers||(document.getElementById&&!document.all)) {
			if (e.which==2||e.which==3) { (message); return false; }
		}
	}
	
	if (document.layers) { document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS; }
	else{ document.onmouseup=clickNS;document.oncontextmenu=clickIE; }
	document.oncontextmenu=new Function("return false");
	
	function FP_popUpMsg(msg) {//v1.0
		alert(msg);
	}
	
	//form tags to omit in NS6+:
	var omitformtags=["input", "textarea", "select"];
	
	omitformtags=omitformtags.join("|");
	
	function disableselect(e){
		if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
			return false
	}
	
	function reEnable(){
		return true;
	}
	
	if (typeof document.onselectstart!="undefined")
		document.onselectstart=new Function ("return false");
	else{
		document.onmousedown=disableselect;
		document.onmouseup=reEnable;
	}

	window.history.forward(1);
	
	// Status Bar - Show only Hearts Registry Database Name
	/*var statusmsg = "Hearts Database - Heart Function Assessment Registry Trial in Saudi Arabia";

	function hidestatus(){
		window.status=statusmsg;
		return true
	}*/
	
	// Status Bar Messge Start Here
	function sb10_makeArray(n){
		this.length = n;
		return this.length;
	}
	
	///////////////
	
	isIE=document.all;
	isNN=!document.all&&document.getElementById;
	isN4=document.layers;
	isHot=false;
	
	function ddInit(e){
	  topDog=isIE ? "BODY" : "HTML";
	  whichDog=isIE ? document.all.theLayer : document.getElementById("theLayer");  
	  hotDog=isIE ? event.srcElement : e.target;  
	  while (hotDog.id!="titleBar"&&hotDog.tagName!=topDog){
	    hotDog=isIE ? hotDog.parentElement : hotDog.parentNode;
	  }  
	  if (hotDog.id=="titleBar"){
	    offsetx=isIE ? event.clientX : e.clientX;
	    offsety=isIE ? event.clientY : e.clientY;
	    nowX=parseInt(whichDog.style.left);
	    nowY=parseInt(whichDog.style.top);
	    ddEnabled=true;
	    document.onmousemove=dd;
	  }
	}
	
	function dd(e){
	  if (!ddEnabled) return;
	  whichDog.style.left=isIE ? nowX+event.clientX-offsetx : nowX+e.clientX-offsetx; 
	  whichDog.style.top=isIE ? nowY+event.clientY-offsety : nowY+e.clientY-offsety;
	  return false;  
	}
	
	function ddN4(whatDog){
	  if (!isN4) return;
	  N4=eval(whatDog);
	  N4.captureEvents(Event.MOUSEDOWN|Event.MOUSEUP);
	  N4.onmousedown=function(e){
	    N4.captureEvents(Event.MOUSEMOVE);
	    N4x=e.x;
	    N4y=e.y;
	  }
	  N4.onmousemove=function(e){
	    if (isHot){
	      N4.moveBy(e.x-N4x,e.y-N4y);
	      return false;
	    }
	  }
	  N4.onmouseup=function(){
	    N4.releaseEvents(Event.MOUSEMOVE);
	  }
	}
	
	function hideMe(){
	  if (isIE||isNN) whichDog.style.visibility="hidden";
	  else if (isN4) document.theLayer.visibility="hide";
	}
	
	function showMe(){
	  if (isIE||isNN) whichDog.style.visibility="visible";
	  else if (isN4) document.theLayer.visibility="show";
	}
	document.onmousedown=ddInit;
	document.onmouseup=Function("ddEnabled=false");

	//Hide status bar msg II script- by javascriptkit.com
	//Visit JavaScript Kit (http://javascriptkit.com) for script
	//Credit must stay intact for use

	function hidestatus(){
		window.status=''
		return true
	}
	
	if (document.layers)
	document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)
	
	document.onmouseover=hidestatus
	document.onmouseout=hidestatus

