/*-------------------------------------------*/
/* Updated : 2011-06-17 Andre Riverin        */
/* - Added if condition to avoid double      */
/*  execution from TagDfpEngine.js in head   */
/*-------------------------------------------*/
/*-------------------------------------------*/
/* Updated : 2011-03-29 Andre Riverin        */
/* - Removal of Omniture code                */
/* - Implantation of GA global code          */
/*-------------------------------------------*/

// Test to avoid this script to run twice in the same page
if (typeof _GA_actualSite == 'undefined') {
	// Code Google Analytics (global for Canoe)
	var _gaq = _gaq || [];
	_gaq.push(['globalTracker._setAccount', 'UA-21910987-1']);
	_gaq.push(['globalTracker._setDomainName', 'none']);
	_gaq.push(['globalTracker._setAllowLinker', true]);
	_gaq.push(['globalTracker._trackPageview']);
 
	(function() {
	var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
	ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
	var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	})();

	//comscore begins
	var __cs_c1 = 2;
	var __cs_c2 = "3005667";
	var __cs_c3 = "3005667";
	var __cs_c4 = escape(window.location.href);
	//var __cs_c5 = s.prop22;
	var __cs_c5 = "";
	var __cs_c6 = "";
	var __cs_c15 = "";
	var __cs_params = ["c1=", __cs_c1, "&c2=", __cs_c2, "&c3=", __cs_c3, "&c4=", __cs_c4, "&c5=", __cs_c5, "&c6=",
	__cs_c6, "&c15=", __cs_c15].join('');
	document.write(unescape("%3Cscript src='" + (document.location.protocol == "https:" ? "https://sb" : "http://b") +
	".scorecardresearch.com/beacon.js?" + __cs_params +"' %3E%3C/script%3E"));
	//comscore ends
}

/*
STUBBING
Old Omnitures functions that could be called directly
in the HTML page (other that TagOmnitureEngine.js)
*/

function TrackPhotoAlbum(albumID,picID) {
// STUBBED
}
function ButtonClick(buttonName) {
// STUBBED
} 

/*	Plugin by Clement to track ViewImages 04-22-08
 */
	function slideViewOnClick(albumID,picID)
	   {
// STUBBED
	   }
// For when the click to change the image doesn't count as a page view. not in use
	function slideViewOnClick2(albumID,picID)
	   {
// STUBBED
	   }	   
	
function ButtonClickSingleAccount(buttonName,account)
	   {
// STUBBED
	   } 	   

  
function GetPath (strdele) {
// STUBBED
}

function FormatHier5(strdele) {
// STUBBED
}


function FormatHierarchy( roothier, endhier )
{
// STUBBED
}

function isDev() {
// STUBBED
}	

function IncrementPV()
	   {
// STUBBED
	   }
function checkhomepage(obj) {
// STUBBED
}

function slideViewAutoPlay(albumID,picID)
	   {
// STUBBED
	   }
function slideViewSingleAccount(albumID,picID,account)
	   {
// STUBBED
	   }	   

