<script type="text/javascript">
function readCookie(name) { // function to read cookie
var nameRegex = RegExp("(?:; |^)" + name + "=([^;]+)");
nameValue = nameRegex.exec(document.cookie);
if(nameValue) {
return nameValue[1];
} else {
return null;
}
}
</script>
<script type="text/javascript">
(function () {
try {
_gaq.push(['gwo._setAccount', 'UA-XXXXXXX-Y']);
var utmx = readCookie("__utmx");
var pieces = utmx.split(/(?:^|:)[^.]*(?:\.|$)/);
for (i = 0; i
< pieces.length; i += 1) {
if (pieces[i]) {
_gaq.push(['gwo._trackPageview', '/' + pieces[i].substring(10) + '/goal']);
}
}
} catch (err) { }
})();
(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);
})();
</script>