function loader_webInit(){
		
	//Cargamos el banner
		//Load_banner('bann');
	//Cargamos el menú;
		//Load_menu('menu');
	//Cargamos ls barra de servicios;
		//LoadHTML('includes/includesHTML/services'+ ext, 'status', true);
	//Cargamos el pie;
		//LoadHTML('includes/includesHTML/foot'+ ext, 'pagefoot', false);
	//Iniciamos el timer de servicios;
	LoadServices();
		
} 


function LoadServices(){
	ajax=nuevoAjax();
	ajax.open("POST", 'includes/includesHTML/services'+ ext, true);
	ajax.onreadystatechange=function() {
	if (ajax.readyState==4) {
		var text = ajax.responseText
		document.getElementById('status').innerHTML=text;
		LoadFoot();	
		}
	}
	ajax.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	ajax.send('pro=0');	
}

function LoadFoot(){
	ajax=nuevoAjax();
	ajax.open("POST", 'includes/includesHTML/foot'+ ext, true);
	ajax.onreadystatechange=function() {
	if (ajax.readyState==4) {
		var text = ajax.responseText
		document.getElementById('pagefoot').innerHTML=text;	
		LoadMenu();
		}
	}
	ajax.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	ajax.send('pro=0');	
}

function LoadMenu(){
	ajax=nuevoAjax();
	ajax.open("POST", 'includes/includesHTML/menu'+ ext, true);
	ajax.onreadystatechange=function() {
	if (ajax.readyState==4) {
		var text = ajax.responseText
		document.getElementById('mmenu').innerHTML=text;
		LoadBanner();
		}
	}
	ajax.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	ajax.send('pro=0');	
}

function LoadBanner(){
	ajax=nuevoAjax();
	ajax.open("POST", 'includes/includesHTML/banner'+ ext, true);
	ajax.onreadystatechange=function() {
	if (ajax.readyState==4) {
		var text = ajax.responseText
		document.getElementById('banner').innerHTML=text;	
		}
	}
	ajax.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	ajax.send('pro=0');	
}


function LoadHTML(HTMLdocument, obj, init_SS){
	ajax=nuevoAjax();
	ajax.open("POST", HTMLdocument, true);
	ajax.onreadystatechange=function() {
		if (ajax.readyState==4) {
			var text = ajax.responseText
			document.getElementById(obj).innerHTML=text;
			//alert(text);
			if(init_SS){
				//server_interaction_START();		
			}
		}
	}
	ajax.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
	ajax.send('pro=0');		
}



