function mostrarFlash(){$('#flashcontent').css('display','none');}
var activeSub=0;var SubNum=0;var txtmenu=0;var txtsubmenu=0;function reDo()
{window.location.reload()}
var timerID=null;var timerOn=false;var timecount=1500;var what=null;var newbrowser=true;var check=false;function init()
{if(document.layers)
{layerRef="document.layers";styleSwitch="";visibleVar="show";screenSize=window.innerWidth;what="ns4";}
else if(document.all)
{layerRef="document.all";etyleSwitch=".style";visibleVar="visible";screenSize=document.body.clientWidth+18;what="ie";}
else if(document.getElementById)
{layerRef="document.getElementByID";styleSwitch=".style";visibleVar="visible";what="moz";}
else
{what="none";newbrowser=false;}
check=true;}
function showLayer(layerName,x,y)
{document.getElementById(layerName).style.top=y;document.getElementById(layerName).style.left=x;document.getElementById(layerName).style.visibility="visible";stopTime();}
function showLayer2(layerName,x,y)
{posX=(screen.width-x)/2;posY=(screen.height-y)/2;document.getElementById(layerName).style.top=posY;document.getElementById(layerName).style.left=posX;document.getElementById(layerName).style.visibility="visible";}
function hideLayer(layerName)
{if(document.getElementById(layerName).style.visibility=="visible")
{document.getElementById(layerName).style.visibility="hidden";}}
function hideAll()
{miArray=document.body.getElementsByTagName("DIV");for(var i=0;i<miArray.length;i++)
{miDiv=miArray[i];hideLayer(miDiv.id);}
hideAllsubs();}
function hideAllsubs()
{miArray=document.body.getElementsByTagName("DIV");for(var i=0;i<miArray.length;i++)
{miDiv=miArray[i];hideLayer(miDiv.id);}}
function startTime()
{if(timerOn==false)
{timerID=setTimeout("hideAll()",timecount);timerOn=true;}}
function stopTime()
{if(timerOn)
{clearTimeout(timerID);timerID=null;timerOn=false;}}
function hideAllColaboradores(prefijo)
{miArray=document.body.getElementsByTagName("DIV");for(var i=0;i<miArray.length;i++)
{miDiv=miArray[i];if(miDiv.id.substring(0,prefijo.length)==prefijo)hideLayer(miDiv.id);}}
function onLoad()
{init();}
function cargarSWF(nom){var fo=new FlashObject(nom,"idMovieName","501","490","7","#FFFFFF");fo.addParam("movie",nom);fo.addParam("quality","high");fo.addParam("wmode","opaque");fo.addParam("bgcolor","#FFFFFF");fo.addParam("menu","false");fo.write("flashcontent");}
function ir(a){window.location.href=a;}
