var xmlhttp
var xmlDoc=new ActiveXObject("Microsoft.XMLDOM")
var xmlURL
function loadPage(urly,where)
{
	xmlURL = urly;divID = where;
	if (window.XMLHttpRequest)
	  {
	  	xmlhttp=new XMLHttpRequest()
	  	xmlhttp.onreadystatechange=state_Change
	  	xmlhttp.open("Put",urly,true)
	  	xmlhttp.send(null)
	  }
	else if (window.ActiveXObject)
	  {
	  	xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")
	    if (xmlhttp)
	    {
	    	xmlhttp.onreadystatechange=state_Change
	    	xmlhttp.open("Put",urly,true)
	    	xmlhttp.send()
	    }
    }
}
function state_Change()
{
    loading = document.getElementById(divID);
	loading.style.color = '#b9b9b9';
	if (xmlhttp.readyState==4)
	  {  	  
		if (xmlhttp.status==200)
		{
			loading.style.color = '#000000';
		   loading.innerHTML=xmlhttp.responseText;
		   xmlDoc = xmlhttp.responseXML;
		}
	  	else{
		  alert("Error Returning Data. Try clicking the link again.")
	  	}
	}
}
function toggleDisplay(divId) {
  var div = document.getElementById(divId);
  div.style.display = (div.style.display=="block" ? "none" : "block");
}


	over = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" over";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" over\\b"), "");
		}
		}
	}
	if (window.attachEvent) window.attachEvent("onload", over);
	

	function MM_openBrWindow(theURL,winName,features) { //v2.0
	  window.open(theURL,winName,features);
	}
	function gogirl(e) {
	  if (document.getElementById(e).style.display == 'none') {
	      document.getElementById(e).style.display = 'block';
	  } else {
	      document.getElementById(e).style.display = 'none';
	  }
	} 
	 function init()
	{
	  cssjsmenu('navbar');
	  if (document.getElementById)
	  {
	    var kill = document.getElementById('hoverJS'); 
	    kill.disabled = true;
	  }
	} 
