sc_valuePaisGeo = "USA";sc_valuePaisGeoCode2 = "US";sc_valueIp = "38.107.191.91";sc_errorOtherValidations = false;sc_contarPais = true; //#################################### BEGIN functions javascript sc_int #################################### function trim(stringToTrim) { return stringToTrim.replace(/^\s+|\s+$/g,""); } function is_numeric(input){ return typeof(input)=='number'; } function empty(mixed_var) { return (trim(mixed_var) === "" || mixed_var === null || mixed_var === false); } function sc_js_decode (input) { var keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; var output = ""; var chr1, chr2, chr3; var enc1, enc2, enc3, enc4; var i = 0; input = input.replace(/[^A-Za-z0-9\+\/\=]/g, ""); while (i < input.length) { enc1 = keyStr.indexOf(input.charAt(i++)); enc2 = keyStr.indexOf(input.charAt(i++)); enc3 = keyStr.indexOf(input.charAt(i++)); enc4 = keyStr.indexOf(input.charAt(i++)); chr1 = (enc1 << 2) | (enc2 >> 4); chr2 = ((enc2 & 15) << 4) | (enc3 >> 2); chr3 = ((enc3 & 3) << 6) | enc4; output = output + String.fromCharCode(chr1); if (enc3 != 64) { output = output + String.fromCharCode(chr2); } if (enc4 != 64) { output = output + String.fromCharCode(chr3); } } return output; } function pausecomp(millis){ date = new Date(); var curDate = null; do { var curDate = new Date(); }while(curDate-date < millis); } function sc_contadores(idAfiliado, idWeb, field) { var myImgLeads = new Image(); switch (field) { case 'lead' : srcImg = 'get_leads'; break; case '' : srcImg = 'get_totales_pais_indefinido'; break; case 'ESP' : srcImg = 'get_totales_espanioles'; break; default : srcImg = 'get_totales_no_espanioles'; break; } myImgLeads.src = 'http://www.solocoregistros.com/contadors/' + srcImg + '/' + idAfiliado + '/' + idWeb; pausecomp(1000); } function sc_contadores_leads() { } function cleanHostName (hostname) { hostname = hostname.replace(/^www./, ""); hostname = hostname.replace(/\.$/, ""); return hostname; } //#################################### END functions javascript sc_int #################################### sc_valueIdAfiliado = "6";sc_valueIdWeb = "27"; sc_crVariables = ''; sc_coregistroActive = true; sc_typeCoreg = "s"; sc_extras = new Array(); sc_crGetVars = ""; sc_load_cr = new Array(); sc_index = 0; //if (sc_typeCoreg == "s") { for(var pos in sc_extras) { sc_load_cr[sc_index] = new Array(); sc_load_cr[sc_index]['html'] = '