/* Omniture */
/* SiteCatalyst code version: H.11. Copyright 1997-2007 Omniture, Inc. More info available at http://www.omniture.com */
/* You may give each page an identifying name, server, and channel on the next lines. */

var pixel_dominio = 'los40.com';

if (typeof(pixel_seccion) == 'undefined') pixel_seccion=''; 
if (typeof(pixel_subseccion) == 'undefined') pixel_subseccion=''; 
if (typeof(pixel_subsubseccion) == 'undefined') pixel_subsubseccion=''; 
if (typeof(pixel_tipo_pagina) == 'undefined') pixel_tipo_pagina='articulos'; 

if(pixel_seccion == '40_movil_Orange' || pixel_seccion =='premios40principales2008' || pixel_seccion == '40viajes'){
	pixel_dominio = pixel_seccion;
	pixel_seccion = pixel_subseccion;
	pixel_subseccion = pixel_subsubseccion;
	pixel_subsubseccion = '';
}

s.pageName=s.getPageName();
s.channel = pixel_seccion;
if(pixel_subseccion != '' ) {
	s.prop1 = pixel_seccion + ">" + pixel_subseccion;
}else{ 
	s.prop1 = '';
}
if(pixel_subsubseccion!=''){
	s.prop2 = pixel_seccion + '>' + pixel_subseccion + '>' + pixel_subsubseccion;
}else{
	s.prop2 = "";
}

s.prop3=pixel_tipo_pagina; 
s.prop4="";  
s.prop5="";					
s.prop6="";					
s.prop7="";					
s.prop8="";					
s.prop9="";					
s.prop10="musica";				
s.prop11="";				
s.prop12="";
s.prop13="";				
s.prop14="";				
s.prop15="";
s.prop16="";
s.prop17="";
s.prop18="Prisacom";		
s.prop19="Los 40";			
s.prop20 = pixel_dominio;		
var jerarquia = s.prop18 + '>' + s.prop19 + '>' + s.prop20 + '>';
s.hier1 = jerarquia;
if(s.prop2!=''){
	s.hier1+=s.prop2;
}else if(s.prop1!=''){
	s.hier1+= s.prop1;
}else{
	s.hier1+= s.channel;
}
s.hier1+= ">" + s.pageName;
s.hier2=jerarquia + '>' + s.prop10 + '>' + s.pageName;
s.hier3= jerarquia + s.pageName;
s.hier4= jerarquia + s.pageName;
s.hier5="";					
/* Conversion Variables */
s.products="";
s.purchaseId="";
s.campaign="";
s.events="";
s.eVar1="";
s.eVar2="";
s.eVar3="";
s.eVar4="";
s.eVar5="";
s.eVar6="";
s.eVar7="";
s.eVar8="";
s.eVar9="";
s.eVar10="";
s.eVar11="";
s.eVar12="";
s.eVar13="";
s.eVar14="";
s.eVar15="";
s.eVar16="";
s.eVar17="";
s.eVar18="";
s.eVar19="";
s.eVar20="";
/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
var s_code=s.t();if(s_code)document.write(s_code)

//CONTROL INTERNO PRISACOM --> quedan las funciones set y get cookie

function __setCookie(name, value, expires, path, domain, secure) {
	var curCookie = name + "=" + escape(value) +
      ((expires) ? "; expires=" + expires : "") +
      ((path) ? "; path=" + path : "") +
      ((domain) ? "; domain=" + domain : "") +
      ((secure) ? "; secure" : "");
  document.cookie = curCookie;
}

function __getCookie(name) {
  var dc = document.cookie;
  var prefix = name + "=";
  var begin = dc.indexOf("; " + prefix);
  if (begin == -1) {
    begin = dc.indexOf(prefix);
    if (begin != 0) return null;
  } else
    begin += 2;
  var end = document.cookie.indexOf(";", begin);
  if (end == -1)
    end = dc.length;
  return unescape(dc.substring(begin + prefix.length, end));
}
