

var global_xiti_mobile_referer="null";
var global_xiti_modile_sessionid="E1B1939536914DBCA3227BB7ADA30661.5";
var global_xiti_mobile_anticache="1329056330297";

function triggerCount(type,page,oewa_path,nd_path,xiti_path) {
	type = type || "";
	page = page || "";
	oewa_path = oewa_path || "";
	nd_path = nd_path || "";   
	xiti_path = xiti_path || ""; 
		
		
	var oewa_pixel = document.createElement("img");
	oewa_pixel.setAttribute("width","1", "false");
	oewa_pixel.setAttribute("height","1", "false");	

	var nd_pixel = document.createElement("img");
	nd_pixel.setAttribute("width","1", "false");
	nd_pixel.setAttribute("height","1", "false");	

	var xiti_pixel = document.createElement("img");
	xiti_pixel.setAttribute("width","1", "false");
	xiti_pixel.setAttribute("height","1", "false");

	var xiti_mobile_pixel = document.createElement("img");
	xiti_mobile_pixel.setAttribute("width","1", "false");
	xiti_mobile_pixel.setAttribute("height","1", "false");

 

   
	switch (type) {
	case "iphone":
		page=page.toLowerCase();
		if (page.indexOf("_")==-1) { /* =ÃS */
			page=page+"_ues";
		}
		//Ãwa
		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Nachrichten/Nachrichtenueberblick/features/iphone/"+page.replace(/_/g,"/")+"?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
   		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?features.iphone."+page.replace(/_/g,".")+"&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_mc_category = page.replace(/_/g,"::").split("::")[0];
		xiti_mc_subcategory = page.replace(/_/g,"::").split("::")[1];
		if (xiti_mc_subcategory=="ues") {
		    xiti_mc_subcategory="";
		}
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=19&p="+page.replace(/_/g,"::")+"&di=&" + "x4=editor&x5=article&x6=" + xiti_mc_category  + "&x7=" + xiti_mc_subcategory + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;
	  
	  
	  
	case "gadget":
	  	//Sitestatxiti
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?features.desktop.gadget.ues&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=21&p=gadget::ues&di=&" + "x4=editor&x5=article&x6=&x7=" +  "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;
	  
	  
	  
	  
	case "widget":
	  	//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?features.desktop.widget.ues&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=21&p=widget::ues&di=&" + "x4=editor&x5=article&x6=&x7=" +  "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;


	case "schneeberichte-mobil":
		page=page.toLowerCase();	
		//Ãwa
		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Wetter/Wetterueberblick/features/mobilversion/panorama/wetter/schneeberichte?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?features.mobilversion.panorama.wetter.schneeberichte.ues&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=17&p=panorama::wetter::schneeberichte::ues&di=&" + "x4=partner&x5=service&x6=panorama&x7=wetter" + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;

	case "schneeberichte":
		if (page=="") {	
			page="ues";
		}
		page=page.toLowerCase();	
		//Ãwa
		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Wetter/Wetterueberblick/features/mobilversion/panorama/wetter/schneeberichte?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?panorama.wetter.schneeberichte."+page+"&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=4&p=wetter::schneeberichte::"+page.replace(/\./g,"::")+"&di=&" + "x4=partner&x5=service&x6=panorama&x7=wetter" +  "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;
	  
	case "screensaver":
	  	//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?features.desktop.screensaver.ues&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=21&p=screensaver::ues&di=&" + "x4=editor&x5=article&x6=&x7=" + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;
	  
	  
	  
	case "desktopnews":
	  	//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?features.desktop.desktopnews.ues&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=21&p=desktopnews::ues&di=&" + "x4=editor&x5=article&x6=&x7=" + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;
	  
	  
	  
	case "meinepresse":	
		if (page=="") {	
			page="ues";
		} else {
			page=page.toLowerCase();
		}
		//Ãwa
		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Nachrichten/Nachrichtenueberblick/features/meinepresse?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?features.meinepresse."+page+"&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=20&p="+page.replace(/\./g,"::")+"&di=&" + "x4=editor&x5=article&x6=meinepresse&x7=" + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;
	  
	  
	case "sudoku":	
		//Ãwa
		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/UnterhaltungGames/Games/Strategie/spiele/raetsel/sudoku?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?spiele.raetsel.sudoku.klick&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=36&p=sudoku::klick&di=&" + "x4=partner&x5=entertainment&x6=spiele&x7=raetsel" +  "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;


	case "manual":
		//Ãwa
		oewa_pixel.setAttribute("SRC",  oewa_path + "?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC",  nd_path + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		/* use nd_path because it includes first level */
		xiti_mc_category = nd_path.split(".")[0];
		xiti_mc_subcategory = nd_path.split(".")[1];
		if (xiti_mc_subcategory=="ues") {
		    xiti_mc_subcategory="";
		}
		xiti_pixel.setAttribute("SRC", xiti_path + "&" + "x4=editor&x5=article&x6=" + xiti_mc_category  + "&x7=" + xiti_mc_subcategory + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;

	case "anno.popup":	
		//Ãwa
		oewa_pixel.setAttribute("SRC",  "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Nachrichten/Nachrichtenueberblick/features/anno/popup?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC",  "http://de.sitestat.com/styria/diepresse/s?features.anno.popup&category=popup&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=27&p=popup&di=&" + "x4=editor&x5=article&x6=features&x7=anno" + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;





	case "schaufenster.lookbook":	
		if (page=="lookbooks") {	
			page="ues";
		} else if (page=="") {
			page="empty";
		} else {
			page=page.toLowerCase();
		}
		//Ãwa
		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Lifestyle/Mode/schaufenster/lookbook?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?schaufenster.lookbook."+page+"&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_mc_category = page.replace(/_/g,"::").split("::")[0];
		xiti_mc_subcategory = page.replace(/_/g,"::").split("::")[1];
		if (xiti_mc_subcategory=="ues") {
		    xiti_mc_subcategory="";
		}
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=13&p=lookbook::"+page.replace(/\./g,"::")+"&di=&" + "x4=user&x5=article&x6=" + xiti_mc_category  + "&x7=" + xiti_mc_subcategory + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;


	case "sport.bundesliga-popup":	
		//Ãwa
		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Sport/Fussball/sport/fussball/bundesliga-popup/?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?sport.fussball.bundesliga-popup.ues&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=6&p=fussball::bundesliga-popup::ues&di=&" + "x4=partner&x5=article&x6=sport&x7=fussball" + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;

		
	case "oscar09":
		page=page.toLowerCase();	
		//Ãwa
		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/KulturUndFreizeit/FilmUndKino/kultur/special/oscar?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?"+page+"&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=5&p="+page.replace(/kultur\./, "").replace(/\./g,"::")+"&di=&" + "x4=partner&x5=article&x6=kultur&x7=film" + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;

	case "wahltool":
		page=page.toLowerCase();	
		//Ãwa
		if (page=="politik.special.kaerntenwahl.wahltool.ues") {	
			oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Politik/PolitikInland/politik/special/kaerntenwahl/wahltool?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		} else if (page=="features.mobilversion.politik.special.kaerntenwahl.wahltool.ues") {
			oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Politik/PolitikInland/features/mobilversion/politik/special/kaerntenwahl/wahltool?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		} else {
			oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Politik/PolitikInland/politik/special/kaerntenwahl/wahltool?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		}
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?"+page+"&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=2&p="+page.replace(/politik\./, "").replace(/\./g,"::")+"&di=&" + "x4=editor&x5=article&x6=politik&x7=" + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;


		

	case "sonntag-mobil-landing":
		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/Service/Unternehmenskommunikation/Unternehmenskommunikation/features/mobilversion/sonntag?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?features.mobilversion.sonntag.ues&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=17&p=sonntag::ues&di=&" + "x4=editor&x5=article&x6=sonntag&x7=" + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;

	case "tv-programm-mobil":
		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/Service/ProgrammeUndLokalfuehrer/TVprogrammen/features/mobilversion/tvprogramm?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?features.mobilversion.tvprogramm.ues&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=17&p=tvprogramm::ues&di=&" + "x4=partner&x5=service&x6=tvprogramm&x7=" + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;

	case "epaper":	
		page=page.toLowerCase();
		//Ãwa
		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Nachrichten/Nachrichtenueberblick/features/epaper?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		parent.article.document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?"+page+"&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//parent.article.document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=25&p="+page.replace(/features\.epaper\./, "").replace(/\./g,"::")+"&di=&" + "x4=editor&x5=article&x6=features&x7=epaper" + "&d="+(new Date()).getTime()+"", "false");
		parent.article.document.getElementById("footer").appendChild(xiti_pixel);
	break;


	case "blaettern.dynastopper":	
		var pixelpath_channel;
		page=page.toString();
		if (channel=="index.do") {	
			pixelpath_channel="home";
		} else {
			pixelpath_channel=channel;
		}
		//Ãwa
		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/"+global_oewa_path+"/"+global_oewa_nd+"/blaettern/dynastopper"+"?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?"+pixelpath_channel+".blaettern.dynastopper&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2="+global_xiti_level2+"&p=blaettern::dynastopper&di=&"+ "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;

	case "blaettern.supercontent":	
		var pixelpath_channel;
		page=page.toString();
		if (channel=="index.do") {	
			pixelpath_channel="home";
		} else {
			pixelpath_channel=channel;
		}
		
		//Ãwa
		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/"+global_oewa_path+"/"+global_oewa_nd+"/blaettern/supercontent"+"?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?"+pixelpath_channel+".blaettern.supercontent&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_mc_category = page.replace(/_/g,"::").split("::")[0];
		xiti_mc_subcategory = page.replace(/_/g,"::").split("::")[1];
		if (xiti_mc_subcategory=="ues") {
		    xiti_mc_subcategory="";
		}
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2="+global_xiti_level2+"&p=blaettern::supercontent&di=&" + "x4=editor&x5=article&x6=" + xiti_mc_category  + "&x7=" + xiti_mc_subcategory + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;
	
	case "blaettern.tabs":	
		var pixelpath_channel;
		page=page.toString();
		if (channel=="index.do") {	
			pixelpath_channel="home";
		} else {
			pixelpath_channel=channel;
		}
		
		//Ãwa
		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/"+global_oewa_path+"/"+global_oewa_nd+"/blaettern/tabs"+"?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?"+pixelpath_channel+".blaettern.tabs&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_mc_category = page.replace(/_/g,"::").split("::")[0];
		xiti_mc_subcategory = page.replace(/_/g,"::").split("::")[1];
		if (xiti_mc_subcategory=="ues") {
		    xiti_mc_subcategory="";
		}
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2="+global_xiti_level2+"&p=blaettern::tabs&di=&" + "x4=editor&x5=article&x6=" + xiti_mc_category  + "&x7=" + xiti_mc_subcategory +  "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;


	case "homepage.nueb":	
		//Ãwa
		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/"+global_oewa_path+"/"+global_oewa_nd+"/nueb"+"?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?homepage.nueb&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=1&p=nueb&di=&" + "x4=editor&x5=article&x6=homepage&x7=nueb" + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;


	case "geoartikel":	
		//Ãwa
		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/"+global_oewa_path+"/"+global_oewa_nd+"?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?homepage.nueb&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2="+global_xiti_level2+"&p="+global_oewa_nd.replace(/\//g,"::")+"::geoartikel::pin::"+global_content_id+"&di=&" + "x4=editor&x5=article&x6="+channel+"&x7="+ressort+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;


	case "user.profile":	
		//Ãwa
		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/Community/ForenUndChats/Service/user/profile"+"?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?user.profile&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=47&p=profile&di=&" + "x4=user&x5=communication&x6=&x7=" + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;


	case "finanzportal":
		page=page.toLowerCase();
		//Ãwa 
		oewa_pixel.setAttribute("SRC", "https://ssl-diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Wirtschaft/Wirtschaftsueberblick/wirtschaft/finanzportal" + "?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "https://de.sitestat.com/styria/diepresse/s?wirtschaft.finanzportal."+page+"&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "https://logs128.xiti.com/hit.xiti?s=392973&s2=3&p=finanzportal::"+page+"&di=&" + "x4=partner&x5=article&x6=wirtschaft&x7=finanzportal" + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;

	case "tv-version":
		page=page.toLowerCase();
		//Ãwa 
		oewa_pixel.setAttribute("src", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Nachrichten/Nachrichtenueberblick/features/tv-version" + "?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?features.tv-version."+page+"&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_mc_category = page.replace(/_/g,"::").split("::")[0];
		xiti_mc_subcategory = page.replace(/_/g,"::").split("::")[1];
		if (xiti_mc_subcategory=="ues") {
		    xiti_mc_subcategory="";
		}
		xiti_pixel.setAttribute("src", "http://logc173.xiti.com/hit.xiti?s=392973&s2=54&p="+page.replace(/\./g,"::")+"&di=&" + "x4=editor&x5=article&x6=" + xiti_mc_category  + "&x7=" + xiti_mc_subcategory + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;

	case "f1-liveticker":
		page=page.toLowerCase();
		//Ãwa 
		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Sport/Motorsport/sport/motorsport/liveticker" + "?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?sport.motorsport.liveticker.ues&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=6&p=motorsport::liveticker::ues"+"&di=&" + "x4=partner&x5=article&x6=sport&x7=motorsport" + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;

	case "jahrzehnt":
		page=page.toLowerCase();
		//Ãwa 
		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Nachrichten/Nachrichtenueberblick/jahrzehnt" + "?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		//Sitestat
		//nd_pixel.setAttribute("SRC", "http://de.sitestat.com/styria/diepresse/s?jahrzehnt.ues&category=url-null__ref-null" + "&d="+(new Date()).getTime()+"", "false");
		//document.getElementById("footer").appendChild(nd_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=55&p=ues"+"&di=&" + "x4=editor&x5=article&x6=jahrzehnt&x7=" + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;

	case "kia-landing":	
		//Xiti
		xiti_pixel.setAttribute("SRC", "https://logs128.xiti.com/hit.xiti?s=392973&s2=54&p=kia::"+page+"&di=&" + "x4=other&x5=other&x6=nettv&x7=kia" + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(xiti_pixel);
	break;

	case "flashplayer":
		page=page.toLowerCase();
		if ( page.indexOf("jobhighlights::videos::") != -1 ) {
			oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Karriere/KarriereUberblick/karriere" + "?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
			xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=15&p="+page+"&di=&" + "x4=editor&x5=article&x6=karriere&x7=jobhighlights" + "&d="+(new Date()).getTime()+"", "false");
		} else {
			
		}
		document.getElementById("footer").appendChild(oewa_pixel);
		document.getElementById("footer").appendChild(xiti_pixel);
	break;


	case "mobilversion":
		page=page.toLowerCase();
		if (page.indexOf("ressorts::ues") != -1)   {
			oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Nachrichten/Nachrichtenueberblick/features/mobilversion/homepage" + "?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
			xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=17&p="+page+"&di=&" + "x4=editor&x5=article&x6=mobilversion&x7=ressorts" + "&d="+(new Date()).getTime()+"", "false");
		} else if (page.indexOf("suche::ues") != -1)   {
			oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/Service/Suchmaschinen/Spezialsuche/features/mobilversion/suche" + "?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
			xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=17&p="+page+"&di=&" + "x4=editor&x5=article&x6=mobilversion&x7=suche" + "&d="+(new Date()).getTime()+"", "false");	
		} else if (page.indexOf("wetter::ues") != -1)   {
			page="features::"+page;
			oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Wetter/Wetterueberblick/features/mobilversion/features/wetter" + "?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
			xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=17&p="+page+"&di=&" + "x4=partner&x5=service&x6=mobilversion&x7=wetter" + "&d="+(new Date()).getTime()+"", "false");	
		} else if (page.indexOf("tvprogramm::ues") != -1)   {
			page="features::"+page;
			oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/Service/ProgrammeUndLokalfuehrer/TVprogramme/features/mobilversion/features/tvprogramm" + "?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
			xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=17&p="+page+"&di=&" + "x4=partner&x5=service&x6=mobilversion&x7=tvprogramm" + "&d="+(new Date()).getTime()+"", "false");	
		} else if (page.indexOf("kinoprogramm::ues") != -1)   {
			oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/Service/ProgrammeUndLokalfuehrer/Kinoprogramme/features/mobilversion/features/kinoprogramm" + "?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
			xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=17&p="+page+"&di=&" + "x4=partner&x5=service&x6=mobilversion&x7=tvprogramm" + "&d="+(new Date()).getTime()+"", "false");	
		} else if (page.indexOf("kultur::special::festivals::terminemobil::ues") != -1)   {
			oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/KulturUndFreizeit/Veranstaltungen/features/mobilversion/kultur/special/festival/terminemobil" + "?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
			xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=17&p="+page+"&di=&" + "x4=editor&x5=service&x6=mobilversion&x7=tvprogramm" + "&d="+(new Date()).getTime()+"", "false");
		} else if (page.indexOf("kultur::special::festivals::termineiphone::ues") != -1)   {
			oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/KulturUndFreizeit/Veranstaltungen/features/mobilversion/kultur/special/festival/terminemobil" + "?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
			xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=19&p="+page+"&di=&" + "x4=editor&x5=service&x6=mobilversion&x7=tvprogramm" + "&d="+(new Date()).getTime()+"", "false");			
		} else {
			oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/Diverses/Diverses/Diverses/features/mobilversion/" + "?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
			xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=17&p="+page+"&di=&" + "x4=other&x5=other&x6=mobilversion&x7=&d="+(new Date()).getTime()+"", "false");
		}
		document.getElementById("footer").appendChild(oewa_pixel);
		document.getElementById("footer").appendChild(xiti_pixel);

		xiti_mobile_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=397795&p="+page+"&idclient="+global_xiti_modile_sessionid+"&na="+global_xiti_mobile_anticache+"&ref="+global_xiti_mobile_referer, "false");
		document.getElementById("footer").appendChild(xiti_mobile_pixel);
	break;

	case "blaetterkatalog":
		page=page.toLowerCase();

		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Karriere/Weiterbildung/schule/bildung" + "?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=59&p="+page+"&di=&" + "x4=editor&x5=article&x6=bildung&x7=weiterbilung" + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("footer").appendChild(oewa_pixel);
		document.getElementById("footer").appendChild(xiti_pixel);
	break;


	case "agb":
		page=page.toLowerCase();

		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/Service/Unternehmenskommunikation/Unternehmenskommunikation/service/sales/popup" + "?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=43&p="+page+"&di=&" + "x4=editor&x5=article&x6=sales&x7=" + "&d="+(new Date()).getTime()+"", "false");

		document.getElementById("footer").appendChild(oewa_pixel);
		document.getElementById("footer").appendChild(xiti_pixel);
	break;

	case "panoramacams":
		page=page.toLowerCase();

		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Wetter/Wetterueberblick/panorama/wetter/panoramacams" + "?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=4&p=wetter::panoramacams::ues&di=&" + "x4=partner&x5=service&x6=panorama&x7=wetter" + "&d="+(new Date()).getTime()+"", "false");

		document.getElementById("footer").appendChild(oewa_pixel);
		document.getElementById("footer").appendChild(xiti_pixel);
	break;

	case "tippspiel":
		page=page.toLowerCase();

		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/UnterhaltungGames/Games/Gewinnspiele/" + "?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=35&p=tippspiele::wm::ues&di=&" + "x4=partner&x5=service&x6=panorama&x7=wetter" + "&d="+(new Date()).getTime()+"", "false");

		document.getElementById("footer").appendChild(oewa_pixel);
		document.getElementById("footer").appendChild(xiti_pixel);
	break;

	case "bigscreen":
		page=page.toLowerCase();

		oewa_pixel.setAttribute("src", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Nachrichten/Nachrichtenueberblick/bigscreen/" + "?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		xiti_pixel.setAttribute("src", "http://logc173.xiti.com/hit.xiti?s=392973&s2=64&p=" + page + "&di=&" + "x4=editor&x5=article&x6=bigscreen&x7=" + "&d="+(new Date()).getTime()+"", "false");

		document.getElementById("footer").appendChild(oewa_pixel);
		document.getElementById("footer").appendChild(xiti_pixel);
	break;

	case "ski-weltcup":
		page=page.toLowerCase();
		//Ãwa 
		oewa_pixel.setAttribute("SRC", "http://diepress.oewabox.at/cgi-bin/ivw/CP/RedCont/Sport/SkiAlpin/sport/wintersport/ski-weltcup-liveticker" + "?r="+escape(document.referrer)+"&d="+(new Date()).getTime()+"", "false");
		document.getElementById("apa_clientLogo").appendChild(oewa_pixel);
		//Xiti
		xiti_pixel.setAttribute("SRC", "http://logc173.xiti.com/hit.xiti?s=392973&s2=6&p=wintersport::ski-weltcup-liveticker::ues"+"&di=&" + "x4=partner&x5=article&x6=sport&x7=wintersport" + "&d="+(new Date()).getTime()+"", "false");
		document.getElementById("apa_clientLogo").appendChild(xiti_pixel);
	break;

	  default:
		break;
	} //switch


} //function



