//-------------------------------------------------------
// Definición de variables
//-------------------------------------------------------
// Variables
var fwe_URL="http://www.estadisticasgratis.com";
//-------------------------------------------------------
// Comprovación de código
//-------------------------------------------------------
function hexnib(d) {
if(d<10) return d; else return String.fromCharCode(65+d-10);
}
function hexcode(url) {
var result="";
for(var i=0;i>4)+""+hexnib(cc&15);
result+=hex;
}
return result;
}
function ComproveHex(ComproveCode,Cadena) {
Cadena=(""+hexcode((""+Cadena).toLowerCase())).toUpperCase();
if (ComproveCode.indexOf(Cadena)>=0)
return true;
else
return false;
}
function urlencode(str) {
return escape(str).replace(/\+/g,'%2B').replace(/%20/g, '+').replace(/\*/g, '%2A').replace(/\//g, '%2F').replace(/@/g, '%40');
}
function ComproveCode() {
// ComproveCode
ComproveCode=document.getElementById("EstadCodeComprove").innerHTML;
RealCode="";
//Link Keyword
if(false){
for(i=0;i<1;i++) {
AnchorKey=document.getElementById("LinkKey"+i).innerHTML;
RealCode=RealCode+hexcode(AnchorKey);
if (!ComproveHex(ComproveCode,AnchorKey)) {return false;}
LinkKey=document.getElementById("LinkKey"+i).href;
RealCode=RealCode+hexcode(LinkKey);
if (!ComproveHex(ComproveCode,LinkKey)) {return false;}
if(document.getElementById("LinkKeyExtra"))
{
AnchorKeyExtra=document.getElementById("LinkKeyExtra").innerHTML;
if(AnchorKeyExtra.indexOf(" ")==-1 && AnchorKeyExtra.indexOf(" ")==-1){return false;}
// AnchorKeyExtra="スクール探し";
//AnchorKeyExtra=AnchorKeyExtra.replace(/\;/g, "");
//AnchorKeyExtra=AnchorKeyExtra.replace(/#/g, "");
//AnchorKeyExtra=AnchorKeyExtra.replace(/\&/g, "");
//alert(AnchorKeyExtra);
//AnchorKeyExtra=escape(AnchorKeyExtra);
//RealCode=RealCode+hexcode(AnchorKeyExtra);
//if (!ComproveHex(ComproveCode,AnchorKeyExtra)) {return false;}
LinkKeyExtra=document.getElementById("LinkKeyExtra").href;
LinkKeyExtra=LinkKeyExtra.replace(/\//g, "");
LinkKeyExtra=LinkKeyExtra.replace(/\./g, "");
//alert(LinkKeyExtra);
RealCode=RealCode+hexcode(LinkKeyExtra);
if (!ComproveHex(ComproveCode,LinkKeyExtra)) {return false;}
}
}
if(RealCode.length!=ComproveCode.length) {return false;}
}
// Comprvación OK
return true;
}
function Comprove() {
if(ComproveCode()) {
document.images["fwe_counter"].src=fwe_Trace;
} else {
document.write("
¡Código no valido!
Vuelve a pegar el código que te proporcionamos para disfrutar de tus estadisticas.
");
}
}
// Envaimos la traza
SendTrace();
Comprove();
//---------------------------------------------------
// Gestión de cookies
//---------------------------------------------------
function SendTrace () {
var fwe_URLTrace="http://traces.estadisticasgratis.com/"+"trace.php?";
fwe_URLTrace+="page=306721";
// Sistemas operativos
var array_OS = new Array();
array_OS[1]= new Array(/WINDOWS NT 5.1/,"Windows XP");
array_OS[2]= new Array(/WINDOWS NT/,"Windows NT");
array_OS[3]= new Array(/WINNT/,"Windows NT");
array_OS[4]= new Array(/WINDOWS 95/,"Windows 95");
array_OS[5]= new Array(/WINDOWS 98/,"Windows 98");
array_OS[6]= new Array(/WINDOWS/,"Windows");
array_OS[7]= new Array(/LINUX/,"Linux");
array_OS[8]= new Array(/MDK/,"Linux");
array_OS[9]= new Array(/IRIX/,"IRIX");
array_OS[10]= new Array(/AIX/,"AIX");
array_OS[11]= new Array(/HP-UX/,"HP-UX");
array_OS[12]= new Array(/BEOS/,"BeOS");
array_OS[13]= new Array(/MAC/,"MacOS");
array_OS[14]= new Array(/WEBTV/,"Web TV");
array_OS[15]= new Array(/SUN/,"Sun");
array_OS[16]= new Array(/BSD/,"BSD");
array_OS[17]= new Array(/X11/,"X11");
// Navegadores
var array_Browsers = new Array();
array_Browsers[1]= new Array(/MSIE ([0-9].[0-9])/,"MSIE");
array_Browsers[2]= new Array(/KONQUEROR.?.([0-9][.][0-9]|[0-9])/,"Konqueror");
array_Browsers[3]= new Array(/NETSCAPE ([0-9].[0-9])/,"Netscape");
array_Browsers[4]= new Array(/(OPERA.?.([0-9][.][0-9]|[0-9][.][0-9][0-9]))/,"Opera");
array_Browsers[5]= new Array(/^MOZILLA.?.([0-9].?.[0-9][0-9]|[0-9].?.[0-9]|[0-9])/,"Mozilla");
array_Browsers[6]= new Array(/LYNX.?.([0-9][.][0-9][.][0-9])/,"Lynx");
array_Browsers[7]= new Array(/Links.?[(][0-9][.][0-9]/,"Links");
//----------------------------------------------
// Obtenemos datos de referers y página
//----------------------------------------------
var fwe_Referer="";
if (typeof document.referrer!="undefined")
fwe_Referer = escape(document.referrer);
var fwe_Title="";
if (typeof document.title!="undefined")
fwe_Title = escape(document.title);
var fwe_URL = escape(document.location);
//----------------------------------------------
// Obtenemos datos de pantalla
//----------------------------------------------
var fwe_Width=screen.width;
var fwe_Height=screen.height;
var fwe_Color=screen.colorDepth;
//----------------------------------------------
//Obtenemos los datos del navegador
//----------------------------------------------
var fwe_appName=navigator.appName;
var fwe_appVersion=navigator.appVersion;
var fwe_appAgent=(fwe_appName+" "+fwe_appVersion).toUpperCase();
var fwe_Language=navigator.language? navigator.language : navigator.userLanguage;
var fwe_Java=0;
if (navigator.javaEnabled()) fwe_Java=1;
//---------------------------------------------
// Obtenemos el sistema operativo
//---------------------------------------------
var fwe_OS="";
for (var i=1; iHosted by www.Geocities.ws