function ObtenDimensiones()
{
	var ancho=0;
	var alto=0;
	var arreglo;
	if( typeof( window.innerWidth ) == 'number' ) 
	{
		//Non-IE
		ancho = window.innerWidth;
		alto = window.innerHeight;
	} else if( document.documentElement &&( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) 
	{
		//IE 6+ in 'standards compliant mode'
		ancho = document.documentElement.clientWidth;
		alto = document.documentElement.clientHeight;
	} 
	else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) 
	{
		//IE 4 compatible
		ancho = document.body.clientWidth;
		alto = document.body.clientHeight;
	}
	
	arreglo={Ancho:ancho,
			 Alto:alto};
	return arreglo;
	
}
