// Menu Hover y Dimension Scroll
sfHover=function(){var sfEls=document.getElementById("nav").getElementsByTagName("LI");for(var i=0;i<sfEls.length;i++){sfEls[i].onmouseover=function(){this.className+=" sfhover";};sfEls[i].onmouseout=function(){this.className=this.className.replace(new RegExp(" sfhover\\b"),"");};}};if(window.attachEvent){window.attachEvent("onload",sfHover);}
function init()
{ajustar();window.onresize=ajustar;}
window.onload=init;function ajustar(){if(window.innerHeight){procMoz();}else{procIE();}}
function procMoz(){espacio_scroll=window.innerHeight-57;alturaDisp=espacio_scroll+"px";regla='.contenedor{height:'+espacio_scroll+'px;}';addCss(regla,new Date().getTime());}
function procIE(){espacio_scroll=document.body.clientHeight-57;alturaDisp=espacio_scroll+"px";regla=document.styleSheets[0].rules;regla[3].style.height=alturaDisp;}
function addCss(cssCode,i){control=document.getElementById(i);if(control)
{document.getElementsByTagName("head")[0].removeChild(control);}
var styleElement=document.createElement("style");styleElement.type="text/css";if(styleElement.styleSheet){styleElement.styleSheet.cssText=cssCode;}else{styleElement.appendChild(document.createTextNode(cssCode));}
styleElement.id=i;document.getElementsByTagName("head")[0].appendChild(styleElement);}
