/*	SONY | SONY STYLE.COM - Omniture utility functions
 *	Author(s): 	Branden Thompson	| Front End Architect , Branden.Thompson at am dot sony dot com
 *				Jonathan Cheung 	| Sr. Flash Developer , Jonathan.Cheung at am dot sony dot com
 *
 *	Date:		May 8, 2009
 *
 *	JS FILE PRE-CONDITIONS:
 *	-------------------------------------------------------------------------------------------------
 *
 *		- s_code.js(Omniture) must be included before this .js (or included functions) is referenced.
 *		
 *
 *
 *	FUNCTIONALITY THAT THIS JS WILL PROVIDE
 *	-------------------------------------------------------------------------------------------------
 *	
 *	
 *	
*/


var OmnitureUtils = {
	trackNewsLetters: function (element){
		// This function is copied from the current registration page.
		if (element.checked) {
			clearOmniture(s);   // <-- BRT 5.27.09 - Jony: Should clearOmniture be here?  Wouldn't this clear out all of our other (s) variables?
			s=s_gi(s_account);
			s.linkTrackVars="events";
			s.linkTrackEvents="event10";
			s.events="event10";
			s.tl(this,'o','Newsletters');
		}	
	}

}
