// function LogTagAnt(type, ref) { var url; // if (document.domain.indexOf("localhost") == -1) { url = "http://www.qdq.com//scripts/Anuncio.aspx?Lang=es&p=Q&t=" + type + "&r=" + ref + "&d="+(Math.random()*100000); } else { url = "http://" + document.domain + "/QDQ_1024_Nurun/scripts/Anuncio.aspx?Lang=es&p=Q&t=" + type + "&r=" + ref + "&d="+(Math.random()*100000); } $.get(url); //return false; } // function LogTag(type, ref) { var url; if (document.domain.indexOf("localhost") == -1) { url = "http://" + document.domain + "/ServiciosInfo.aspx?lang=es&p=Q&typ=" + type + "&ref=" + ref + "&d="+(Math.random()*100000); } else { url = "http://" + document.domain + "/InfoplusGoogle/ServiciosInfo.aspx?lang=es&p=Q&typ=" + type + "&ref=" + ref + "&d="+(Math.random()*100000); } $.get(url); } // function jinfoqformulario(ref) { if (ref.length > 0) { LogTag("ISFSE", ref); } } // function jinfoqformularioMplus(ref) { if (ref.length > 0) { LogTag("MPFSE", ref); } } // function jinfoqpagina(ref) { if (ref.length > 0) { LogTag("IS", ref); } } // function jinfoqpaginaMplus(ref) { if (ref.length > 0) { LogTag("MP", ref); } } // function jinfoqbooking(ref) { if (ref.length > 0) { LogTag("ISBK", ref); } } // function jinfoqbookingMplus(ref) { if (ref.length > 0) { LogTag("MPBK", ref); } } // function jinfoplus_HojearGuia(ref) { if (ref.length > 0) { LogTag("MPGU", ref); } } // function jinfoqpowered (type,ref) { if (ref.length > 0) { LogTag(type,ref); } } function jinfoplus_imprimir(ref) { if (ref.length > 0) { LogTag("ISIM", ref); jinfoqpagina(ref); } } function jinfoplus_imprimirMplus(ref) { if (ref.length > 0) { LogTag("MPIM", ref); jinfoqpaginaMplus(ref); } } // function jinfoqguardar(ref) { if (ref.length > 0) { LogTag("ISSA", ref); } } // function jinfoqguardarMplus(ref) { if (ref.length > 0) { LogTag("MPSA", ref); } } // function jinfoqenviar(ref) { if (ref.length > 0) { LogTag("ISSE", ref); } } // function jinfoqenviarMplus(ref) { if (ref.length > 0) { LogTag("MPSE", ref); } } function jinfoqllamada(ref) { if (ref.length > 0) { LogTag("ISLG", ref); } } function jinfoqllamadaMplus(ref) { if (ref.length > 0) { LogTag("MPLG", ref); } } // function jinfoqfavorito(ref) { if (ref.length > 0) { LogTag("ISFA", ref); } } // function jinfoqfavoritoMplus(ref) { if (ref.length > 0) { LogTag("MPFA", ref); } } // function jinfoqemail(ref) { if (ref.length > 0) { LogTag("ISEM", ref); } } // function jinfoqemailMplus(ref) { if (ref.length > 0) { LogTag("MPEM", ref); } } // function jinfoqWebClient(ref) { if (ref.length > 0) { LogTag("ISWC", ref); } } // function jinfoqWebClientMplus(ref) { if (ref.length > 0) { LogTag("MPWC", ref); } } function jLogNav(type,ref) { LogTag(type,ref); return false; } function jLogServicio(type,ref) { LogTag(type,ref); return true; } // function jinfoqfoto(ref) { if (ref.length > 0) { LogTag("ISLFO", ref); } } // function jinfoqfotoMplus(ref) { if (ref.length > 0) { LogTag("MPLFO", ref); } } // function jinfoqfotoMplusPeq(ref) { if (ref.length > 0) { LogTag("MPFO", ref); } } // function jinfoqfoto360(ref) { if (ref.length > 0) { LogTag("ISL360", ref); } } // function jinfoqfoto360Mplus(ref) { if (ref.length > 0) { LogTag("MPL360", ref); } } // function jinfoqfoto360MplusPeq(ref) { if (ref.length > 0) { LogTag("MP360", ref); } } // function jinfoqitinerario(ref) { if (ref.length > 0) { LogTag("ISLIT", ref); } } // function jinfoqitinerarioMplus(ref) { if (ref.length > 0) { LogTag("MPLIT", ref); } } function jinfoqitinerarioMplusPeq(ref) { if (ref.length > 0) { LogTag("MPIT", ref); } } // function jinfoqvista3d(ref) { if (ref.length > 0) { LogTag("ISL3D", ref); } } // function jinfoqvista3dMplus(ref) { if (ref.length > 0) { LogTag("MPL3D", ref); } } function jinfoqvista3dMplusPeq(ref) { if (ref.length > 0) { LogTag("MP3D", ref); } } // function jinfoqmapa(ref) { if (ref.length > 0) { LogTag("ISLMA", ref); } } // function jinfoqmapaMplus(ref) { if (ref.length > 0) { LogTag("MPLMA", ref); } } function jinfoqmapaMplusPeq(ref) { if (ref.length > 0) { LogTag("MPMA", ref); } } // function jinfoqfotoPeq(ref) { if (ref.length > 0) { LogTag("ISSFO", ref); } } // function jinfoqfoto360Peq(ref) { if (ref.length > 0) { LogTag("ISS360", ref); } } // function jinfoqitinerarioPeq(ref) { if (ref.length > 0) { LogTag("ISSIT", ref); } } // function jinfoqvista3dPeq(ref) { if (ref.length > 0) { LogTag("ISS3D", ref); } } // function jinfoqmapaPeq(ref) { if (ref.length > 0) { LogTag("ISSMA", ref); } } // function jinfoqfacebook(ref) { if (ref.length > 0) { LogTag("ISNFR", ref); } } // function jinfoqfacebookMplus(ref) { if (ref.length > 0) { LogTag("MPNFR", ref); } } // function jinfoqdelicious(ref) { if (ref.length > 0) { LogTag("ISNDE", ref); } } // function jinfoqdeliciousMplus(ref) { if (ref.length > 0) { LogTag("MPNDE", ref); } } // function jinfoqtwitter(ref) { if (ref.length > 0) { LogTag("ISNTW", ref); } } // function jinfoqtwitterMplus(ref) { if (ref.length > 0) { LogTag("MPNTW", ref); } } // function jinfoqBuzz(ref) { if (ref.length > 0) { LogTag("ISNBZ", ref); } } // function jinfoqBuzzMplus(ref) { if (ref.length > 0) { LogTag("MPNBZ", ref); } } function CambiarIdioma(cliente, estilo) { var page=document.location.pathname; var comboValue var sel= document.getElementById('CBidioma'); var selIndex = sel.selectedIndex; comboValue = sel.options[selIndex].value; if ((document.domain.indexOf("infoplusec.qdq.com") != -1) ||(document.domain.indexOf("infoplus.qdq.com") != -1) || (document.domain.indexOf("infoqdq") != -1) || (document.domain.indexOf("qdqinfo") != -1) || (document.domain.indexOf("qdqplus") != -1)|| (document.domain.indexOf("desinfo.qdq.com") != -1)) { document.location.href= '/' + cliente + '/' + comboValue + '/inicio/' ; } else { document.location.href= '/' + comboValue + '/inicio/' ; } } function CambiarIdiomaModal(cliente, estilo) { var page=document.location.pathname; var comboValue var sel= document.getElementById('CBidioma'); var selIndex = sel.selectedIndex; comboValue = sel.options[selIndex].value; if ((document.domain.indexOf("infoplus.qdq.com") != -1) || (document.domain.indexOf("infoqdq") != -1) || (document.domain.indexOf("qdqinfo") != -1) || (document.domain.indexOf("qdqplus") != -1)|| (document.domain.indexOf("desinfo.qdq.com") != -1)) { document.location.href= '/MP/' + cliente + '/' + comboValue + '/presentacion/' ; } else { document.location.href= '/MP/' + comboValue + '/presentacion/' ; } } function CambiarIdiomaModalProducto(cliente, prod, estilo) { var page=document.location.pathname; var comboValue var sel= document.getElementById('CBidioma'); var selIndex = sel.selectedIndex; comboValue = sel.options[selIndex].value; if ((document.domain.indexOf("infoplus.qdq.com") != -1) || (document.domain.indexOf("infoqdq") != -1) || (document.domain.indexOf("qdqinfo") != -1) || (document.domain.indexOf("qdqplus") != -1)|| (document.domain.indexOf("desinfo.qdq.com") != -1)) { document.location.href= '/MP/' + cliente + '/PROD/' + prod + '/' + comboValue + '/presentacion/' ; } else { document.location.href= '/MP/' + comboValue + '/presentacion/' ; } } // function jinfoqproximidad2(ref,url,prov,mun,calle,num) { if (ref.length > 0) { LogTag("ISLPR", ref); } var strUrl = ''; strUrl = url; mun = mun.replace('/','\%'); // calle = calle.replace('.',''); if (num != '') num = num.replace('.',''); // strUrl += "/" + escape(jlimpacampominus(prov)); strUrl += "/" + escape(jlimpacampominus(mun)); strUrl += "/" + escape(jlimpacampominus(calle)); if (num != '') strUrl += "/" + escape(jlimpacampominus(num)); strUrl += "/"; //location.href = strUrl; window.open(strUrl,'_blank'); return true; } // function jinfoqproximidad2Peq(ref,url,prov,mun,calle,num) { if (ref.length > 0) { LogTag("ISSPR", ref); } var strUrl = ''; strUrl = url; mun = mun.replace('/','\%'); // calle = calle.replace('.',''); if (num != '') num = num.replace('.',''); // strUrl += "/" + escape(jlimpacampominus(prov)); strUrl += "/" + escape(jlimpacampominus(mun)); strUrl += "/" + escape(jlimpacampominus(calle)); if (num != '') strUrl += "/" + escape(jlimpacampominus(num)); strUrl += "/"; //location.href = strUrl; window.open(strUrl,'_blank'); return true; } function jinfocallejero(ref,url,prov,mun,coordx,coordy,calle,num) { if (ref.length > 0) { LogTag("ISSPR", ref); } var strUrl = ''; strUrl = url; mun = mun.replace('/','\%'); // calle = calle.replace('.',''); if (num != '') num = num.replace('.',''); // strUrl += "/" + escape(jlimpacampominus(prov)); strUrl += "/" + escape(jlimpacampominus(mun)); strUrl += "/x/" + escape(coordx); strUrl += "/y/" + escape(coordy); strUrl += "/calle/" + escape(jlimpacampominus(calle)); if (num != '') strUrl += "/num/" + escape(jlimpacampominus(num)); strUrl += "/pais/034/"; //location.href = strUrl; window.open(strUrl,'_blank'); return true; } // function Janela_Centro(pagina, nome, w, h, scroll) { if (screen.width > w) {var winl = (screen.width - w) / 2;} else {var winl = 0;} if (screen.height > h) {var wint = (screen.height - h) / 2;} else {var wint = 0;} wint-=20; if (wint<0) {wint=0;} winprops = 'toolbar=no,menubar=no,location=no,'+'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable' try { win = this.open(pagina, nome, winprops); } catch(e){} try { if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); } } catch(e){} } function Janela_Centro_Full(pagina,nome,w,h,scroll) { if (screen.width > w) {var winl = (screen.width - w) / 2;} else {var winl = 0;} if (screen.height > h) {var wint = (screen.height - h) / 2;} else {var wint = 0;} wint-=20; if (wint<0) {wint=0;} winprops = 'toolbar=yes,menubar=no,location=yes,'+'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable' try { win = this.open(pagina, nome, winprops); } catch(e){} try { if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); } } catch(e){} }