var utmMan = {
	
	init: function () {
		if (typeof(urchinTracker) == 'undefined') {
			// If the Adblocker bocked the default JS use a local file
			this.load();
		}
		
		var baseURL	= $$('base')[0].getProperty('href');
		switch(baseURL) {
			
			case "http://www.hoeren-sehen-schmecken.net/":
				// www.hoeren-sehen-schmecken.net + grafik@cocoonclub.net
				_uacct = "UA-2257517-6";
				break;
				
			case "http://www.cocoonclubcard.de/":
				// www.cocoonclubcard.de + grafik@cocoonclub.net
				_uacct = "UA-2257517-8";
				break;
				
			case "http://www.cocoon.dev.dkd.de/":
				// www.cocoon.dev.dkd.de + grafik@cocoonclub.net
				_uacct = "UA-1420041-2"; 
				break;
				
			case "http://www.cocoonclub-corporate-event.de/":
				// www.cocoonclub-corporate-event.de + grafik@cocoonclub.net
				_uacct = "UA-2257517-10"; 
				break;
				
			default:
				// www.hoeren-sehen-schmecken.net + grafik@cocoonclub.net
				_uacct = "UA-2257517-6"; 
				break;
			
		}
		
		if (typeof(urchinTracker) == 'function') {
			// Init the Google Analytics Tracker
			urchinTracker();
		}
		
	},
	
	load: function () {
		mainObj.assetLoader("js","/fileadmin/scripts/utm/urchin.js"); // Load the main Urchin Tracking Manager
		var _ugifpath = "/fileadmin/scripts/utm/__utm.gif"; // Set the web path to the __utm.gif Tracking file
	},
	
	track: function (url) {
		if (url.substr(0, 1) != "/") {
			// Add a Start-Slash to the URL, if needed
			url = "/" + url;
		}
		if (typeof(urchinTracker) == 'function') {
			// Comit the URL to the Google Analytics Tracker
			urchinTracker(url);
		}
		// this.trace(url); // Debug ...
	},
	
	trace: function (url){
		console.log("Google Analytics tracked: %o", url);				// Trace the tracked URL
	}
	
};