/*
	script:  sap expert - js - two tracker gatc header
	author:  eric uhe
	version: 10.28.2010 - 10.28.2010
*/

//PropertyIDs.  
//main is for roll-up profile; 
//secondary is for pub-specific profile;
var main_property_id = 'UA-21568010-1';			//change to propertyID of roll-up profile
var secondary_property_id = 'UA-21568010-4';	//change to propertyID of site (or domain) profile

//Event tracking.
//the number of milliseconds to wait before handling
//an event tracking click. 100 is optimal, max <= 250 
var event_track_lag_milliseconds = 100;			//leave as-is unless sub-optimal behavior noted

//Custom Variables 
//For segmentation.  Must be 2-dimensional array, even if only one member; *or*:
//Set to null to suppress computation of custom variables.
//All parameters passed by position.  
/*
parameters
index       int 	Required. The slot used for the custom variable. Possible values are 1-5, inclusive.
name        string	Required. The name for the custom variable.
value       string	Required. The value for the custom variable.
opt_scope   int		Optional. The scope used for the custom variable. Possible values are 1 for visitor-level, 2 for session-level, and 3 for page-level.
e.g.:
var customVariable = [[1, 'MemberLevel', '<generatedValue>', 1]];
*/
var customVariable = null;
/* 	or, if not pasting the code directly on a page or in another partial or template,
	paste it here like this: 

		var customVariable = [[1, 'MemberLevel', '<cfif w_u_session_id is not "">subscriber<cfelse>anonymous</cfif>', 1]];

	the <cfif> statements are inline ColdFusion markup that sniff whether a user is logged in.  replace
	with platform-specific code.

*/

//eCommerce flag.
//If false, eCommerce is not computed.
//If true then *transaction* and *items* must be computed on server.
//Can be generated server-side.
var eCommercePage = false;

//eCommerce Variables.
//See doc.  All parameters passed by position.  
var transaction = [];
var items = [[]];
