\n'); } /** * FIN funciones FSCommand */ function actualizar(){ history.go(0); //crearFlash() } var def_alto = 610; function ajustarAlto(){ var alto = getAlto(); if(alto > def_alto){ document.getElementById("flashcontent").style.height = alto+"px"; }else{ document.getElementById("flashcontent").style.height = def_alto+"px"; } } function getAlto() { 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; } if(cargado) thisMovie('home').sendToActionScript(myWidth, myHeight + f_scrollTop(),def_alto); return myHeight; } function thisMovie(movieName) { if (navigator.appName.indexOf("Microsoft") != -1) { return window[movieName]; } else { return document[movieName]; } } var creado = false; function crearFlash(){ if(!creado){ var so = new SWFObject("images/flash/loader_as3.swf?13012010", "home", "100%", "100%", "9","#6C3678"); so.addVariable("pub_id","003122"); so.addVariable("s_name","portal"); so.addVariable("temp","home2"); so.useExpressInstall('expressinstall.swf'); so.addParam("allowScriptAccess", "always"); //so.addParam("wmode", "transparent"); so.addParam("id", "home"); so.addParam("name", "home"); so.write("flashcontent"); ajustarAlto() creado = true; } } var cargado = false; function doCargado(aa){ cargado = true; getAlto() } function doScroll(){ getAlto() } function f_scrollTop() { return f_filterResults ( window.pageYOffset ? window.pageYOffset : 0, document.documentElement ? document.documentElement.scrollTop : 0, document.body ? document.body.scrollTop : 0 ); } function f_filterResults(n_win, n_docel, n_body) { var n_result = n_win ? n_win : 0; if (n_docel && (!n_result || (n_result > n_docel))) n_result = n_docel; return n_body && (!n_result || (n_result > n_body)) ? n_body : n_result; } function closeSocial(){ $.modal.close() } function onPageLoad(){ $('.closebar').click(closeSocial); $("body").scroll( doScroll ); } //cargado('aa');
Para ver el contenido de este sitio debe instalar Flash Player 8