function getViewportSize() {
    var vancho, y, vfijo, muestra,vrestarxlado,vdiferencia, muestra;
		if (self.innerHeight) { // MOS
			vancho = self.innerWidth;
			//vfijo=0
		} else if (document.documentElement && document.documentElement.clientWidth) { // IE6 Strict
			vancho = document.documentElement.clientWidth;
			//vfijo=0;
		} else if (document.body.clientHeight) { // IE quirks
			vancho = document.body.clientWidth;
			//vfijo=0;
		}

	//Ancho: alert(vancho);	
	vdiferencia=1800-vancho;
	//alert("1800-"+vancho+"="+vdiferencia);	
	vrestarxlado=vdiferencia/2;
	//A restar x ladoalert("Por lado "+vdiferencia+"/2="+vrestarxlado);	
	
	if (vrestarxlado<0){
	//El ancho del browser es menor que la imagen central
	muestra = (vancho-1800)/2;
	document.body.style.marginLeft = '0px'; 
	} else {
	//El ancho del browser es mayor que la imagen central
	muestra = '-' + (vrestarxlado);
	document.body.style.marginLeft = muestra + 'px'; 
	}
	
//	alert('' + document.body.style.marginLeft);
}
