// JavaScript Document

function setFlashSize (){
//pone el navegador en tamaño completo
	
// toma el tamaño del navegador
	var myWidth = 0, myHeight = 0;
	if (typeof(window.innerWidth) == 'number'){
		//Non-IE
		myWidth = window.innerWidth;
		myHeight = window.innerHeight;
    }else if(document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)){
		//IE 6+ in 'standards compliant mode'
		myWidth = document.documentElement.clientWidth;
		myHeight = document.documentElement.clientHeight;
	}else if(document.body && (document.body.clientWidth || document.body.clientHeight)){
		//IE 4 compatible
		myWidth = document.body.clientWidth;
		myHeight = document.body.clientHeight;
	}
  
	
// seteal el tamaño del flash
	fw = Math.max(myWidth,910)
	fh = Math.max(myHeight,700)
	document.getElementById("flash").style.width = fw;
	document.getElementById("flash").style.height = fh;
	
// le pasa al flash el ancho y el alto del navegador
	ESC = (fw) + "|" + (fh);
	return ESC;
}

function setFlash(pw, ph){
	document.getElementById("flash").style.width = pw;
	document.getElementById("flash").style.height = ph;
}

function splash(){
	window.moveTo(0,0);
	resizeTo(screen.availWidth,screen.availHeight);
}
