miniOLPackWidth = "600"
LargerOffsetDropDownTFW = 41;

//Google analytics actual tracking calls
	ExecuteGoogleAnalytics()

	

var URL = new String(window.location);

//section pour Purchase

function CallPurchaseGA()
{
	//Get the price
	bodyHTML = document.body.innerHTML
	subposition = bodyHTML.indexOf("total price :")
	firstsplit = bodyHTML.substring(subposition+135, subposition+150)
	price = firstsplit.substring(0,firstsplit.indexOf("&"))
	finalprice = price.replace(",", "")
	
	// Google Conversion Code 

	google_conversion_id = 1070514456;
	google_conversion_language = "en_US";
	google_conversion_format = "2";
	google_conversion_color = "FFFFFF";
	if (1) {
	   google_conversion_value = finalprice;
	}
	google_conversion_label = "Purchase";
	
	document.write('<scr' + 'ipt language="JavaScript" src="https://www.googleadservices.com/pagead/conversion.js">' + '<\/script>')
	document.write('<noscript>')
	document.write('<img height=1 width=1 border=0 src="https://www.googleadservices.com/pagead/conversion/1070514456/?value=1&label=Purchase&script=0">')
	document.write('</noscript>')
}

//section pour login

function CallLoginGA()
{
	
	// Google Conversion Code 

	google_conversion_id = 1070514456;
	google_conversion_language = "en_US";
	google_conversion_format = "2";
	google_conversion_color = "FFFFFF";
	google_conversion_label = "Lead";
	
	document.write('<scr' + 'ipt language="JavaScript" src="https://www.googleadservices.com/pagead/conversion.js">' + '<\/script>')
	document.write('<noscript>')
	document.write('<img height=1 width=1 border=0 src="https://www.googleadservices.com/pagead/conversion/1070514456/?value=1&label=Lead&script=0">')
	document.write('</noscript>')
}

// section pour la facture

/*if (URL.indexOf("/Receipt/") != -1)
{
	__utmSetTrans();
	
}*/