$(document).ready(function(){$("#wrapper li a").click(function(deletea){deletea.preventDefault();},$("#wrapper li a").hover(function(muestra){$("#cuadrofotos");$("#cuadrofotos").ajaxStart(function(loader){$("#cuadrofotos").html('<div align="center" class="load"><p>Descargando elementos...</p><p><strong>&iexcl;Espere por favor!</strong></p><p><img src="images/loader.gif" alt="Loading..."/></p><p>&nbsp;</p><p>Download files...</p><p><strong>Please Wait!</strong></p></div>')});$("#cuadrofotos").show(50);$("#cuadrofotos").css("top",125);$("#cuadrofotos").css("left",490);$("#cuadrofotos").load("images.php",{'cod':$(this).attr('href')});return false;},function(muestra){$("#cuadrofotos").hide(0);}))})
menudesplegable=function(){var cssRule;var newSelector;for(var i=0;i<document.styleSheets.length;i++)
for(var x=0;x<document.styleSheets[i].rules.length;x++)
{cssRule=document.styleSheets[i].rules[x];if(cssRule.selectorText.indexOf("LI:hover")!=-1)
{newSelector=cssRule.selectorText.replace(/LI:hover/gi,"LI.iehover");document.styleSheets[i].addRule(newSelector,cssRule.style.cssText);}}
var getElm=document.getElementById("menu").getElementsByTagName("LI");for(var i=0;i<getElm.length;i++){getElm[i].onmouseover=function(){this.className+=" iehover";}
getElm[i].onmouseout=function(){this.className=this.className.replace(new RegExp(" iehover\\b"),"");}}}
if(window.attachEvent)window.attachEvent("onload",menudesplegable);$(document).ready(function(){$("#menu li").hover(function(){$(this).addClass("iehover");},function(){$(this).removeClass("iehover");});});