// Documento JavaScript
// Esta función llevara el conteo de clicks sobre un banner
///////////////////////////////////////////////////////////////////
var TRACKfrObj; function TRACKlink(CounterScript) { if (!document.createElement) {return true};
var TRACKfrDoc; if (!TRACKfrObj && document.createElement) {
try {var TRACKfrtemp=document.createElement('iframe'); TRACKfrtemp.setAttribute('id','TRACKframe');
TRACKfrtemp.style.border='0px'; TRACKfrtemp.style.width='0px';
TRACKfrtemp.style.height='0px'; TRACKfrObj = document.body.appendChild(TRACKfrtemp);
if (document.frames) {TRACKfrObj = document.frames['TRACKframe']; }}
catch(exception) {TRACKhf='\<iframe id=" TRACKframe" style="'; TRACKhf+='border:0px;';
TRACKhf+='width:0px;'; TRACKhf+='height:0px;'; TRACKhf+='"><\/iframe>';
document.body.innerHTML+= TRACKhf; TRACKfrObj = new Object();
TRACKfrObj.document = new Object(); TRACKfrObj.document.location = new Object();
TRACKfrObj.document.location.iframe = document.getElementById('TRACKframe');
TRACKfrObj.document.location.replace = function(location) { this.iframe.src = location; }}}
if (navigator.userAgent.indexOf('Gecko') !=-1 && ! TRACKfrObj.contentDocument)
{setTimeout('TRACKtrack()',10); return false;}
// Browser tipo/version NS6
if (TRACKfrObj.contentDocument) {TRACKfrDoc = TRACKfrObj.contentDocument;}
// Browser tipo/version IE5.5 & IE6
else if (TRACKfrObj.contentWindow) {TRACKfrDoc = TRACKfrObj.contentWindow.document;}
// Browser tipo/version IE5
else if (TRACKfrObj.document) {TRACKfrDoc = TRACKfrObj.document;}
else { return true; } TRACKfrDoc.location.replace(CounterScript); return false;
}
