/**
 * Method retrieving Omniture configuration variable(s)
 *
 * @param property Name of variable to retrieve values for (optional)
 */
function getOmnitureData( property ) {
	
	// Check if we need to retrieve all Omniture configuration
	// variables or only the value of a specific one
	if( property == undefined ) 
	{
		var objectArray = new Array();
		
		// Set account variable explicitly
		objectArray.push( new Array( "account", s_account ) );			
		
		// Loop all variables of s_code object and get its values
		for( var attribute in s )
		{
			// Filter out functions and objects
			if( ( typeof s[attribute] != "function" ) && 
				( typeof s[attribute] != "object" ) )
			{
				objectArray.push( new Array( attribute, s[attribute] ) );				
			}
		}
		return objectArray;
	}
	else 
	{
		// Retrieve value of a specific variable
		return s[property];
	}
}
