/*
expected:
window.emosAffComm_OrderId 
window.emosAffComm_OrderAmount oder window.emosAffComm_OrderAmountCent 
window.emosAffComm_OrderAmountBrutto oder window.emosAffComm_OrderAmountCentBrutto

optional
window.emosAffComm_OrderCurrency; // 'EUR','USD',.. , default: 'EUR'
window.emosAffComm_Properties; // Property Object with additinal Props for Rules
window.emosAffComm_k_belboon; // belboon key:  {secure.k_belboon}
window.emosAffComm_k_zanox;
 */
(function() {
	var COOKIENAME_CAMPAIGN = "emos_jckamp";

	var switchConfig = [
	                    // 
	                    // Agenturcookie 30 Tage (Komdat)
	                    // Codes Zeile 3: source=kw
	                    // Kunden-IDs Zeile 6: kraehe DE
	                    {
	                    	'test' : [ [['siteid','kraehe','contains'],['country','DE','equal'],['source','kw','equal']] ],
	                    	'template' :
	                    		"<DIV style=\"display: none;\">\r\n"+
	                    		"<IFRAME src=\"https:\/\/de2.komtrack.com\/tr\/102370\/o\/e3Njcmxhbmc6Im5vanMifQ==?oid=###ORDER_ID###&wo=###ORDER_VALUE_CENT_BRUTTO###&nWorth=###ORDER_VALUE_CENT###\" width=\"10\" height=\"10\"><\/IFRAME>\r\n"+
	                    		"</DIV>\r\n"+
	                    		""
	                    }
	                    ,
	                    // 
	                    // Agenturcookie 30 Tage (Komdat)
	                    // Codes Zeile 3: source=kw
	                    // Kunden-IDs Zeile 7: kraehe AT
	                    {
	                    	'test' : [ [['siteid','kraehe','contains'],['country','AT','equal'],['source','kw','equal']] ],
	                    	'template' : 
	                     		"<DIV style=\"display: none;\">\r\n"+
	                    		"<IFRAME src=\"https:\/\/de2.komtrack.com\/tr\/102690\/o\/e3Njcmxhbmc6Im5vanMifQ==?oid=###ORDER_ID###&wo=###ORDER_VALUE_CENT_BRUTTO###&nWorth=###ORDER_VALUE_CENT###\" width=\"10\" height=\"10\"><\/IFRAME>\r\n"+
	                    		"</DIV>\r\n"+
	                    		""	                    		
	                    }
	                    ,
	                    // 
	                    // Agenturcookie 30 Tage (Komdat)
	                    // Codes Zeile 3: source=kw
	                    // Kunden-IDs Zeile 8: kraehe CH
	                    {
	                    	'test' : [ [['siteid','kraehe','contains'],['country','CH','equal'],['source','kw','equal']] ],
	                    	'template' : 
	                     		"<DIV style=\"display: none;\">\r\n"+
	                    		"<IFRAME src=\"https:\/\/de2.komtrack.com\/tr\/102700\/o\/e3Njcmxhbmc6Im5vanMifQ==?oid=###ORDER_ID###&wo=###ORDER_VALUE_CENT_BRUTTO###&nWorth=###ORDER_VALUE_CENT###\" width=\"10\" height=\"10\"><\/IFRAME>\r\n"+
	                    		"</DIV>\r\n"+
	                    		""	 
	                    }
	                    ,
	                    // 
	                    // Agenturcookie 30 Tage (Komdat)
	                    // Codes Zeile 3: source=kw
	                    // Kunden-IDs Zeile 9: kraehe de
	                    {
	                    	'test' : [ [['siteid','western','contains'],['country','DE','equal'],['source','kw','equal']] ],
	                    	'template' : 
	                     		"<DIV style=\"display: none;\">\r\n"+
	                    		"<IFRAME src=\"https:\/\/de2.komtrack.com\/tr\/102400\/o\/e3Njcmxhbmc6Im5vanMifQ==?oid=###ORDER_ID###&wo=###ORDER_VALUE_CENT_BRUTTO###&nWorth=###ORDER_VALUE_CENT###\" width=\"10\" height=\"10\"><\/IFRAME>\r\n"+
	                    		"</DIV>\r\n"+
	                    		""
	                    }
	                    ,
	                    // 
	                    // Agenturcookie 30 Tage (Komdat)
	                    // Codes Zeile 3: source=kw
	                    // Kunden-IDs Zeile 10: western AT
	                    {
	                    	'test' : [ [['siteid','western','contains'],['country','AT','equal'],['source','kw','equal']] ],
	                    	'template' : 
	                     		"<DIV style=\"display: none;\">\r\n"+
	                    		"<IFRAME src=\"https:\/\/de2.komtrack.com\/tr\/102710\/o\/e3Njcmxhbmc6Im5vanMifQ==?oid=###ORDER_ID###&wo=###ORDER_VALUE_CENT_BRUTTO###&nWorth=###ORDER_VALUE_CENT###\" width=\"10\" height=\"10\"><\/IFRAME>\r\n"+
	                    		"</DIV>\r\n"+
	                    		""	                    		
	                    }
	                    ,
	                    // 
	                    // Agenturcookie 30 Tage (Komdat)
	                    // Codes Zeile 3: source=kw
	                    // Kunden-IDs Zeile 11: western CH
	                    {
	                    	'test' : [ [['siteid','western','contains'],['country','CH','equal'],['source','kw','equal']] ],
	                    	'template' : 
	                     		"<DIV style=\"display: none;\">\r\n"+
	                    		"<IFRAME src=\"https:\/\/de2.komtrack.com\/tr\/102720\/o\/e3Njcmxhbmc6Im5vanMifQ==?oid=###ORDER_ID###&wo=###ORDER_VALUE_CENT_BRUTTO###&nWorth=###ORDER_VALUE_CENT###\" width=\"10\" height=\"10\"><\/IFRAME>\r\n"+
	                    		"</DIV>\r\n"+
	                    		""	 
	                    }
	                    ,
	                    // 
	                    // Agenturcookie 30 Tage (Komdat)
	                    // Codes Zeile 3: source=kw
	                    // Kunden-IDs Zeile 12: western NL
	                    {
	                    	'test' : [ [['siteid','western','contains'],['country','NL','equal'],['source','kw','equal']] ],
	                    	'template' : 
	                     		"<DIV style=\"display: none;\">\r\n"+
	                    		"<IFRAME src=\"https:\/\/de2.komtrack.com\/tr\/103730\/o\/e3Njcmxhbmc6Im5vanMifQ==?oid=###ORDER_ID###&wo=###ORDER_VALUE_CENT_BRUTTO###&nWorth=###ORDER_VALUE_CENT###\" width=\"10\" height=\"10\"><\/IFRAME>\r\n"+
	                    		"</DIV>\r\n"+
	                    		""	
	                    }
	                    ,
	                    // 
	                    // Agenturcookie 30 Tage (Komdat)
	                    // Codes Zeile 3: source=kw
	                    // Kunden-IDs Zeile 13: western BE
	                    {
	                    	'test' : [ [['siteid','western','contains'],['country','BE','equal'],['source','kw','equal']] ],
	                    	'template' : 
	                     		"<DIV style=\"display: none;\">\r\n"+
	                    		"<IFRAME src=\"https:\/\/de2.komtrack.com\/tr\/103720\/o\/e3Njcmxhbmc6Im5vanMifQ==?oid=###ORDER_ID###&wo=###ORDER_VALUE_CENT_BRUTTO###&nWorth=###ORDER_VALUE_CENT###\" width=\"10\" height=\"10\"><\/IFRAME>\r\n"+
	                    		"</DIV>\r\n"+
	                    		""	
	                    }
	                    ,
	                    // 
	                    // Agenturcookie 30 Tage (Komdat)
	                    // Codes Zeile 3: source=kw
	                    // Kunden-IDs Zeile 14: akb DE
	                    {
	                    	'test' : [ [['siteid','akb','contains'],['country','DE','equal'],['source','kw','equal']] ],
	                    	'template' : 
	                     		"<DIV style=\"display: none;\">\r\n"+
	                    		"<IFRAME src=\"https:\/\/de2.komtrack.com\/tr\/102410\/o\/e3Njcmxhbmc6Im5vanMifQ==?oid=###ORDER_ID###&wo=###ORDER_VALUE_CENT_BRUTTO###&nWorth=###ORDER_VALUE_CENT###\" width=\"10\" height=\"10\"><\/IFRAME>\r\n"+
	                    		"</DIV>\r\n"+
	                    		""	
	                    }
	                    ,
	                    // 
	                    // Agenturcookie 30 Tage (Komdat)
	                    // Codes Zeile 3: source=kw
	                    // Kunden-IDs Zeile 31: akb AT
	                    {
	                    	'test' : [ [['siteid','akb','contains'],['country','AT','equal'],['source','kw','equal']] ],
	                    	'template' : 
	                     		"<DIV style=\"display: none;\">\r\n"+
	                    		"<IFRAME src=\"https:\/\/de2.komtrack.com\/tr\/102730\/o\/e3Njcmxhbmc6Im5vanMifQ==?oid=###ORDER_ID###&wo=###ORDER_VALUE_CENT_BRUTTO###&nWorth=###ORDER_VALUE_CENT###\" width=\"10\" height=\"10\"><\/IFRAME>\r\n"+
	                    		"</DIV>\r\n"+
	                    		""
	                    }
	                    ,
	                    // 
	                    // Agenturcookie 30 Tage (Komdat)
	                    // Codes Zeile 3: source=kw
	                    // Kunden-IDs Zeile 32: akb CH
	                    {
	                    	'test' : [ [['siteid','akb','contains'],['country','CH','equal'],['source','kw','equal']] ],
	                    	'template' : 
	                     		"<DIV style=\"display: none;\">\r\n"+
	                    		"<IFRAME src=\"https:\/\/de2.komtrack.com\/tr\/102740\/o\/e3Njcmxhbmc6Im5vanMifQ==?oid=###ORDER_ID###&wo=###ORDER_VALUE_CENT_BRUTTO###&nWorth=###ORDER_VALUE_CENT###\" width=\"10\" height=\"10\"><\/IFRAME>\r\n"+
	                    		"</DIV>\r\n"+
	                    		""
	                    }
	                    ,
	                    // 
	                    // Affiliate-Marketing - Affilinet
	                    // Codes Zeile 4: campaign=affiliate/affilinet
	                    // Kunden-IDs Zeile 15: kraehe DE,AT
	                    {
	                    	'test' : [ [['siteid','kraehe','contains'],['country','DE','equal'],['campaign','affiliate/affilinet','startswith']],
	                    	           [['siteid','kraehe','contains'],['country','AT','equal'],['campaign','affiliate/affilinet','startswith']] ],
	                    	           'template' : 
	                    	        	   "<IMG SRC=\"###PROTOCOLL###\/\/partners.webmasterplan.com\/registersale.asp?site=5926&mode=pps&ltype=1&price=###ORDER_VALUE###&order=###ORDER_ID###\"  WIDTH=\"1\" HEIGHT=\"1\">\r\n"+
	                    	        	   ""
	                    }
	                    ,
	                    // 
	                    // Affiliate-Marketing - Affilinet
	                    // Codes Zeile 4: campaign=affiliate/affilinet
	                    // Kunden-IDs Zeile 15: kraehe CH
	                    {
	                    	'test' : [ [['siteid','kraehe','contains'],['country','CH','equal'],['campaign','affiliate/affilinet','startswith']] ],
	                    	           'template' : 
	                    	        	   "<IMG SRC=\"###PROTOCOLL###\/\/partners.webmasterplan.com\/registersale.asp?site=5926&mode=pps&ltype=1&price=###OrderAmountCH###&order=###ORDER_ID###\"  WIDTH=\"1\" HEIGHT=\"1\">\r\n"+
	                    	        	   ""
	                    }	
	                    ,
	                    // 
	                    // Affiliate-Marketing - Affilinet
	                    // Codes Zeile 4: campaign=affiliate/affilinet
	                    // Kunden-IDs Zeile 15: western DE,AT
	                    {
	                    	'test' : [ [['siteid','western','contains'],['country','DE','equal'],['campaign','affiliate/affilinet','startswith']],
	                    	           [['siteid','western','contains'],['country','AT','equal'],['campaign','affiliate/affilinet','startswith']] ],
	                    	           'template' : 
	                    	        	   "<IMG SRC=\"###PROTOCOLL###\/\/partners.webmasterplan.com\/registersale.asp?site=5957&mode=pps&ltype=1&price=###ORDER_VALUE###&order=###ORDER_ID###\"  WIDTH=\"1\" HEIGHT=\"1\">\r\n"+
	                    	        	   ""
	                    }
	                    ,
	                    // 
	                    // Affiliate-Marketing - Affilinet
	                    // Codes Zeile 4: campaign=affiliate/affilinet
	                    // Kunden-IDs Zeile 15: western CH
	                    {
	                    	'test' : [ [['siteid','western','contains'],['country','CH','equal'],['campaign','affiliate/affilinet','startswith']] ],
	                    	           'template' : 
	                    	        	   "<IMG SRC=\"###PROTOCOLL###\/\/partners.webmasterplan.com\/registersale.asp?site=5957&mode=pps&ltype=1&price=###OrderAmountCH###&order=###ORDER_ID###\"  WIDTH=\"1\" HEIGHT=\"1\">\r\n"+
	                    	        	   ""
	                    }						
	                    ,	                    
	                    // 
	                    // Affiliate-Marketing - Zanox
	                    // Codes Zeile 5: campaign=affiliate/zanox
	                    // Kunden-IDs Zeile 17: kraehe DE
	                    {
	                    	'test' : [ [['siteid','kraehe','contains'],['country','DE','equal'],['campaign','affiliate/zanox','startswith']] ],
	                    	'template' : 
	                    		"<!-- BEGINN des zanox-affiliate HTML-Code -->\r\n"+
	                    		"<!-- ( Der HTML-Code darf im Sinne der einwandfreien Funktionalit\u00E4t nicht ver\u00E4ndert werden! ) -->\r\n"+
	                    		"<SCRIPT TYPE=\"text\/javascript\" src=\"https:\/\/ad.zanox.com\/pps\/?9177C1123972858&mode=[[1]]&CID=[[]]&CustomerID=[[0]]&OrderID=[[###ORDER_ID###]]&CurrencySymbol=[[###CURRENCY###]]&TotalPrice=[[###ORDER_VALUE###]]&PartnerID=[[###K_ZANOX###]]\">\r\n"+
	                    		"<\/SCRIPT>\r\n"+
	                    		"<NOSCRIPT>\r\n"+
	                    		" <IMG src=\"https:\/\/ad.zanox.com\/pps\/?9177C1123972858&mode=[[2]]&CID=[[]]&CustomerID=[[0]]&OrderID=[[###ORDER_ID###]]&CurrencySymbol=[[###CURRENCY###]]&TotalPrice=[[###ORDER_VALUE###]]&PartnerID=[[###K_ZANOX###]]\" width=\"1\" height=\"1\">\r\n"+
	                    		"<\/NOSCRIPT>\r\n"+
	                    		"<!-- ENDE des zanox-affiliate HTML-Code -->\r\n"+
	                    		""
	                    }
	                    ,
	                    // 
	                    // Affiliate-Marketing - Zanox
	                    // Codes Zeile 5: campaign=affiliate/zanox
	                    // Kunden-IDs Zeile 18: western
	                    {
	                    	'test' : [ [['siteid','western','contains'],['country','DE','equal'],['campaign','affiliate/zanox','startswith']] ],
	                    	'template' : 
	                    		"<!-- BEGINN des zanox-affiliate HTML-Code -->\r\n"+
	                    		"<!-- ( Der HTML-Code darf im Sinne der einwandfreien Funktionalit\u00E4t nicht ver\u00E4ndert werden! ) -->\r\n"+
	                    		"<SCRIPT TYPE=\"text\/javascript\" src=\"https:\/\/ad.zanox.com\/pps\/?9178C75649032&mode=[[1]]&CID=[[]]&CustomerID=[[0]]&OrderID=[[###ORDER_ID###]]&CurrencySymbol=[[###CURRENCY###]]&TotalPrice=[[###ORDER_VALUE###]]&PartnerID=[[###K_ZANOX###]]\">\r\n"+
	                    		"<\/SCRIPT>\r\n"+
	                    		"<NOSCRIPT>\r\n"+
	                    		" <IMG src=\"https:\/\/ad.zanox.com\/pps\/?9178C75649032&mode=[[2]]&CID=[[]]&CustomerID=[[0]]&OrderID=[[###ORDER_ID###]]&CurrencySymbol=[[###CURRENCY###]]&TotalPrice=[[###ORDER_VALUE###]]&PartnerID=[[###K_ZANOX###]]\" width=\"1\" height=\"1\">\r\n"+
	                    		"<\/NOSCRIPT>\r\n"+
	                    		"<!-- ENDE des zanox-affiliate HTML-Code -->\r\n"+
	                    		""
	                    }
	                    ,
	                    // 
	                    // Affiliate-Marketing - Zanox
	                    // Codes Zeile 5: campaign=affiliate/zanox
	                    // Kunden-IDs Zeile 19: akb
	                    {
	                    	'test' : [ [['siteid','akb','contains'],['country','DE','equal'],['campaign','affiliate/zanox','startswith']] ],
	                    	'template' : 
	                    		"<!-- BEGINN des zanox-affiliate HTML-Code -->\r\n"+
	                    		"<!-- ( Der HTML-Code darf im Sinne der einwandfreien Funktionalit\u00E4t nicht ver\u00E4ndert werden! ) -->\r\n"+
	                    		"<SCRIPT TYPE=\"text\/javascript\" src=\"https:\/\/ad.zanox.com\/pps\/?9179C1142843362&mode=[[1]]&CID=[[]]&CustomerID=[[0]]&OrderID=[[###ORDER_ID###]]&CurrencySymbol=[[###CURRENCY###]]&TotalPrice=[[###ORDER_VALUE###]]&PartnerID=[[###K_ZANOX###]]\">\r\n"+
	                    		"<\/SCRIPT>\r\n"+
	                    		"<NOSCRIPT>\r\n"+
	                    		" <IMG src=\"https:\/\/ad.zanox.com\/pps\/?9179C1142843362&mode=[[2]]&CID=[[]]&CustomerID=[[0]]&OrderID=[[###ORDER_ID###]]&CurrencySymbol=[[###CURRENCY###]]&TotalPrice=[[###ORDER_VALUE###]]&PartnerID=[[###K_ZANOX###]]\" width=\"1\" height=\"1\">\r\n"+
	                    		"<\/NOSCRIPT>\r\n"+
	                    		"<!-- ENDE des zanox-affiliate HTML-Code -->\r\n"+
	                    		""
	                    }
	                    ,
	                    // 
	                    // Affiliate-Marketing - SEO/Zanox (eProfessional)
	                    // Codes Zeile 5: campaign=seo
	                    // Kunden-IDs Zeile 19: western
	                    {
	                    	'test' : [ [['siteid','western','contains'],['country','DE','equal'],['campaign','seo','startswith']],
	                    	           [['siteid','western','contains'],['country','AT','equal'],['campaign','seo','startswith']],
	                    	           [['siteid','western','contains'],['country','CH','equal'],['campaign','seo','startswith']],
	                    	           [['siteid','western','contains'],['country','NL','equal'],['campaign','seo','startswith']],
	                    	           [['siteid','western','contains'],['country','BE','equal'],['campaign','seo','startswith']] ],
	                    	           'template' : 
	                    	        	   "<!-- BEGINN des zanox-affiliate HTML-Code -->\r\n"+
	                    	        	   "<!-- ( Der HTML-Code darf im Sinne der einwandfreien Funktionalit\u00E4t nicht ver\u00E4ndert werden! ) -->\r\n"+
	                    	        	   "<SCRIPT TYPE=\"text\/javascript\" src=\"https:\/\/ad.zanox.com\/pps\/?7824C289342096&mode=[[1]]&CID=[[]]&CustomerID=[[0]]&OrderID=[[###ORDER_ID###]]&CurrencySymbol=[[###CURRENCY###]]&TotalPrice=[[###ORDER_VALUE###]]&PartnerID=[[###K_ZANOX###]]\">\r\n"+
	                    	        	   "<\/SCRIPT>\r\n"+
	                    	        	   "<NOSCRIPT>\r\n"+
	                    	        	   " <IMG src=\"https:\/\/ad.zanox.com\/pps\/?7824C289342096&mode=[[2]]&CID=[[]]&CustomerID=[[0]]&OrderID=[[###ORDER_ID###]]&CurrencySymbol=[[###CURRENCY###]]&TotalPrice=[[###ORDER_VALUE###]]&PartnerID=[[###K_ZANOX###]]\" width=\"1\" height=\"1\">\r\n"+
	                    	        	   "<\/NOSCRIPT>\r\n"+
	                    	        	   "<!-- ENDE des zanox-affiliate HTML-Code -->\r\n"+
	                    	        	   ""
	                    }
	                    ,
	                    // 
	                    // Affiliate-Marketing - SEO/Zanox (eProfessional)
	                    // Codes Zeile 5: campaign=affiliate/zanox
	                    // Kunden-IDs Zeile 19: kraehe
	                    {
	                    	'test' : [ [['siteid','kraehe','contains'],['country','AT','equal'],['campaign','affiliate/zanox','startswith']],
	                    	           [['siteid','kraehe','contains'],['country','CH','equal'],['campaign','affiliate/zanox','startswith']] ],
	                    	           'template' : 
	                    	        	   "<!-- BEGINN des zanox-affiliate HTML-Code -->\r\n"+
	                    	        	   "<!-- ( Der HTML-Code darf im Sinne der einwandfreien Funktionalit\u00E4t nicht ver\u00E4ndert werden! ) -->\r\n"+
	                    	        	   "<SCRIPT TYPE=\"text\/javascript\" src=\"https:\/\/ad.zanox.com\/pps\/?9177C1123972858&mode=[[1]]&CID=[[]]&CustomerID=[[0]]&OrderID=[[###ORDER_ID###]]&CurrencySymbol=[[###CURRENCY###]]&TotalPrice=[[###ORDER_VALUE###]]&PartnerID=[[###K_ZANOX###]]\">\r\n"+
	                    	        	   "<\/SCRIPT>\r\n"+
	                    	        	   "<NOSCRIPT>\r\n"+
	                    	        	   " <IMG src=\"https:\/\/ad.zanox.com\/pps\/?9177C1123972858&mode=[[2]]&CID=[[]]&CustomerID=[[0]]&OrderID=[[###ORDER_ID###]]&CurrencySymbol=[[###CURRENCY###]]&TotalPrice=[[###ORDER_VALUE###]]&PartnerID=[[###K_ZANOX###]]\" width=\"1\" height=\"1\">\r\n"+
	                    	        	   "<\/NOSCRIPT>\r\n"+
	                    	        	   "<!-- ENDE des zanox-affiliate HTML-Code -->\r\n"+
	                    	        	   ""
	                    }						
	                    ,
	                    // 
	                    // Affiliate-Marketing - SEO/Zanox (eProfessional)
	                    // Codes Zeile 5: campaign=affiliate/zanox
	                    // Kunden-IDs Zeile 19: western
	                    {
	                    	'test' : [ [['siteid','western','contains'],['country','AT','equal'],['campaign','affiliate/zanox','startswith']],
	                    	           [['siteid','western','contains'],['country','CH','equal'],['campaign','affiliate/zanox','startswith']] ],
	                    	           'template' : 
	                    	        	   "<!-- BEGINN des zanox-affiliate HTML-Code -->\r\n"+
	                    	        	   "<!-- ( Der HTML-Code darf im Sinne der einwandfreien Funktionalit\u00E4t nicht ver\u00E4ndert werden! ) -->\r\n"+
	                    	        	   "<SCRIPT TYPE=\"text\/javascript\" src=\"https:\/\/ad.zanox.com\/pps\/?9178C75649032&mode=[[1]]&CID=[[]]&CustomerID=[[0]]&OrderID=[[###ORDER_ID###]]&CurrencySymbol=[[###CURRENCY###]]&TotalPrice=[[###ORDER_VALUE###]]&PartnerID=[[###K_ZANOX###]]\">\r\n"+
	                    	        	   "<\/SCRIPT>\r\n"+
	                    	        	   "<NOSCRIPT>\r\n"+
	                    	        	   " <IMG src=\"https:\/\/ad.zanox.com\/pps\/?9178C75649032&mode=[[2]]&CID=[[]]&CustomerID=[[0]]&OrderID=[[###ORDER_ID###]]&CurrencySymbol=[[###CURRENCY###]]&TotalPrice=[[###ORDER_VALUE###]]&PartnerID=[[###K_ZANOX###]]\" width=\"1\" height=\"1\">\r\n"+
	                    	        	   "<\/NOSCRIPT>\r\n"+
	                    	        	   "<!-- ENDE des zanox-affiliate HTML-Code -->\r\n"+
	                    	        	   ""
	                    }	
	                    ,
	                    // 
	                    // Affiliate-Marketing - SEO/Zanox (eProfessional)
	                    // Codes Zeile 5: campaign=affiliate/zanox
	                    // Kunden-IDs Zeile 19: akb
	                    {
	                    	'test' : [ [['siteid','akb','contains'],['country','AT','equal'],['campaign','affiliate/zanox','startswith']],
	                    	           [['siteid','akb','contains'],['country','CH','equal'],['campaign','affiliate/zanox','startswith']] ],
	                    	           'template' : 
	                    	        	   "<!-- BEGINN des zanox-affiliate HTML-Code -->\r\n"+
	                    	        	   "<!-- ( Der HTML-Code darf im Sinne der einwandfreien Funktionalit\u00E4t nicht ver\u00E4ndert werden! ) -->\r\n"+
	                    	        	   "<SCRIPT TYPE=\"text\/javascript\" src=\"https:\/\/ad.zanox.com\/pps\/?9179C1142843362&mode=[[1]]&CID=[[]]&CustomerID=[[0]]&OrderID=[[###ORDER_ID###]]&CurrencySymbol=[[###CURRENCY###]]&TotalPrice=[[###ORDER_VALUE###]]&PartnerID=[[###K_ZANOX###]]\">\r\n"+
	                    	        	   "<\/SCRIPT>\r\n"+
	                    	        	   "<NOSCRIPT>\r\n"+
	                    	        	   " <IMG src=\"https:\/\/ad.zanox.com\/pps\/?9179C1142843362&mode=[[2]]&CID=[[]]&CustomerID=[[0]]&OrderID=[[###ORDER_ID###]]&CurrencySymbol=[[###CURRENCY###]]&TotalPrice=[[###ORDER_VALUE###]]&PartnerID=[[###K_ZANOX###]]\" width=\"1\" height=\"1\">\r\n"+
	                    	        	   "<\/NOSCRIPT>\r\n"+
	                    	        	   "<!-- ENDE des zanox-affiliate HTML-Code -->\r\n"+
	                    	        	   ""
	                    }							
	                    ,
	                    // Affiliate-Marketing - Belboon
	                    // Codes Zeile 6: campaign=affiliate/belboon
	                    // Kunden-IDs Zeile 2: kraehe DE,AT,CH
	                    {
	                    	'test' : [ [['siteid','kraehe','contains'],['country','DE','equal'],['campaign','affiliate/belboon','startswith']],
	                    	           [['siteid','kraehe','contains'],['country','AT','equal'],['campaign','affiliate/belboon','startswith']],
	                    	           [['siteid','kraehe','contains'],['country','CH','equal'],['campaign','affiliate/belboon','startswith']] ],
	                    	           'template' : 
	                    	        	   "<img src=\"###PROTOCOLL###\/\/www1.belboon.de\/adtracking\/sale\/000015982.gif\/oc=###ORDER_ID###&sale=###ORDER_VALUE###&belboon=###K_BELBOON###\" border=\"0\" width=\"1\" height=\"1\" alt=\"\" \/><object class=\"flash\" type=\"application\/x-shockwave-flash\" data=\"###PROTOCOLL###\/\/www1.belboon.de\/tracking\/flash.swf\" width=\"1\" height=\"1\" ><param name=\"flashvars\" value=\"pgmid=000015982&etype=sale&tparam=sale&evalue=###ORDER_VALUE###&oc=###ORDER_ID###\"><param name=\"movie\" value=\"###PROTOCOLL###\/\/www1.belboon.de\/tracking\/flash.swf\" \/><\/object>\r\n"+
	                    	        	   ""
	                    }
	                    ,
	                    // 
	                    // Affiliate-Marketing - Belboon
	                    // Codes Zeile 6: campaign=affiliate/belboon
	                    // Kunden-IDs Zeile 3: western DE,AT,CH
	                    {
	                    	'test' : [ [['siteid','western','contains'],['country','DE','equal'],['campaign','affiliate/belboon','startswith']],
	                    	           [['siteid','western','contains'],['country','AT','equal'],['campaign','affiliate/belboon','startswith']],
	                    	           [['siteid','western','contains'],['country','CH','equal'],['campaign','affiliate/belboon','startswith']] ],
	                    	           'template' : 
	                    	        	   "<img src=\"###PROTOCOLL###\/\/www1.belboon.de\/adtracking\/sale\/000015984.gif\/oc=###ORDER_ID###&sale=###ORDER_VALUE###&belboon=###K_BELBOON###\" border=\"0\" width=\"1\" height=\"1\" alt=\"\" \/><object class=\"flash\" type=\"application\/x-shockwave-flash\" data=\"###PROTOCOLL###\/\/www1.belboon.de\/tracking\/flash.swf\" width=\"1\" height=\"1\" ><param name=\"flashvars\" value=\"pgmid=000015984&etype=sale&tparam=sale&evalue=###ORDER_VALUE###&oc=###ORDER_ID###\"><param name=\"movie\" value=\"###PROTOCOLL###\/\/www1.belboon.de\/tracking\/flash.swf\" \/><\/object>\r\n"+
	                    	        	   ""
	                    }
	                    ,
	                    // 
	                    // Affiliate-Marketing - Belboon
	                    // Codes Zeile 6: campaign=affiliate/belboon
	                    // Kunden-IDs Zeile 4: western NL
	                    {
	                    	'test' : [ [['siteid','western','contains'],['country','NL','equal'],['campaign','affiliate/belboon','startswith']] ],
	                    	'template' : 
	                    		"<img src=\"###PROTOCOLL###\/\/www1.belboon.de\/adtracking\/sale\/000016883.gif\/oc=###ORDER_ID###&sale=###ORDER_VALUE###&belboon=###K_BELBOON###\" border=\"0\" width=\"1\" height=\"1\" alt=\"\" \/><object class=\"flash\" type=\"application\/x-shockwave-flash\" data=\"###PROTOCOLL###\/\/www1.belboon.de\/tracking\/flash.swf\" width=\"1\" height=\"1\" ><param name=\"flashvars\" value=\"pgmid=000016883&etype=sale&tparam=sale&evalue=###ORDER_VALUE###&oc=###ORDER_ID###\"><param name=\"movie\" value=\"###PROTOCOLL###\/\/www1.belboon.de\/tracking\/flash.swf\" \/><\/object>\r\n"+
	                    		""
	                    }
	                    ,
	                    // 
	                    // Affiliate-Marketing - Belboon
	                    // Codes Zeile 6: campaign=affiliate/belboon
	                    // Kunden-IDs Zeile 5: akb DE,AT,CH
	                    {
	                    	'test' : [ [['siteid','akb','contains'],['country','DE','equal'],['campaign','affiliate/belboon','startswith']],
	                    	           [['siteid','akb','contains'],['country','AT','equal'],['campaign','affiliate/belboon','startswith']],
	                    	           [['siteid','akb','contains'],['country','CH','equal'],['campaign','affiliate/belboon','startswith']] ],
	                    	           'template' : 
	                    	        	   "<img src=\"###PROTOCOLL###\/\/www1.belboon.de\/adtracking\/sale\/000016314.gif\/oc=###ORDER_ID###&sale=###ORDER_VALUE###&belboon=###K_BELBOON###\" border=\"0\" width=\"1\" height=\"1\" alt=\"\" \/><object class=\"flash\" type=\"application\/x-shockwave-flash\" data=\"###PROTOCOLL###\/\/www1.belboon.de\/tracking\/flash.swf\" width=\"1\" height=\"1\" ><param name=\"flashvars\" value=\"pgmid=000016314&etype=sale&tparam=sale&evalue=###ORDER_VALUE###&oc=###ORDER_ID###\"><param name=\"movie\" value=\"###PROTOCOLL###\/\/www1.belboon.de\/tracking\/flash.swf\" \/><\/object>\r\n"+
	                    	        	   ""
	                    }
	                    ,
	                    // 
	                    // Affiliate-Marketing - Affiliwelt
	                    // Codes Zeile 7: campaign=affiliate/affiliwelt
	                    // Kunden-IDs Zeile 20: akb DE,AT,CH
	                    {
	                    	'test' : [ [['siteid','akb','contains'],['country','DE','equal'],['campaign','affiliate/affiliwelt','startswith']],
	                    	           [['siteid','akb','contains'],['country','AT','equal'],['campaign','affiliate/affiliwelt','startswith']],
	                    	           [['siteid','akb','contains'],['country','CH','equal'],['campaign','affiliate/affiliwelt','startswith']] ],
	                    	           'template' : 
	                    	        	   "<script language=\"JavaScript\" type=\"text\/javascript\" src=\"###PROTOCOLL###\/\/www.affiliwelt.net\/tracking.php?prid=2399&bestid=###ORDER_ID###&beschreibung=&preis=###ORDER_VALUE###&lead=no&sale=yes&js=1\"><\/script>\r\n"+
	                    	        	   "<noscript><img src=\"###PROTOCOLL###\/\/www.affiliwelt.net\/tracking.php?prid=2399&bestid=###ORDER_ID###&beschreibung=&preis=###ORDER_VALUE###&lead=no&sale=yes\" width=1 height=1 border=0><\/noscript>\r\n"+
	                    	        	   ""
	                    }
	                    ,
	                    // 
	                    // Affiliate-Marketing - Affiliwelt
	                    // Codes Zeile 7: campaign=affiliate/affiliwelt
	                    // Kunden-IDs Zeile 21: western DE,AT,CH
	                    {
	                    	'test' : [ [['siteid','western','contains'],['country','DE','equal'],['campaign','affiliate/affiliwelt','startswith']],
	                    	           [['siteid','western','contains'],['country','AT','equal'],['campaign','affiliate/affiliwelt','startswith']],
	                    	           [['siteid','western','contains'],['country','CH','equal'],['campaign','affiliate/affiliwelt','startswith']] ],
	                    	           'template' : 
	                    	        	   "<script language=\"JavaScript\" type=\"text\/javascript\" src=\"###PROTOCOLL###\/\/www.affiliwelt.net\/tracking.php?prid=2449&bestid=###ORDER_ID###&beschreibung=&preis=###ORDER_VALUE###&lead=no&sale=yes&js=1\"><\/script>\r\n"+
	                    	        	   "<noscript><img src=\"###PROTOCOLL###\/\/www.affiliwelt.net\/tracking.php?prid=2449&bestid=###ORDER_ID###&beschreibung=&preis=###ORDER_VALUE###&lead=no&sale=yes\" width=1 height=1 border=0><\/noscript>\r\n"+
	                    	        	   ""
	                    }
	                    ,
	                    // 
	                    // SEO (Krähe)
	                    // Codes Zeile 8: campaign=seo kraehe
	                    // Kunden-IDs Zeile 27: kraehe DE
	                    {
	                    	'test' : [ [['siteid','kraehe','contains'],['country','DE','equal'],['campaign','seo','startswith']] ],
	                    	'template' : 
	                    		"<script language=\"JavaScript\" type=\"text\/javascript\">\r\n"+
	                    		"\r\n"+
	                    		"var ia_tp=\"###PROTOCOLL###\/\/t23.intelliad.de\/tc.php\"; \/\/ path to intelliAd tracking script (change to https:\/\/t23.intelliad.de\/tc.php for tracking on ssl secured sites) \r\n"+
	                    		"var ia_v=\"###ORDER_VALUE###\"; \/\/ conversion value (i.e. \"2.5\") [mandatory] \r\n"+
	                    		"var ia_vz=\"sa\"; \/\/ conversion type (possible values: sale -> \"sa\", lead -> \"le\", signup -> \"si\", pageview -> \"pa\", download -> \"do\") [mandatory] \r\n"+
	                    		"var ia_vv=\"###CURRENCY###\"; \/\/ conversion currency code(ACCORDING ISO 4271 i.e. \"EUR\" or \"USD\") [optional,if not given \"EUR\" is used as default] \r\n"+
	                    		"var ia_po=\"###ORDER_ID###\"; \/\/ orderId [optional] \r\n"+
	                    		"var ia_sh=\"\"; \/\/ user age [optional] \r\n"+
	                    		"var ia_nf=\"\"; \/\/ user birth date (format: YYYYMMDD) [optional] \r\n"+
	                    		"var ia_hr=\"\"; \/\/ user gender (possible values: \"m\" or \"w\") [optional] \r\n"+
	                    		"var ia_uo=\"\"; \/\/ user zip code (5 digit zip code, i.e. \"12345\") [optional] \r\n"+
	                    		"var ia_vo=\"\"; \/\/ user city (i.e. \"Berlin\") [optional] \r\n"+
	                    		"var ia_tr=\"\"; \/\/ user region (i.e. \"Bayern\") [optional] \r\n"+
	                    		"var ia_vp=\"\"; \/\/ user country (possible values: 2 char coutry code, i.e. \"de\")[optional] \r\n"+
	                    		"var ia_c1=\"\"; \/\/ custom value 1 [optional] \r\n"+
	                    		"var ia_c2=\"\"; \/\/ custom value 2 [optional] \r\n"+
	                    		"var ia_c3=\"\"; \/\/ custom value 3 [optional] \r\n"+
	                    		"var ia_c4=\"\"; \/\/ custom value 4 [optional] \r\n"+
	                    		"\r\n"+
	                    		"var ia_cl=\"7393439313236323131303\";\r\n"+
	                    		"var ia_rand = Math.floor(Math.random()*11111139435231); \r\n"+
	                    		"\r\n"+
	                    		"document.write(\'<img src=\"\'+ia_tp+\'?cl=\'+ia_cl+\'&v=\'+ia_v+\'&vz=\'+ia_vz+\'&vv=\'+ia_vv+\'&po=\'+ia_po+\'&sh=\'+ia_sh+\'&nf=\'+ia_nf+\'&hr=\'+ia_hr+\'&uo=\'+ia_uo+\'&vo=\'+escape(ia_vo)+\'&tr=\'+escape(ia_tr)+\'&vp=\'+ia_vp+\'&c1=\'+ia_c1+\'&c2=\'+ia_c2+\'&c3=\'+ia_c3+\'&c4=\'+ia_c4+\'&rand=\'+ia_rand+\'\" width=\"1\" height=\"1\" alt=\"intelliAd\" \/>\');\r\n"+
	                    		"\r\n"+
	                    		"<\/script> \r\n"+
	                    		"<noscript> \r\n"+
	                    		"<img src=\"###PROTOCOLL###\/\/t23.intelliad.de\/tc.php?cl=7393439313236323131303&v=###ORDER_VALUE###&vz=sa&vv=###CURRENCY###&po=###ORDER_ID###&sh=&nf=&hr=&uo=&vo=&tr=&vp=&c1=&c2=&c3=&c4=\" width=\"1\" height=\"1\" alt=\"intelliAd\" \/> \r\n"+
	                    		"<\/noscript>\r\n"+
	                    		""
	                    }
	                    ,
	                    // 
	                    // SEO (Krähe)
	                    // Codes Zeile 8: campaign=seo kraehe
	                    // Kunden-IDs Zeile 28: kraehe AT
	                    {
	                    	'test' : [ [['siteid','kraehe','contains'],['country','AT','equal'],['campaign','seo','startswith']] ],
	                    	'template' : 
	                    		"<script language=\"JavaScript\" type=\"text\/javascript\">\r\n"+
	                    		"\r\n"+
	                    		"var ia_tp=\"###PROTOCOLL###\/\/t23.intelliad.de\/tc.php\"; \/\/ path to intelliAd tracking script (change to https:\/\/t23.intelliad.de\/tc.php for tracking on ssl secured sites) \r\n"+
	                    		"var ia_v=\"###ORDER_VALUE###\"; \/\/ conversion value (i.e. \"2.5\") [mandatory] \r\n"+
	                    		"var ia_vz=\"sa\"; \/\/ conversion type (possible values: sale -> \"sa\", lead -> \"le\", signup -> \"si\", pageview -> \"pa\", download -> \"do\") [mandatory] \r\n"+
	                    		"var ia_vv=\"###CURRENCY###\"; \/\/ conversion currency code(ACCORDING ISO 4271 i.e. \"EUR\" or \"USD\") [optional,if not given \"EUR\" is used as default] \r\n"+
	                    		"var ia_po=\"###ORDER_ID###\"; \/\/ orderId [optional] \r\n"+
	                    		"var ia_sh=\"\"; \/\/ user age [optional] \r\n"+
	                    		"var ia_nf=\"\"; \/\/ user birth date (format: YYYYMMDD) [optional] \r\n"+
	                    		"var ia_hr=\"\"; \/\/ user gender (possible values: \"m\" or \"w\") [optional] \r\n"+
	                    		"var ia_uo=\"\"; \/\/ user zip code (5 digit zip code, i.e. \"12345\") [optional] \r\n"+
	                    		"var ia_vo=\"\"; \/\/ user city (i.e. \"Berlin\") [optional] \r\n"+
	                    		"var ia_tr=\"\"; \/\/ user region (i.e. \"Bayern\") [optional] \r\n"+
	                    		"var ia_vp=\"\"; \/\/ user country (possible values: 2 char coutry code, i.e. \"de\")[optional] \r\n"+
	                    		"var ia_c1=\"\"; \/\/ custom value 1 [optional] \r\n"+
	                    		"var ia_c2=\"\"; \/\/ custom value 2 [optional] \r\n"+
	                    		"var ia_c3=\"\"; \/\/ custom value 3 [optional] \r\n"+
	                    		"var ia_c4=\"\"; \/\/ custom value 4 [optional] \r\n"+
	                    		"\r\n"+
	                    		"var ia_cl=\"9393633313236323131303\";\r\n"+
	                    		"var ia_rand = Math.floor(Math.random()*11111139435231); \r\n"+
	                    		"\r\n"+
	                    		"document.write(\'<img src=\"\'+ia_tp+\'?cl=\'+ia_cl+\'&v=\'+ia_v+\'&vz=\'+ia_vz+\'&vv=\'+ia_vv+\'&po=\'+ia_po+\'&sh=\'+ia_sh+\'&nf=\'+ia_nf+\'&hr=\'+ia_hr+\'&uo=\'+ia_uo+\'&vo=\'+escape(ia_vo)+\'&tr=\'+escape(ia_tr)+\'&vp=\'+ia_vp+\'&c1=\'+ia_c1+\'&c2=\'+ia_c2+\'&c3=\'+ia_c3+\'&c4=\'+ia_c4+\'&rand=\'+ia_rand+\'\" width=\"1\" height=\"1\" alt=\"intelliAd\" \/>\');\r\n"+
	                    		"\r\n"+
	                    		"<\/script> \r\n"+
	                    		"<noscript> \r\n"+
	                    		"<img src=\"###PROTOCOLL###\/\/t23.intelliad.de\/tc.php?cl=9393633313236323131303&v=###ORDER_VALUE###&vz=sa&vv=###CURRENCY###&po=###ORDER_ID###&sh=&nf=&hr=&uo=&vo=&tr=&vp=&c1=&c2=&c3=&c4=\" width=\"1\" height=\"1\" alt=\"intelliAd\" \/> \r\n"+
	                    		"<\/noscript>\r\n"+
	                    		""
	                    }
	                    ,
	                    // 
	                    // SEO (Krähe)
	                    // Codes Zeile 8: campaign=seo kraehe
	                    // Kunden-IDs Zeile 29: kraehe CH
	                    {
	                    	'test' : [ [['siteid','kraehe','contains'],['country','CH','equal'],['campaign','seo','startswith']] ],
	                    	'template' : 
	                    		"<script language=\"JavaScript\" type=\"text\/javascript\">\r\n"+
	                    		"\r\n"+
	                    		"var ia_tp=\"###PROTOCOLL###\/\/t23.intelliad.de\/tc.php\"; \/\/ path to intelliAd tracking script (change to https:\/\/t23.intelliad.de\/tc.php for tracking on ssl secured sites) \r\n"+
	                    		"var ia_v=\"###ORDER_VALUE###\"; \/\/ conversion value (i.e. \"2.5\") [mandatory] \r\n"+
	                    		"var ia_vz=\"sa\"; \/\/ conversion type (possible values: sale -> \"sa\", lead -> \"le\", signup -> \"si\", pageview -> \"pa\", download -> \"do\") [mandatory] \r\n"+
	                    		"var ia_vv=\"###CURRENCY###\"; \/\/ conversion currency code(ACCORDING ISO 4271 i.e. \"EUR\" or \"USD\") [optional,if not given \"EUR\" is used as default] \r\n"+
	                    		"var ia_po=\"###ORDER_ID###\"; \/\/ orderId [optional] \r\n"+
	                    		"var ia_sh=\"\"; \/\/ user age [optional] \r\n"+
	                    		"var ia_nf=\"\"; \/\/ user birth date (format: YYYYMMDD) [optional] \r\n"+
	                    		"var ia_hr=\"\"; \/\/ user gender (possible values: \"m\" or \"w\") [optional] \r\n"+
	                    		"var ia_uo=\"\"; \/\/ user zip code (5 digit zip code, i.e. \"12345\") [optional] \r\n"+
	                    		"var ia_vo=\"\"; \/\/ user city (i.e. \"Berlin\") [optional] \r\n"+
	                    		"var ia_tr=\"\"; \/\/ user region (i.e. \"Bayern\") [optional] \r\n"+
	                    		"var ia_vp=\"\"; \/\/ user country (possible values: 2 char coutry code, i.e. \"de\")[optional] \r\n"+
	                    		"var ia_c1=\"\"; \/\/ custom value 1 [optional] \r\n"+
	                    		"var ia_c2=\"\"; \/\/ custom value 2 [optional] \r\n"+
	                    		"var ia_c3=\"\"; \/\/ custom value 3 [optional] \r\n"+
	                    		"var ia_c4=\"\"; \/\/ custom value 4 [optional] \r\n"+
	                    		"\r\n"+
	                    		"var ia_cl=\"6393633313236323131303\";\r\n"+
	                    		"var ia_rand = Math.floor(Math.random()*11111139435231); \r\n"+
	                    		"\r\n"+
	                    		"document.write(\'<img src=\"\'+ia_tp+\'?cl=\'+ia_cl+\'&v=\'+ia_v+\'&vz=\'+ia_vz+\'&vv=\'+ia_vv+\'&po=\'+ia_po+\'&sh=\'+ia_sh+\'&nf=\'+ia_nf+\'&hr=\'+ia_hr+\'&uo=\'+ia_uo+\'&vo=\'+escape(ia_vo)+\'&tr=\'+escape(ia_tr)+\'&vp=\'+ia_vp+\'&c1=\'+ia_c1+\'&c2=\'+ia_c2+\'&c3=\'+ia_c3+\'&c4=\'+ia_c4+\'&rand=\'+ia_rand+\'\" width=\"1\" height=\"1\" alt=\"intelliAd\" \/>\');\r\n"+
	                    		"\r\n"+
	                    		"<\/script> \r\n"+
	                    		"<noscript> \r\n"+
	                    		"<img src=\"###PROTOCOLL###\/\/t23.intelliad.de\/tc.php?cl=6393633313236323131303&v=###ORDER_VALUE###&vz=sa&vv=###CURRENCY###&po=###ORDER_ID###&sh=&nf=&hr=&uo=&vo=&tr=&vp=&c1=&c2=&c3=&c4=\" width=\"1\" height=\"1\" alt=\"intelliAd\" \/> \r\n"+
	                    		"<\/noscript>\r\n"+
	                    		""
	                    }
	                    ,
	                    // 
	                    // SEO (Krähe)
	                    // Codes Zeile 9: campaign=portale kraehe
	                    // Kunden-IDs Zeile 29: kraehe DE
	                    {
	                    	'test' : [ [['siteid','kraehe','contains'],['country','DE','equal'],['campaign','portale','startswith']] ],
	                    	'template' : 
	                    		"<script language=\"JavaScript\" type=\"text\/javascript\">\r\n"+
	                    		"\r\n"+
	                    		"var ia_tp=\"###PROTOCOLL###\/\/t23.intelliad.de\/tc.php\"; \/\/ path to intelliAd tracking script (change to https:\/\/t23.intelliad.de\/tc.php for tracking on ssl secured sites) \r\n"+
	                    		"var ia_v=\"###ORDER_VALUE###\"; \/\/ conversion value (i.e. \"2.5\") [mandatory] \r\n"+
	                    		"var ia_vz=\"sa\"; \/\/ conversion type (possible values: sale -> \"sa\", lead -> \"le\", signup -> \"si\", pageview -> \"pa\", download -> \"do\") [mandatory] \r\n"+
	                    		"var ia_vv=\"###CURRENCY###\"; \/\/ conversion currency code(ACCORDING ISO 4271 i.e. \"EUR\" or \"USD\") [optional,if not given \"EUR\" is used as default] \r\n"+
	                    		"var ia_po=\"###ORDER_ID###\"; \/\/ orderId [optional] \r\n"+
	                    		"var ia_sh=\"\"; \/\/ user age [optional] \r\n"+
	                    		"var ia_nf=\"\"; \/\/ user birth date (format: YYYYMMDD) [optional] \r\n"+
	                    		"var ia_hr=\"\"; \/\/ user gender (possible values: \"m\" or \"w\") [optional] \r\n"+
	                    		"var ia_uo=\"\"; \/\/ user zip code (5 digit zip code, i.e. \"12345\") [optional] \r\n"+
	                    		"var ia_vo=\"\"; \/\/ user city (i.e. \"Berlin\") [optional] \r\n"+
	                    		"var ia_tr=\"\"; \/\/ user region (i.e. \"Bayern\") [optional] \r\n"+
	                    		"var ia_vp=\"\"; \/\/ user country (possible values: 2 char coutry code, i.e. \"de\")[optional] \r\n"+
	                    		"var ia_c1=\"\"; \/\/ custom value 1 [optional] \r\n"+
	                    		"var ia_c2=\"\"; \/\/ custom value 2 [optional] \r\n"+
	                    		"var ia_c3=\"\"; \/\/ custom value 3 [optional] \r\n"+
	                    		"var ia_c4=\"\"; \/\/ custom value 4 [optional] \r\n"+
	                    		"\r\n"+
	                    		"var ia_cl=\"7393439313236323131303\";\r\n"+
	                    		"var ia_rand = Math.floor(Math.random()*11111139435231); \r\n"+
	                    		"\r\n"+
	                    		"document.write(\'<img src=\"\'+ia_tp+\'?cl=\'+ia_cl+\'&v=\'+ia_v+\'&vz=\'+ia_vz+\'&vv=\'+ia_vv+\'&po=\'+ia_po+\'&sh=\'+ia_sh+\'&nf=\'+ia_nf+\'&hr=\'+ia_hr+\'&uo=\'+ia_uo+\'&vo=\'+escape(ia_vo)+\'&tr=\'+escape(ia_tr)+\'&vp=\'+ia_vp+\'&c1=\'+ia_c1+\'&c2=\'+ia_c2+\'&c3=\'+ia_c3+\'&c4=\'+ia_c4+\'&rand=\'+ia_rand+\'\" width=\"1\" height=\"1\" alt=\"intelliAd\" \/>\');\r\n"+
	                    		"\r\n"+
	                    		"<\/script> \r\n"+
	                    		"<noscript> \r\n"+
	                    		"<img src=\"###PROTOCOLL###\/\/t23.intelliad.de\/tc.php?cl=7393439313236323131303&v=###ORDER_VALUE###&vz=sa&vv=###CURRENCY###&po=###ORDER_ID###&sh=&nf=&hr=&uo=&vo=&tr=&vp=&c1=&c2=&c3=&c4=\" width=\"1\" height=\"1\" alt=\"intelliAd\" \/> \r\n"+
	                    		"<\/noscript>\r\n"+
	                    		""
	                    }
	                    ,
	                    // 
	                    // SEO (Krähe)
	                    // Codes Zeile 9: campaign=portale kraehe
	                    // Kunden-IDs Zeile 29: kraehe AT
	                    {
	                    	'test' : [ [['siteid','kraehe','contains'],['country','AT','equal'],['campaign','portale','startswith']] ],
	                    	'template' : 
	                    		"<script language=\"JavaScript\" type=\"text\/javascript\">\r\n"+
	                    		"\r\n"+
	                    		"var ia_tp=\"###PROTOCOLL###\/\/t23.intelliad.de\/tc.php\"; \/\/ path to intelliAd tracking script (change to https:\/\/t23.intelliad.de\/tc.php for tracking on ssl secured sites) \r\n"+
	                    		"var ia_v=\"###ORDER_VALUE###\"; \/\/ conversion value (i.e. \"2.5\") [mandatory] \r\n"+
	                    		"var ia_vz=\"sa\"; \/\/ conversion type (possible values: sale -> \"sa\", lead -> \"le\", signup -> \"si\", pageview -> \"pa\", download -> \"do\") [mandatory] \r\n"+
	                    		"var ia_vv=\"###CURRENCY###\"; \/\/ conversion currency code(ACCORDING ISO 4271 i.e. \"EUR\" or \"USD\") [optional,if not given \"EUR\" is used as default] \r\n"+
	                    		"var ia_po=\"###ORDER_ID###\"; \/\/ orderId [optional] \r\n"+
	                    		"var ia_sh=\"\"; \/\/ user age [optional] \r\n"+
	                    		"var ia_nf=\"\"; \/\/ user birth date (format: YYYYMMDD) [optional] \r\n"+
	                    		"var ia_hr=\"\"; \/\/ user gender (possible values: \"m\" or \"w\") [optional] \r\n"+
	                    		"var ia_uo=\"\"; \/\/ user zip code (5 digit zip code, i.e. \"12345\") [optional] \r\n"+
	                    		"var ia_vo=\"\"; \/\/ user city (i.e. \"Berlin\") [optional] \r\n"+
	                    		"var ia_tr=\"\"; \/\/ user region (i.e. \"Bayern\") [optional] \r\n"+
	                    		"var ia_vp=\"\"; \/\/ user country (possible values: 2 char coutry code, i.e. \"de\")[optional] \r\n"+
	                    		"var ia_c1=\"\"; \/\/ custom value 1 [optional] \r\n"+
	                    		"var ia_c2=\"\"; \/\/ custom value 2 [optional] \r\n"+
	                    		"var ia_c3=\"\"; \/\/ custom value 3 [optional] \r\n"+
	                    		"var ia_c4=\"\"; \/\/ custom value 4 [optional] \r\n"+
	                    		"\r\n"+
	                    		"var ia_cl=\"9393633313236323131303\";\r\n"+
	                    		"var ia_rand = Math.floor(Math.random()*11111139435231); \r\n"+
	                    		"\r\n"+
	                    		"document.write(\'<img src=\"\'+ia_tp+\'?cl=\'+ia_cl+\'&v=\'+ia_v+\'&vz=\'+ia_vz+\'&vv=\'+ia_vv+\'&po=\'+ia_po+\'&sh=\'+ia_sh+\'&nf=\'+ia_nf+\'&hr=\'+ia_hr+\'&uo=\'+ia_uo+\'&vo=\'+escape(ia_vo)+\'&tr=\'+escape(ia_tr)+\'&vp=\'+ia_vp+\'&c1=\'+ia_c1+\'&c2=\'+ia_c2+\'&c3=\'+ia_c3+\'&c4=\'+ia_c4+\'&rand=\'+ia_rand+\'\" width=\"1\" height=\"1\" alt=\"intelliAd\" \/>\');\r\n"+
	                    		"\r\n"+
	                    		"<\/script> \r\n"+
	                    		"<noscript> \r\n"+
	                    		"<img src=\"###PROTOCOLL###\/\/t23.intelliad.de\/tc.php?cl=9393633313236323131303&v=###ORDER_VALUE###&vz=sa&vv=###CURRENCY###&po=###ORDER_ID###&sh=&nf=&hr=&uo=&vo=&tr=&vp=&c1=&c2=&c3=&c4=\" width=\"1\" height=\"1\" alt=\"intelliAd\" \/> \r\n"+
	                    		"<\/noscript>\r\n"+
	                    		""
	                    }
	                    ,
	                    // 
	                    // SEO (Krähe)
	                    // Codes Zeile 9: campaign=portale kraehe
	                    // Kunden-IDs Zeile 29: kraehe CH
	                    {
	                    	'test' : [ [['siteid','kraehe','contains'],['country','CH','equal'],['campaign','portale','startswith']] ],
	                    	'template' : 
	                    		"<script language=\"JavaScript\" type=\"text\/javascript\">\r\n"+
	                    		"\r\n"+
	                    		"var ia_tp=\"###PROTOCOLL###\/\/t23.intelliad.de\/tc.php\"; \/\/ path to intelliAd tracking script (change to https:\/\/t23.intelliad.de\/tc.php for tracking on ssl secured sites) \r\n"+
	                    		"var ia_v=\"###ORDER_VALUE###\"; \/\/ conversion value (i.e. \"2.5\") [mandatory] \r\n"+
	                    		"var ia_vz=\"sa\"; \/\/ conversion type (possible values: sale -> \"sa\", lead -> \"le\", signup -> \"si\", pageview -> \"pa\", download -> \"do\") [mandatory] \r\n"+
	                    		"var ia_vv=\"###CURRENCY###\"; \/\/ conversion currency code(ACCORDING ISO 4271 i.e. \"EUR\" or \"USD\") [optional,if not given \"EUR\" is used as default] \r\n"+
	                    		"var ia_po=\"###ORDER_ID###\"; \/\/ orderId [optional] \r\n"+
	                    		"var ia_sh=\"\"; \/\/ user age [optional] \r\n"+
	                    		"var ia_nf=\"\"; \/\/ user birth date (format: YYYYMMDD) [optional] \r\n"+
	                    		"var ia_hr=\"\"; \/\/ user gender (possible values: \"m\" or \"w\") [optional] \r\n"+
	                    		"var ia_uo=\"\"; \/\/ user zip code (5 digit zip code, i.e. \"12345\") [optional] \r\n"+
	                    		"var ia_vo=\"\"; \/\/ user city (i.e. \"Berlin\") [optional] \r\n"+
	                    		"var ia_tr=\"\"; \/\/ user region (i.e. \"Bayern\") [optional] \r\n"+
	                    		"var ia_vp=\"\"; \/\/ user country (possible values: 2 char coutry code, i.e. \"de\")[optional] \r\n"+
	                    		"var ia_c1=\"\"; \/\/ custom value 1 [optional] \r\n"+
	                    		"var ia_c2=\"\"; \/\/ custom value 2 [optional] \r\n"+
	                    		"var ia_c3=\"\"; \/\/ custom value 3 [optional] \r\n"+
	                    		"var ia_c4=\"\"; \/\/ custom value 4 [optional] \r\n"+
	                    		"\r\n"+
	                    		"var ia_cl=\"6393633313236323131303\";\r\n"+
	                    		"var ia_rand = Math.floor(Math.random()*11111139435231); \r\n"+
	                    		"\r\n"+
	                    		"document.write(\'<img src=\"\'+ia_tp+\'?cl=\'+ia_cl+\'&v=\'+ia_v+\'&vz=\'+ia_vz+\'&vv=\'+ia_vv+\'&po=\'+ia_po+\'&sh=\'+ia_sh+\'&nf=\'+ia_nf+\'&hr=\'+ia_hr+\'&uo=\'+ia_uo+\'&vo=\'+escape(ia_vo)+\'&tr=\'+escape(ia_tr)+\'&vp=\'+ia_vp+\'&c1=\'+ia_c1+\'&c2=\'+ia_c2+\'&c3=\'+ia_c3+\'&c4=\'+ia_c4+\'&rand=\'+ia_rand+\'\" width=\"1\" height=\"1\" alt=\"intelliAd\" \/>\');\r\n"+
	                    		"\r\n"+
	                    		"<\/script> \r\n"+
	                    		"<noscript> \r\n"+
	                    		"<img src=\"###PROTOCOLL###\/\/t23.intelliad.de\/tc.php?cl=6393633313236323131303&v=###ORDER_VALUE###&vz=sa&vv=###CURRENCY###&po=###ORDER_ID###&sh=&nf=&hr=&uo=&vo=&tr=&vp=&c1=&c2=&c3=&c4=\" width=\"1\" height=\"1\" alt=\"intelliAd\" \/> \r\n"+
	                    		"<\/noscript>\r\n"+
	                    		""
	                    }	
	                    ,
	                    // 
	                    // SEO (Krähe)
	                    // Codes Zeile 9: campaign=g-base akb
	                    // Kunden-IDs Zeile 29: akb DE
	                    {
	                    	'test' : [ [['siteid','akb','contains'],['country','DE','equal'],['campaign','g-base','startswith']] ],
	                    	'template' : 
	                    		"<script language=\"JavaScript\" type=\"text\/javascript\">\r\n"+
	                    		"\r\n"+
	                    		"var ia_tp=\"###PROTOCOLL###\/\/t23.intelliad.de\/tc.php\"; \/\/ path to intelliAd tracking script (change to https:\/\/t23.intelliad.de\/tc.php for tracking on ssl secured sites) \r\n"+
	                    		"var ia_v=\"###ORDER_VALUE###\"; \/\/ conversion value (i.e. \"2.5\") [mandatory] \r\n"+
	                    		"var ia_vz=\"sa\"; \/\/ conversion type (possible values: sale -> \"sa\", lead -> \"le\", signup -> \"si\", pageview -> \"pa\", download -> \"do\") [mandatory] \r\n"+
	                    		"var ia_vv=\"###CURRENCY###\"; \/\/ conversion currency code(ACCORDING ISO 4271 i.e. \"EUR\" or \"USD\") [optional,if not given \"EUR\" is used as default] \r\n"+
	                    		"var ia_po=\"###ORDER_ID###\"; \/\/ orderId [optional] \r\n"+
	                    		"var ia_sh=\"\"; \/\/ user age [optional] \r\n"+
	                    		"var ia_nf=\"\"; \/\/ user birth date (format: YYYYMMDD) [optional] \r\n"+
	                    		"var ia_hr=\"\"; \/\/ user gender (possible values: \"m\" or \"w\") [optional] \r\n"+
	                    		"var ia_uo=\"\"; \/\/ user zip code (5 digit zip code, i.e. \"12345\") [optional] \r\n"+
	                    		"var ia_vo=\"\"; \/\/ user city (i.e. \"Berlin\") [optional] \r\n"+
	                    		"var ia_tr=\"\"; \/\/ user region (i.e. \"Bayern\") [optional] \r\n"+
	                    		"var ia_vp=\"\"; \/\/ user country (possible values: 2 char coutry code, i.e. \"de\")[optional] \r\n"+
	                    		"var ia_c1=\"\"; \/\/ custom value 1 [optional] \r\n"+
	                    		"var ia_c2=\"\"; \/\/ custom value 2 [optional] \r\n"+
	                    		"var ia_c3=\"\"; \/\/ custom value 3 [optional] \r\n"+
	                    		"var ia_c4=\"\"; \/\/ custom value 4 [optional] \r\n"+
	                    		"\r\n"+
	                    		"var ia_cl=\"6303131313236323131303\";\r\n"+
	                    		"var ia_rand = Math.floor(Math.random()*11111139435231); \r\n"+
	                    		"\r\n"+
	                    		"document.write(\'<img src=\"\'+ia_tp+\'?cl=\'+ia_cl+\'&v=\'+ia_v+\'&vz=\'+ia_vz+\'&vv=\'+ia_vv+\'&po=\'+ia_po+\'&sh=\'+ia_sh+\'&nf=\'+ia_nf+\'&hr=\'+ia_hr+\'&uo=\'+ia_uo+\'&vo=\'+escape(ia_vo)+\'&tr=\'+escape(ia_tr)+\'&vp=\'+ia_vp+\'&c1=\'+ia_c1+\'&c2=\'+ia_c2+\'&c3=\'+ia_c3+\'&c4=\'+ia_c4+\'&rand=\'+ia_rand+\'\" width=\"1\" height=\"1\" alt=\"intelliAd\" \/>\');\r\n"+
	                    		"\r\n"+
	                    		"<\/script> \r\n"+
	                    		"<noscript> \r\n"+
	                    		"<img src=\"###PROTOCOLL###\/\/t23.intelliad.de\/tc.php?cl=6303131313236323131303&v=###ORDER_VALUE###&vz=sa&vv=###CURRENCY###&po=###ORDER_ID###&sh=&nf=&hr=&uo=&vo=&tr=&vp=&c1=&c2=&c3=&c4=\" width=\"1\" height=\"1\" alt=\"intelliAd\" \/> \r\n"+
	                    		"<\/noscript>\r\n"+
	                    		""
	                    }	
	                    ,
	                    // 
	                    // SEO (Krähe)
	                    // Codes Zeile 9: campaign=g-base western
	                    // Kunden-IDs Zeile 29: western DE
	                    {
	                    	'test' : [ [['siteid','western','contains'],['country','DE','equal'],['campaign','g-base','startswith']] ],
	                    	'template' : 
	                    		"<script language=\"JavaScript\" type=\"text\/javascript\">\r\n"+
	                    		"\r\n"+
	                    		"var ia_tp=\"###PROTOCOLL###\/\/t23.intelliad.de\/tc.php\"; \/\/ path to intelliAd tracking script (change to https:\/\/t23.intelliad.de\/tc.php for tracking on ssl secured sites) \r\n"+
	                    		"var ia_v=\"###ORDER_VALUE###\"; \/\/ conversion value (i.e. \"2.5\") [mandatory] \r\n"+
	                    		"var ia_vz=\"sa\"; \/\/ conversion type (possible values: sale -> \"sa\", lead -> \"le\", signup -> \"si\", pageview -> \"pa\", download -> \"do\") [mandatory] \r\n"+
	                    		"var ia_vv=\"###CURRENCY###\"; \/\/ conversion currency code(ACCORDING ISO 4271 i.e. \"EUR\" or \"USD\") [optional,if not given \"EUR\" is used as default] \r\n"+
	                    		"var ia_po=\"###ORDER_ID###\"; \/\/ orderId [optional] \r\n"+
	                    		"var ia_sh=\"\"; \/\/ user age [optional] \r\n"+
	                    		"var ia_nf=\"\"; \/\/ user birth date (format: YYYYMMDD) [optional] \r\n"+
	                    		"var ia_hr=\"\"; \/\/ user gender (possible values: \"m\" or \"w\") [optional] \r\n"+
	                    		"var ia_uo=\"\"; \/\/ user zip code (5 digit zip code, i.e. \"12345\") [optional] \r\n"+
	                    		"var ia_vo=\"\"; \/\/ user city (i.e. \"Berlin\") [optional] \r\n"+
	                    		"var ia_tr=\"\"; \/\/ user region (i.e. \"Bayern\") [optional] \r\n"+
	                    		"var ia_vp=\"\"; \/\/ user country (possible values: 2 char coutry code, i.e. \"de\")[optional] \r\n"+
	                    		"var ia_c1=\"\"; \/\/ custom value 1 [optional] \r\n"+
	                    		"var ia_c2=\"\"; \/\/ custom value 2 [optional] \r\n"+
	                    		"var ia_c3=\"\"; \/\/ custom value 3 [optional] \r\n"+
	                    		"var ia_c4=\"\"; \/\/ custom value 4 [optional] \r\n"+
	                    		"\r\n"+
	                    		"var ia_cl=\"7303131313236323131303\";\r\n"+
	                    		"var ia_rand = Math.floor(Math.random()*11111139435231); \r\n"+
	                    		"\r\n"+
	                    		"document.write(\'<img src=\"\'+ia_tp+\'?cl=\'+ia_cl+\'&v=\'+ia_v+\'&vz=\'+ia_vz+\'&vv=\'+ia_vv+\'&po=\'+ia_po+\'&sh=\'+ia_sh+\'&nf=\'+ia_nf+\'&hr=\'+ia_hr+\'&uo=\'+ia_uo+\'&vo=\'+escape(ia_vo)+\'&tr=\'+escape(ia_tr)+\'&vp=\'+ia_vp+\'&c1=\'+ia_c1+\'&c2=\'+ia_c2+\'&c3=\'+ia_c3+\'&c4=\'+ia_c4+\'&rand=\'+ia_rand+\'\" width=\"1\" height=\"1\" alt=\"intelliAd\" \/>\');\r\n"+
	                    		"\r\n"+
	                    		"<\/script> \r\n"+
	                    		"<noscript> \r\n"+
	                    		"<img src=\"###PROTOCOLL###\/\/t23.intelliad.de\/tc.php?cl=7303131313236323131303&v=###ORDER_VALUE###&vz=sa&vv=###CURRENCY###&po=###ORDER_ID###&sh=&nf=&hr=&uo=&vo=&tr=&vp=&c1=&c2=&c3=&c4=\" width=\"1\" height=\"1\" alt=\"intelliAd\" \/> \r\n"+
	                    		"<\/noscript>\r\n"+
	                    		""
	                    }
	                    ,
	                    // 
	                    // SEO (Krähe)
	                    // Codes Zeile 9: campaign=portale akb
	                    // Kunden-IDs Zeile 29: akb DE
	                    {
	                    	'test' : [ [['siteid','akb','contains'],['country','DE','equal'],['campaign','portale','startswith']] ],
	                    	'template' : 
	                    		"<script language=\"JavaScript\" type=\"text\/javascript\">\r\n"+
	                    		"\r\n"+
	                    		"var ia_tp=\"###PROTOCOLL###\/\/t23.intelliad.de\/tc.php\"; \/\/ path to intelliAd tracking script (change to https:\/\/t23.intelliad.de\/tc.php for tracking on ssl secured sites) \r\n"+
	                    		"var ia_v=\"###ORDER_VALUE###\"; \/\/ conversion value (i.e. \"2.5\") [mandatory] \r\n"+
	                    		"var ia_vz=\"sa\"; \/\/ conversion type (possible values: sale -> \"sa\", lead -> \"le\", signup -> \"si\", pageview -> \"pa\", download -> \"do\") [mandatory] \r\n"+
	                    		"var ia_vv=\"###CURRENCY###\"; \/\/ conversion currency code(ACCORDING ISO 4271 i.e. \"EUR\" or \"USD\") [optional,if not given \"EUR\" is used as default] \r\n"+
	                    		"var ia_po=\"###ORDER_ID###\"; \/\/ orderId [optional] \r\n"+
	                    		"var ia_sh=\"\"; \/\/ user age [optional] \r\n"+
	                    		"var ia_nf=\"\"; \/\/ user birth date (format: YYYYMMDD) [optional] \r\n"+
	                    		"var ia_hr=\"\"; \/\/ user gender (possible values: \"m\" or \"w\") [optional] \r\n"+
	                    		"var ia_uo=\"\"; \/\/ user zip code (5 digit zip code, i.e. \"12345\") [optional] \r\n"+
	                    		"var ia_vo=\"\"; \/\/ user city (i.e. \"Berlin\") [optional] \r\n"+
	                    		"var ia_tr=\"\"; \/\/ user region (i.e. \"Bayern\") [optional] \r\n"+
	                    		"var ia_vp=\"\"; \/\/ user country (possible values: 2 char coutry code, i.e. \"de\")[optional] \r\n"+
	                    		"var ia_c1=\"\"; \/\/ custom value 1 [optional] \r\n"+
	                    		"var ia_c2=\"\"; \/\/ custom value 2 [optional] \r\n"+
	                    		"var ia_c3=\"\"; \/\/ custom value 3 [optional] \r\n"+
	                    		"var ia_c4=\"\"; \/\/ custom value 4 [optional] \r\n"+
	                    		"\r\n"+
	                    		"var ia_cl=\"6303131313236323131303\";\r\n"+
	                    		"var ia_rand = Math.floor(Math.random()*11111139435231); \r\n"+
	                    		"\r\n"+
	                    		"document.write(\'<img src=\"\'+ia_tp+\'?cl=\'+ia_cl+\'&v=\'+ia_v+\'&vz=\'+ia_vz+\'&vv=\'+ia_vv+\'&po=\'+ia_po+\'&sh=\'+ia_sh+\'&nf=\'+ia_nf+\'&hr=\'+ia_hr+\'&uo=\'+ia_uo+\'&vo=\'+escape(ia_vo)+\'&tr=\'+escape(ia_tr)+\'&vp=\'+ia_vp+\'&c1=\'+ia_c1+\'&c2=\'+ia_c2+\'&c3=\'+ia_c3+\'&c4=\'+ia_c4+\'&rand=\'+ia_rand+\'\" width=\"1\" height=\"1\" alt=\"intelliAd\" \/>\');\r\n"+
	                    		"\r\n"+
	                    		"<\/script> \r\n"+
	                    		"<noscript> \r\n"+
	                    		"<img src=\"###PROTOCOLL###\/\/t23.intelliad.de\/tc.php?cl=6303131313236323131303&v=###ORDER_VALUE###&vz=sa&vv=###CURRENCY###&po=###ORDER_ID###&sh=&nf=&hr=&uo=&vo=&tr=&vp=&c1=&c2=&c3=&c4=\" width=\"1\" height=\"1\" alt=\"intelliAd\" \/> \r\n"+
	                    		"<\/noscript>\r\n"+
	                    		""
	                    }	
	                    ,
	                    // 
	                    // SEO (Krähe)
	                    // Codes Zeile 9: campaign=portale western
	                    // Kunden-IDs Zeile 29: western DE
	                    {
	                    	'test' : [ [['siteid','western','contains'],['country','DE','equal'],['campaign','portale','startswith']] ],
	                    	'template' : 
	                    		"<script language=\"JavaScript\" type=\"text\/javascript\">\r\n"+
	                    		"\r\n"+
	                    		"var ia_tp=\"###PROTOCOLL###\/\/t23.intelliad.de\/tc.php\"; \/\/ path to intelliAd tracking script (change to https:\/\/t23.intelliad.de\/tc.php for tracking on ssl secured sites) \r\n"+
	                    		"var ia_v=\"###ORDER_VALUE###\"; \/\/ conversion value (i.e. \"2.5\") [mandatory] \r\n"+
	                    		"var ia_vz=\"sa\"; \/\/ conversion type (possible values: sale -> \"sa\", lead -> \"le\", signup -> \"si\", pageview -> \"pa\", download -> \"do\") [mandatory] \r\n"+
	                    		"var ia_vv=\"###CURRENCY###\"; \/\/ conversion currency code(ACCORDING ISO 4271 i.e. \"EUR\" or \"USD\") [optional,if not given \"EUR\" is used as default] \r\n"+
	                    		"var ia_po=\"###ORDER_ID###\"; \/\/ orderId [optional] \r\n"+
	                    		"var ia_sh=\"\"; \/\/ user age [optional] \r\n"+
	                    		"var ia_nf=\"\"; \/\/ user birth date (format: YYYYMMDD) [optional] \r\n"+
	                    		"var ia_hr=\"\"; \/\/ user gender (possible values: \"m\" or \"w\") [optional] \r\n"+
	                    		"var ia_uo=\"\"; \/\/ user zip code (5 digit zip code, i.e. \"12345\") [optional] \r\n"+
	                    		"var ia_vo=\"\"; \/\/ user city (i.e. \"Berlin\") [optional] \r\n"+
	                    		"var ia_tr=\"\"; \/\/ user region (i.e. \"Bayern\") [optional] \r\n"+
	                    		"var ia_vp=\"\"; \/\/ user country (possible values: 2 char coutry code, i.e. \"de\")[optional] \r\n"+
	                    		"var ia_c1=\"\"; \/\/ custom value 1 [optional] \r\n"+
	                    		"var ia_c2=\"\"; \/\/ custom value 2 [optional] \r\n"+
	                    		"var ia_c3=\"\"; \/\/ custom value 3 [optional] \r\n"+
	                    		"var ia_c4=\"\"; \/\/ custom value 4 [optional] \r\n"+
	                    		"\r\n"+
	                    		"var ia_cl=\"7303131313236323131303\";\r\n"+
	                    		"var ia_rand = Math.floor(Math.random()*11111139435231); \r\n"+
	                    		"\r\n"+
	                    		"document.write(\'<img src=\"\'+ia_tp+\'?cl=\'+ia_cl+\'&v=\'+ia_v+\'&vz=\'+ia_vz+\'&vv=\'+ia_vv+\'&po=\'+ia_po+\'&sh=\'+ia_sh+\'&nf=\'+ia_nf+\'&hr=\'+ia_hr+\'&uo=\'+ia_uo+\'&vo=\'+escape(ia_vo)+\'&tr=\'+escape(ia_tr)+\'&vp=\'+ia_vp+\'&c1=\'+ia_c1+\'&c2=\'+ia_c2+\'&c3=\'+ia_c3+\'&c4=\'+ia_c4+\'&rand=\'+ia_rand+\'\" width=\"1\" height=\"1\" alt=\"intelliAd\" \/>\');\r\n"+
	                    		"\r\n"+
	                    		"<\/script> \r\n"+
	                    		"<noscript> \r\n"+
	                    		"<img src=\"###PROTOCOLL###\/\/t23.intelliad.de\/tc.php?cl=7303131313236323131303&v=###ORDER_VALUE###&vz=sa&vv=###CURRENCY###&po=###ORDER_ID###&sh=&nf=&hr=&uo=&vo=&tr=&vp=&c1=&c2=&c3=&c4=\" width=\"1\" height=\"1\" alt=\"intelliAd\" \/> \r\n"+
	                    		"<\/noscript>\r\n"+
	                    		""
	                    }
	                    ];

	var readCookie = function(cookieName) {
		var allCookies = document.cookie.split(";");
		for (var i=0; i<allCookies.length; i++) {
			var thiscookie = allCookies[i];
			if (thiscookie.charAt(0) == ' ')
				thiscookie = thiscookie.substr(1);
			if (thiscookie.substr(0, cookieName.length) == cookieName) {
				var pos = thiscookie.indexOf("=");
				if (pos<0)
					continue;
				return thiscookie.substring(pos+1);
			}
		}
		return null;
	}

	var emosDecode = function(s) {
		try {
			if (window.decodeURIComponent) {
				try{
					s= window.decodeURIComponent(s);
				}catch(e1) {
					s= window.unescape(s); 
				}
			}
			else
				s= window.unescape(s); 
		}
		catch(e){}
		return s;
	}

	var string2Properties = function(cookieValue) {
		var splitted = cookieValue.split("&");
		var properties = {};
		for (var j=0; j<splitted.length; j++) {
			var paraValue = splitted[j].split("=");
			properties[paraValue[0]] = emosDecode(paraValue[1]).toLowerCase();
		} 
		return properties;
	}


	var getCookieProperties = function() {
		var cookieValue = readCookie(COOKIENAME_CAMPAIGN);
		if (cookieValue && cookieValue.length>0) {
			return string2Properties(cookieValue);		
		} 
		return {};
	}

	var doTest = function(rule) {
		for (var j=0; j<rule.length;j++) {
			var testParam = rule[j][0].toLowerCase();
			var testValue = rule[j][1].toLowerCase();
			var testMethod = rule[j][2].toLowerCase();
			var propValue = props[testParam];
			if (typeof propValue == 'string') 
				propValue = propValue.toLowerCase();
			else
				propValue = '';
			if (testMethod == 'equal') {
				if (propValue != testValue)
					return false;
			} else if (testMethod == 'startswith') {
				if (propValue.indexOf(testValue)!=0) {
					return false;
				}
			} else if (testMethod == 'endswith') {
				if (propValue.lastIndexOf(testValue) != propValue.length-testValue.length) {
					return false;
				}
			} else if (testMethod == 'contains') {
				if (propValue.indexOf(testValue)<0) {
					return false;
				}
			} else {
				alert('not allowd: testMethod=' + testMethod);
				return false;
			}
		}
		return true;
	}

	var doRules = function(props, rules){
		for (var r=0; r<rules.length;r++) {
			if (doTest(rules[r])) {
				// a rule matched
				return true;
			}
		}
		// no rule matched
		return false;
	}

	var getTemplate = function(props, config){
		if (props==null)
			return;
		for (var i=0; i<switchConfig.length;i++){
			var item = switchConfig[i];
			if (doRules(props, item.test))
				return item.template;
		}
		return null;
	}
	var intString = function(f) {
		var int = f.toString();
		var point = int.indexOf('.');
		if (point >= 0)
			int = int.substring(0, point);
		return int;
	}
	var format100 = function(s) {
		var f100 = s;
		while (f100.length < 3)
			f100 = '0'+f100;
		f100 = f100.substring(0,f100.length-2)+'.'+f100.substring(f100.length-2, f100.length);
		return f100;
	}
	// end helper

	var error = '';
	var amount = null;
	var orderId = null;
	var currency = null;
	var cent = false;
	var additionalProps = window.emosAffComm_Properties;
	var secure = (window.location.protocol == "https:") ? true : false;
	var belboonKey = window.emosAffComm_k_belboon;
	var zanoxKey = null;
	var amountBrutto = null;
	var centBrutto = null;

	// Check of input
	if (typeof window.emosAffComm_OrderId == 'undefined') {
		error += 'window.emosAffComm_OrderId missing; '; 
	} else {
		orderId = window.emosAffComm_OrderId;
	}

	//Amount netto
	if (typeof window.emosAffComm_OrderAmountCent != 'undefined') {
		cent = true;
		if (typeof window.emosAffComm_OrderAmountCent != 'number') {
			try {
				amount = parseFloat(window.emosAffComm_OrderAmountCent.replace(/,/g, '.'));
			} catch (e) {
				error += 'cannot parse window.emosAffComm_OrderAmountCent='+window.emosAffComm_OrderAmountCent+': '+e;
				amount = null;
			}
		}
		else {
			amount = window.emosAffComm_OrderAmountCent;
		}
	}
	if (typeof window.emosAffComm_OrderAmount == 'undefined') {
		if (!cent)
			error += 'window.emosAffComm_OrderAmount missing; '; 
	}  
	else {
		cent = false;
		if (typeof window.emosAffComm_OrderAmount != 'number') {
			try {
				amount = parseFloat(window.emosAffComm_OrderAmount.replace(/,/g, '.'));
			} catch (e) {
				error += 'cannot parse window.emosAffComm_OrderAmount='+window.emosAffComm_OrderAmount+': '+e;
				amount = null;
			}
		} else {
			amount = window.emosAffComm_OrderAmount;
		}
	}	

	//Amount brutto
	if (typeof window.emosAffComm_OrderAmountCentBrutto != 'undefined') {
		centBrutto = true;
		if (typeof window.emosAffComm_OrderAmountCentBrutto != 'number') {
			try {
				amountBrutto = parseFloat(window.emosAffComm_OrderAmountCentBrutto.replace(/,/g, '.'));
			} catch (e) {
				error += 'cannot parse window.emosAffComm_OrderAmountCentBrutto='+window.emosAffComm_OrderAmountCentBrutto+': '+e;
				amountBrutto = null;
			}
		}
		else {
			amountBrutto = window.emosAffComm_OrderAmountCentBrutto;
		}
	}
	if (typeof window.emosAffComm_OrderAmountBrutto == 'undefined') {
		if (!centBrutto)
			amountBrutto = null; 
	}  
	else {
		centBrutto = false;
		if (typeof window.emosAffComm_OrderAmountBrutto != 'number') {
			try {
				amountBrutto = parseFloat(window.emosAffComm_OrderAmountBrutto.replace(/,/g, '.'));
			} catch (e) {
				amountBrutto = null;
			}
		} else {
			amountBrutto = window.emosAffComm_OrderAmountBrutto;
		}
	}



	if (typeof window.emosAffComm_OrderCurrency == 'undefined') {
		currency = 'EUR'; 
	} else {
		currency = window.emosAffComm_OrderCurrency;
	}

	//zanox param check
	if(typeof window.emosAffComm_k_zanox == 'undefined') {
		zanoxKey = '';
	} else {
		zanoxKey = window.emosAffComm_k_zanox;
	}

	if (typeof window.emosAffComm_Properties == 'undefined') {
		additionalProps = {};
	}
	else if (typeof window.emosAffComm_Properties == 'object') {
		additionalProps = window.emosAffComm_Properties;
	} else {
		additionalProps = {};
		error += 'window.emosAffComm_Properties has wrong type; '; 
	}

	// generating result
	var result = '';
	if (error.length > 0) {
		result += '<!-- ' + error + ' -->\r\n';
	}

	// read cookie
	var props = getCookieProperties();
	// overwrite with emosAffComm_Properties
	for (var key in additionalProps)
		props[key] = additionalProps[key];

	if (amount != null && orderId != null && currency != null) {
		// all input present and correct 
		if (!cent) {
			amount *= 100;
		}

		if(amountBrutto == null){
			amountBrutto = 0;
		}
		if (!centBrutto) {
			amountBrutto *= 100;
		}


		// get template 
		var template = getTemplate(props);

		if (template) {
			// zuerst URL-Parameter
			var strCent = intString(amount);
			var strNotCent = format100(strCent);
			var strCentBrutto = intString(amountBrutto);
			var strNotCentBrutto = format100(strCentBrutto);

			template = template.replace(/=###ORDER_ID###/g, '='+encodeURIComponent(orderId));
			template = template.replace(/=###ORDER_VALUE_CENT###/g, '='+encodeURIComponent(strCent));
			template = template.replace(/=###ORDER_VALUE###/g, '='+encodeURIComponent(strNotCent));
			template = template.replace(/=###ORDER_VALUE_CENT_BRUTTO###/g, '='+encodeURIComponent(strCentBrutto));
			template = template.replace(/=###ORDER_VALUE_BRUTTO###/g, '='+encodeURIComponent(strNotCentBrutto));
			template = template.replace(/=###CURRENCY###/g, '='+encodeURIComponent(currency));

			template = template.replace(/=\[\[###ORDER_ID###/g, '=[['+encodeURIComponent(orderId));
			template = template.replace(/=\[\[###ORDER_VALUE_CENT###/g, '=[['+encodeURIComponent(strCent));
			template = template.replace(/=\[\[###ORDER_VALUE###/g, '=[['+encodeURIComponent(strNotCent));
			template = template.replace(/=\[\[###ORDER_VALUE_CENT_BRUTTO###/g, '=[['+encodeURIComponent(strCentBrutto));
			template = template.replace(/=\[\[###ORDER_VALUE_BRUTTO###/g, '=[['+encodeURIComponent(strNotCentBrutto));
			template = template.replace(/=\[\[###CURRENCY###/g, '=[['+encodeURIComponent(currency));

			template = template.replace(/=\[###ORDER_ID###/g, '=['+encodeURIComponent(orderId));
			template = template.replace(/=\[###ORDER_VALUE_CENT###/g, '=['+encodeURIComponent(strCent));
			template = template.replace(/=\[###ORDER_VALUE###/g, '=['+encodeURIComponent(strNotCent));
			template = template.replace(/=\[###ORDER_VALUE_CENT_BRUTTO###/g, '=['+encodeURIComponent(strCentBrutto));
			template = template.replace(/=\[###ORDER_VALUE_BRUTTO###/g, '=['+encodeURIComponent(strNotCentBrutto));
			template = template.replace(/=\[###CURRENCY###/g, '=['+encodeURIComponent(currency));

			template = template.replace(/###ORDER_ID###/g, orderId);
			template = template.replace(/###ORDER_VALUE_CENT###/g, strCent);
			template = template.replace(/###ORDER_VALUE###/g, strNotCent);
			template = template.replace(/###ORDER_VALUE_CENT_BRUTTO###/g, strCentBrutto);
			template = template.replace(/###ORDER_VALUE_BRUTTO###/g, strNotCentBrutto);
			template = template.replace(/###CURRENCY###/g, currency);
			if (typeof additionalProps['OrderAmountCH'] != 'undefined') {
				template = template.replace(/###OrderAmountCH###/g, additionalProps['OrderAmountCH']);	
			}
			else {
				template = template.replace(/###OrderAmountCH###/g, '');	
			}

			if (belboonKey) {
				template = template.replace(/###K_BELBOON###/g, belboonKey);
			}
			if (zanoxKey || zanoxKey == '') {
				template = template.replace(/###K_ZANOX###/g, zanoxKey);
			}
			if (secure) {
				template = template.replace(/###PROTOCOLL###/g, "https:");
			} 
			else {
				template = template.replace(/###PROTOCOLL###/g, "http:");
			}
			result += template;
		} else {
			error += 'no rule matched!';
		}

	}

	// finished
	if (window.emosAffComm_DEBUG) {
		if (error.length > 0)
			alert("ERROR: "+error);
		var strProps = "";
		for (var key in props)
			strProps += "'"+key+"'='"+props[key]+"',";
		alert (strProps + "=> \r\n" + result);
	}
	else
		document.write(result);
})();

