function newSize (width, height) {
	var windowWidth; 
	var windowHeight;
	var flashWidth;
	var flashHeight;
	
	// tamaño de la ventana del navegador
	if (typeof( window.innerWidth ) == 'number') {
		// Non-IE
		windowWidth = window.innerWidth;
		windowHeight = window.innerHeight;
		
	} else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
		// IE 6+ in 'standards compliant mode'
		windowWidth = document.documentElement.clientWidth;
		windowHeight = document.documentElement.clientHeight;
		
	} else if (document.body && (document.body.clientWidth || document.body.clientHeight)) {
		// IE 4 compatible
		windowWidth = document.body.clientWidth;
		windowHeight = document.body.clientHeight;
	}
	
	// tamaño del flash
    flashWidth = (width.indexOf("%") != -1) ? 0 : Number(width.substring(0, width.length-2));
	flashHeight = (height.indexOf("%") != -1) ? 0 : Number(height.substring(0, height.length-2));
	
    // comprobacion
    flashWidth = (flashWidth <= windowWidth) ? windowWidth : flashWidth;
    flashHeight = (flashHeight <= windowHeight) ? windowHeight : flashHeight;
	
	// tamaño del DIV
    if (document.all && !document.getElementById) {
		document.all['website'].style.pixelWidth = "100%"; // flashWidth+"px"
		document.all['website'].style.pixelHeight = (flashHeight-4)+"px";
    } else {
        document.getElementById('website').style.width = "100%"; // flashWidth+"px"
        document.getElementById('website').style.height = (flashHeight-4)+"px";  
    }
    
/* 	    window.alert('width = 5500'); // windowWidth + ' ' + flashWidth */
/* 		window.alert('height = '+(flashHeight-4)); // windowHeight + ' ' + flashHeight */
}