			
// Setup Google Analytics
_uacct = "UA-1909142-2"; // Google account and website profile number
_udn="breatheeasynow.com.au"; // Allows tracking of subdomains in single profile


 
// The following 2 includes should be added to all pages that need use the Google Analytics
//<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
//<script src="includes/google-analytics.js" type="text/javascript"></script>

/**
 * Logs a tracking event to google analytics
 * 
 * @requirements Google Analytics JS code must be registered to the HTML page containing the flash
 * 
 * @author Marcus van Malsen
 * 
 * @param pageId : A string id that describes the pages location split by forward slashes
 * It must start with a forward slash "/", but not end with slash
 *  e.g. "/about/contact/details".
 *  
 * @param type : A string that describes the type of event.
 *  Possible values "impression" logs as a page impression, "click" logs a user click, default is "impression"
 *  
 * @param description : Not yet defined.
 *  
 * @param comments : Not yet defined.
 *  
 * @param configuration : Not yet defined.
 */

function RC_AnalyticsTrack(pageId, type, description, comments, configuration) {
		
		//alert("RC_AnalyticsTrack("+pageId+", "+type+", "+description+", "+comments+", "+configuration+")");
		
		// Setup defaults
		
		pageId = (pageId == undefined ? undefined : pageId);
		type = (type == undefined ? "impression" : type);
		description = (description == undefined ? "" : description);
		comments = (comments == undefined ? "" : comments);
		configuration = (configuration == undefined ? "" : configuration);
		
		var trackCode = "";
		
		trackCode = pageId;
		
		urchinTracker(trackCode);
		
}

//uchinTracker();
RC_AnalyticsTrack();
