/*SiteCatalyst*/
window.setTimeout(
 function() {
   var script, head;   
   if (!window.UPC) {
       window.UPC = { vars: {}}; 
   } else if (!window.UPC.vars) {
       window.UPC.vars = {}; 
   }
   if (!window.UPC.vars.sChannel) {
      window.UPC.vars.sChannel = "Sales/Television";
      window.UPC.vars.sProp23 = "Sales";
      window.UPC.vars.sProp24 = "Television";
   }

   script = document.createElement("SCRIPT");
   head = document.getElementsByTagName("head")[0];
   script.setAttribute("type", "text/javascript");
   script.setAttribute("src", "//www.upc.at/javascript/pc/stat/UPC-at/SiteCatalyst.js");
   head.appendChild(script);
 },
 350
);

/*Facilitate Organic Search*/

var fd_ref = unescape(document.referrer + '');

var fd_loc = unescape(document.location + '');

function fd_fn_Query(myQS)

{

try{

return fd_ref.match(new RegExp("[?&]"+myQS+"=([^&]*)"))[1];

}catch(e){return "";}

}

if(fd_loc.search(/[?&]ps=paidsearch(&.*)?$/i)==-1){

zFacImg = new Image();

if (fd_ref.search(/\/\/([^/]*\.)*google\./i)>-1)

    zFacImg.src = "http://adsfac.eu/link.asp?cc=UAS001.9047.0&keyword="+fd_fn_Query("q");

}

/*Targeting footer*/
document.write('<script type="text/javascript" src="/tgt/javascript/tgt-footer.js"></script>');
