/****************************************************** 
-Submit events to GA based on the page we're on.         
-ALL PAGE NAMES IN THIS SECTION NEED TO BE lowercase. 
-Category and Action should be variable names from http://www.mediapeta.com/scripts/googleAnalytics/global/ga_constants.js. 
-Label should be what requestor provided (in single quotes).
_gaq.push(['_trackEvent', Category, Action, 'Label']); 
******************************************************/ 

//Get the current page's URL and convert it to lowercase.
var currentPage = window.location.toString().toLowerCase();

//Check to see if currentPage matches a given URL and submit a GA Event if it does.
if (currentPage.indexOf('index.asp') > 0) {
	_gaq.push(['_trackEvent', petaGA_FormCategory_TakeAction, petaGA_FormAction_Initiated, 'Pink KFC Petition']);
}
else if (currentPage.indexOf('g-pinkpetition.asp') > 0) {
	_gaq.push(['_trackEvent', petaGA_FormCategory_TakeAction, petaGA_FormAction_Initiated, 'Pink KFC Petition']);
}
else if (currentPage.indexOf('g-pinkpetition-ty.asp') > 0) {
	if (currentPage.indexOf('?fbsc=1') > 0)	{
		_gaq.push(['_trackEvent', petaGA_FormCategory_ForwardToAFriend, petaGA_FormAction_Submitted, 'Pink KFC Petition']);
	}
	else {
		_gaq.push(['_trackEvent', petaGA_FormCategory_TakeAction, petaGA_FormAction_Submitted, 'Pink KFC Petition']);
	}
}
else if (currentPage.indexOf('g-pinkpetition-fwd.asp') > 0) {
	_gaq.push(['_trackEvent', petaGA_FormCategory_ForwardToAFriend, petaGA_FormAction_Initiated, 'Pink KFC Petition']);
}
else if (currentPage.indexOf('forward.asp') > 0) {
	_gaq.push(['_trackEvent', petaGA_FormCategory_ForwardToAFriend, petaGA_FormAction_Initiated, 'KFC Site Forward']);
}
else if (currentPage.indexOf('forward-ty.asp') > 0) {
	_gaq.push(['_trackEvent', petaGA_FormCategory_ForwardToAFriend, petaGA_FormAction_Submitted, 'KFC Site Forward']);
}
else if (currentPage.indexOf('g-vskorderform.asp') > 0) {
	_gaq.push(['_trackEvent', petaGA_FormCategory_Pack, petaGA_FormAction_Initiated, 'KFC VSK Order Form']);
}
else if (currentPage.indexOf('g-vskorderform-ty.asp') > 0) {
	_gaq.push(['_trackEvent', petaGA_FormCategory_Pack, petaGA_FormAction_Submitted, 'KFC VSK Order Form']);
}
else if (currentPage.indexOf('g-demoform.asp') > 0) {
	_gaq.push(['_trackEvent', petaGA_FormCategory_Volunteer, petaGA_FormAction_Initiated, 'Pink KFC Demo Organize']);
}
else if (currentPage.indexOf('g-demoform-ty.asp') > 0) {
	_gaq.push(['_trackEvent', petaGA_FormCategory_Volunteer, petaGA_FormAction_Submitted, 'Pink KFC Demo Organize']);
}
else if (currentPage.indexOf('g-tell_us.asp') > 0) {
	_gaq.push(['_trackEvent', petaGA_FormCategory_Feedback, petaGA_FormAction_Initiated, 'Pink KFC Demo Feedback']);
}
else if (currentPage.indexOf('g-tell_us_ty.asp') > 0) {
	_gaq.push(['_trackEvent', petaGA_FormCategory_Feedback, petaGA_FormAction_Submitted, 'Pink KFC Demo Feedback']);
}
else if (currentPage.indexOf('superchicksisters/share.asp') > 0) {
	_gaq.push(['_trackEvent', petaGA_FormCategory_ForwardToAFriend, petaGA_FormAction_Initiated, 'KFC Super Chick Sisters Game']);
}
else if (currentPage.indexOf('superchicksisters/share-ty.asp') > 0) {
	_gaq.push(['_trackEvent', petaGA_FormCategory_ForwardToAFriend, petaGA_FormAction_Submitted, 'KFC Super Chick Sisters Game']);
}
