
function Chatpopup() { 
	window.open("/support/chat/", "Chat", "resizeable=yes,scrollbars=no,height=650,width=520"); 
	} 

function ChatpopupAU() { 
	window.open("/au/support/chat/", "Chat", "resizeable=yes,scrollbars=no,height=650,width=520"); 
	} 

function makeWin(url) {
	leftPos = 0	
	if (screen) {
		leftPos = screen.width-450
	}
	newWin = window.open(url,'servers','width=400,height=400,scrollbars=yes,toolbar=no,resizable=yes,left='+leftPos+',top=0')
	newWin.focus()
	}

function linkPopUp(url) {
	var scrWidth = parseInt(screen.width/1.035);
	var scrHeight = parseInt(screen.height/1.35);
	var winWidth = 800;
	var winHeight = 550;
	
	if (scrWidth <= winWidth) {
		winWidth = scrWidth;
		var winLeft = 0;
	} else {
		var winLeft = parseInt((scrWidth - winWidth)/2);
	}
	
	if (scrHeight <= winHeight) {
		winHeight = scrHeight;
		var winTop = 0;
	} else {
		var winTop = scrHeight - winHeight;
		}
		popupWin = window.open(url, 'pdfWin', 'width=' + winWidth + ',height=' + winHeight + ',top=' + winTop + ',left=' + winLeft + ',screenY=' + winTop + ',screenX=' + winLeft + ',resizable,scrollbars,location,menubar,toolbar');
	popupWin.focus();
	}
	
function underline(id, state) {
	elm = document.getElementById(id);
		if (state == 1) {
			elm.style.color = "#F37121";
			}
		else {
			elm.style.color = "";
		}
	
	}	

/*
Google Analytics
*/

var _gaq = _gaq || [];
	_gaq.push(['_setAccount', 'UA-295855-18']);
	_gaq.push(['_setDomainName', '.geotrust.com']);
	_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);
})();