/* SimpleStats 6 functions.
Usage:
Cambios:
2006/08/31 - CVI: Filtrar IP de eurochile para que no sea contada.
*/
function sst6(id_sitio,id_path) {
var ip = '38.107.191.95'; // IP Address del gateway del cliente.
if (ip == '200.113.0.137') { return; }; // Si el IP es de Eurochile, entonces no hace nada.
id_path = id_path.toLowerCase();
id_path = id_path.replace(/á/g, 'a');
id_path = id_path.replace(/é/g, 'e');
id_path = id_path.replace(/í/g, 'i');
id_path = id_path.replace(/ó/g, 'o');
id_path = id_path.replace(/ú/g, 'u');
id_path = id_path.replace(/ñ/g, 'n');
id_path = id_path.replace(/ü/g, 'u');
id_path = id_path.replace(/[^0-9a-z;\/\_\-]/g, '');
id_path = id_path.replace(/;/g, '/');
id_sitio = id_sitio.replace(/[^0-9a-z\_\-]/g, '');
Browser_NS2Ch_a = 0;
if (navigator.appName == "Netscape" && navigator.appVersion.charAt(0) == "2") Browser_NS2Ch_a = 1;
if (Browser_NS2Ch_a == 0) {
sst6_url_source="http://simplestats.altavoz.net/sst6.sst?s="+id_sitio+"&p="+id_path;
document.writeln("
");
};
};