function cert_getTagCertifica_EXT(iSiteId, sPath, sAppend, strURL) 
{
    var size, colors, referrer, url;
    size = colors = referrer = 'otro';
    var o = cert_qVal('url_origen');
    if (o != null && o != '')
       referrer = o;
    else 
       referrer = strURL;//escape(cert_getReferrer());
    if ( window.screen.width ) size = window.screen.width;
    if ( window.screen.colorDepth ) colors = window.screen.colorDepth;
    else if ( window.screen.pixelDepth ) colors = window.screen.pixelDepth;
    url = 
       'http://hits.e.cl/cert/hit.dll?sitio_id=' + iSiteId + '&path=' + sPath +
       '&referer=' + referrer + '&size=' + size + '&colors=' + colors;
    url += '&java=' + navigator.javaEnabled();
    if (sAppend)
        url += sAppend;

    return url;    
}

function cert_registerHit_EXT(iSiteId, sPath, sPivotName, strURL) 
{
   var sAppend = '&cert_cachebuster=' + (1 + Math.floor (Math.random() * 10000));
   if ( !sPivotName )
      sPivotName = DEFAULT_PIVOT_NAME;
   if ( document.images )
      if ( document.images[sPivotName] )
         document.images[sPivotName].src = cert_getTagCertifica_EXT(iSiteId, sPath, sAppend, strURL);
}

function tag_externos(strTag)
{
	cert_registerHit_EXT(10931, strTag, '', 'http://www.tvn.cl/'); // TVN
	//cert_registerHit_EXT(18630, strTag,'', 'http://www.lasegundadigital.com/'); // LSD
}