var repository="/international/web/lg/pe/likelgagape.nsf/RepositoryByAlias/Like20Std/$FILE/"; var repository1="/international/web/lg/pe/likelgagape.nsf/RepositoryByAlias/Like20Std1/$FILE/"; // The following JavaScript function will determine if the browsers // is IE version 4+ or Netscape version 4+ ns = false; ie = false; if (parseInt(navigator.appVersion) >= 4) { if (navigator.appName == "Microsoft Internet Explorer") ie = true; if (navigator.appName == "Netscape") ns = true; } function SubTitleHeader(Subtitle) { document.writeln(""); document.writeln(""); document.writeln(""); document.writeln(""); document.writeln("
"+Subtitle+"

"); } function TopNextLinks(Next) { document.writeln("

"); document.writeln("Arriba") if (Next != "") { document.writeln("Siguiente") } document.writeln("
") document.writeln("

") } // Std function for opening pop-up windows. For example the contact forms popupWins = new Array(); function windowOpener(url, name, args) { if ( typeof( popupWins[name] ) != "object" ) { popupWins[name] = window.open(url,name,args); } else { if (!popupWins[name].closed){ popupWins[name].location.href = url; } else { popupWins[name] = window.open(url, name,args); } } popupWins[name].focus(); } function doQuickSearch() { str = document.forms['QuickSearch'].elements['QuickSearchStr'].value; sortBy="&SearchOrder=4"; start="&Start=1"; count="&Count=50"; if (str != "") { document.location.href=dbPath+"(SearchView)?SearchView&Query=("+str+")"+start+count+sortBy; } else { alert("Por favor escriba el texto que desea buscar."); } } // Creates code for inserting Flash element function wFlash(file,w,h) { document.writeln("") document.writeln("") document.writeln("") document.writeln("") document.writeln("") } // Creates code for inserting Windows Media element function ctrlWindowsMedia(alias,action) { if (action == "play") { if (ie) {document.all[alias].play()} } if (action == "pause") { if (ie) {document.all[alias].pause()} } if (action == "stop") { if (ie) {document.all[alias].stop();document.all[alias].CurrentPosition = 0} } if (action == "rewind") { if (ie) {document.all[alias].CurrentPosition = 0} } } function wWindowsMedia(alias,file,w,h) { document.writeln("

") document.writeln("") document.writeln("") document.writeln("") document.writeln("") document.writeln("") document.writeln("
") document.writeln("") document.writeln("") document.writeln("") document.writeln("") document.writeln("

") } // Cookie functions function setCookie(cookieName, cookieVal, days) { if (!days) days = 1; var expDate = new Date(); expDate.setTime(expDate.getTime() + days*24*60*60*1000); var expDateString = expDate.toGMTString(); document.cookie = cookieName + "="+escape(cookieVal) + ";path=/;expires="+expDateString; } function getCookie(cookieName) { cookieName = cookieName+"="; var allCookies = document.cookie; if (allCookies.length > 0) { var start = allCookies.indexOf(cookieName); if (start != -1) { start = start + cookieName.length; var end = allCookies.indexOf(";",start); if (end == -1) end = allCookies.length; return unescape(allCookies.substring(start,end)); } } return null; } function delCookie(cookieName) { document.cookie = cookieName + "=" + ";path=/;expires=Thu, 01-Jan-70 00:00:01 GMT"; } // Generates a 30 digit random number used for tracking individual users in statistics id = getCookie('session') if (id == null) { id = "" for (i=0;i") document.writeln("

    ") for (i=0;i"+n+". "+list[i]+"") document.writeln("
  1. "+list[i]+"
  2. ") } //document.writeln("") document.writeln("") } for (i=0;i 10) { list = list.slice(0,10) } // Add current page to list setCookie("pagehistory",list.join("@"),365) } } // Pop-up and pop-down abstract text when hoovering navigation elements. var flag = 0; function navPopUp(text) { if ((ie) && (text != "") && (flag==1)) { myObj = document.all['navPopUpText']; myObj1 = document.all['navPopConnector1']; myObj2 = document.all['navPopConnector2']; myObj3 = document.all['navPopConnector3']; myObj4 = document.all['navPopArrow']; myObj1Y = (window.event.y - window.event.offsetY) + 10; myObj1.style.top = myObj1Y; myObj4.style.top = myObj1Y-3; myObj3Y = myObj3.style.top; myObj3Y = myObj3Y.substring(0,myObj3Y.indexOf("px",0)); if (myObj1Y myObj3Y) { myObj2.style.top = myObj3Y; myObj2.style.height = myObj1Y - myObj3Y; } myObj.innerHTML = text; myObj.style.visibility = "visible"; myObj1.style.visibility = "visible"; myObj2.style.visibility = "visible"; myObj3.style.visibility = "visible"; myObj4.style.visibility = "visible"; } } function navPopDown() { if ((ie) && (flag==1)) { myObj = document.all['navPopUpText']; myObj1 = document.all['navPopConnector1']; myObj2 = document.all['navPopConnector2']; myObj3 = document.all['navPopConnector3']; myObj4 = document.all['navPopArrow']; myObj.style.visibility = "hidden"; myObj1.style.visibility = "hidden"; myObj2.style.visibility = "hidden"; myObj3.style.visibility = "hidden"; myObj4.style.visibility = "hidden"; } }