// <script type="text/javascript">
	
  
//NEW xmlHTTP script to eliminate iframes and use javascript 
// 1/23/06  pmp

/* Added PLoad function and pReSize function on Jan 13,2007 */

var xmlhttp

function loadXMLDoc(url)
{
	// code for Mozilla, etc.
	if (window.XMLHttpRequest)
	  {
	  		xmlhttp=new XMLHttpRequest()
	  		xmlhttp.onreadystatechange=paneChange
	  		xmlhttp.open("GET",url,true)
	  		xmlhttp.send(null)
	  }	//endIf
	  
	  // code for IE
	else if (window.ActiveXObject)
	  {
	  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP")
	    if (xmlhttp)
	    {
	    	xmlhttp.onreadystatechange=paneChange
	    	xmlhttp.open("GET",url,true)
	    	xmlhttp.send()
	    }	//endIf
	  }	//endElse
}	// end loadXMLDoc

function paneChange()
{
	// if xmlhttp shows "loaded"
	if (xmlhttp.readyState==4)
	  { 
		  // if "OK"
		  if (xmlhttp.status==200)
		  {
			  document.getElementById('pcontent').innerHTML=xmlhttp.responseText
		  }
		  else
		  {
			  alert("Problem retrieving data:" + xmlhttp.status)
		  }	//end Else
	  } 	//end IF
}	//end paneChange


// resize function... to automatically adjust page size

function pReSize()
{
	resizeTo (800,600)
}	// end resize function


/* pReLoad function takes control on startup to do whatever is necessary for the initial 
**	condition.
**
** currently two functions are called:\
**		pReSize sets the page size for the site;
**		loadXMLDoc loads the home page into the content pane
*/
	function PLoad(thepage)
	{
		
		pReSize()
		loadXMLDoc(thepage)
	}	// end pLoad function


// </script>
