/**
 * Add tofavorite
 * @return
 */
function googleAnalyticsAddtoFavorite(productName,googleAnalystId)
{

	 var _gaq = _gaq || [];
	  _gaq.push(['_setAccount', googleAnalystId]);
	  _gaq.push(['_setCustomVar',
	      2,                   		// This custom var is set to slot #2.  Required parameter.
	      'FavoriteProduct',     			// The name acts as a kind of category for the user activity.  Required parameter.
	      productName,    // This value of the custom variable.  Required parameter.
	      3                    		// Sets the scope to session-level.  Optional parameter.
	   ]);
	    _gaq.push(['_trackPageview']);
	  

	
}

/**
 * This function use to addCart
 * @return
 */

function googleAnalyticsAddtoCart(productName,googleAnalystId){
	
	
	 var _gaq = _gaq || [];
	  _gaq.push(['_setAccount', googleAnalystId]);
	  _gaq.push(['_setCustomVar',
	      3,                   		// This custom var is set to slot #3.  Required parameter.
	      'CartProduct',     			// The name acts as a kind of category for the user activity.  Required parameter.
	      productName,    // This value of the custom variable.  Required parameter.
	      3                    		// Sets the scope to session-level.  Optional parameter.
	   ]);
	    _gaq.push(['_trackPageview']);
}
//End

