 	var http2 = false;
	var http1 = false;
 /************* Setup the header for the page **************/
 try
 {
 sendrequest("/header.htm",document.getElementById('Scr1'));}catch(ex){alert(ex.message);}
 /**************************/
 /************* Setup the footer for the page **************/
 try{ 
 sendrequest1("/footer.htm",document.getElementById('Footer')); }catch(ex){alert(ex.message);}
 /**************************/
	
	var ctl=false;			
	function sendrequest(site,dest){
		try
		{
			 if(navigator.appName == "Microsoft Internet Explorer") {
			http1 = new ActiveXObject("Microsoft.XMLHTTP");
			} else {
			http1 = new XMLHttpRequest();
			}	
		 	http1.open("GET", site,true);
		 
	 		http1.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
			http1.onreadystatechange=function(){
				if(http1.readyState == 4) 
				{
					var response = new String();
					response = http1.responseText;
					var sResp = new String();
					sResp=response;
					try
					{	
					
					dest.innerHTML=sResp;
					
					}catch(ex)
					{alert('sendrequest2:' + ex.message);}
				}
				
			} 
			http1.send(null);
		}catch(ex){alert('sendrequest:' + ex.message);}
	}
function sendrequest1(site,dest){
		try
		{
			 if(navigator.appName == "Microsoft Internet Explorer") {
			http2 = new ActiveXObject("Microsoft.XMLHTTP");
			} else {
			http2 = new XMLHttpRequest();
			}	
		 	http2.open("GET", site,true);
		 
	 		http2.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
			http2.onreadystatechange=function(){
				if(http2.readyState == 4) 
				{
					var response = new String();
					response = http2.responseText;
					var sResp = new String();
					sResp=response;
					try
					{	
					
					dest.innerHTML=sResp;
					
					}catch(ex)
					{alert('sendrequest2:' + ex.message);}
				}
				
			} 
			http2.send(null);
		}catch(ex){alert('sendrequest:' + ex.message);}
	}
