var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-845674-13']);
_gaq.push(['_setDomainName', '.netflights.com']);

// custom variables 
if(window.location.href.indexOf("flights.aspx") != -1)
{
	_gaq.push(['_setCustomVar',1,'Product Type','Flights',2 ]);
}
else if(window.location.href.indexOf("hotels.aspx") != -1)
{
	_gaq.push(['_setCustomVar',1,'Product Type','Hotels',2 ]); 
}
else if(window.location.href.indexOf("car-hire.aspx") != -1)
{
	_gaq.push(['_setCustomVar',1,'Product Type','Car-Hire',2 ]);
}
else if(window.location.href.indexOf("holidays.aspx") != -1)
{
	_gaq.push(['_setCustomVar',1,'Product Type','Holidays',2 ]);
}

_gaq.push(['_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);
})();

