// AGREGADO PARA EL POPUP LAYER LANZADO POR COOKIE - CLAUDIO function popUpLayer (){ //DEBUG //alert(document.cookie); //BUSCA SI EXISTE ESA COOKIE -> surveyFA if (!getThisCookie('surveyFA')) { expira=new Date(); unMes=expira.getTime() + (30*24*60*60*1000); expira.setTime(unMes); //SI NO ENCUENTRA LA COOKIE surveyFA, LA ESCRIBE setCookie('surveyFA','1',expira); //ACA SE LANZA EL POPUP - REEMPLAZAR POR EL LLAMADO A FUNCION QUE CORRESPONDA return true; }else return false; } function getThisCookie(name){ devolver=false; //default var cname=name + "="; var dc=document.cookie; if(dc.length>0){ begin=dc.indexOf(cname); if(begin!=-1){ devolver=true; } } return devolver; } function setCookie(name,value,expires){ document.cookie=name+ "=" +escape(value) + ((expires==null)?"":";expires="+expires.toGMTString()); } // --------------------------------------------------------- function validateYear(myAlert) { alert(myAlert); } // ################ FUNCIONES PARA FAQ ################ function triggerDIV() { var bookMARK = window.location.hash.substring(1); if( bookMARK != "" ) { showDIV(bookMARK); } } function showDIV(faqID) { //Hide other DIV var previousDIV = window.location.hash.substring(1); if( previousDIV != "" ) { document.getElementById('faq'+previousDIV).style.display = 'none'; } //Open new DIV location.hash=faqID; document.getElementById('faq'+faqID).style.display = ''; } // ################ TERMINAN FUNCIONES PARA FAQ ################ function MM_jumpMenu(targ,selObj,restore){ //v3.0 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; } function MM_openBrWindow(theURL,winName,features) { //v2.0 window.open(theURL,winName,features); } function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true);