<!--
	function openNewWindow(URLtoOpen, windowName, windowFeatures) {
		newWindow=window.open(URLtoOpen, windowName, windowFeatures);
	}
	TTL=365;
	// This function returns the value of the attsecregcookie
	function attgovreg() {
		var cookiecontent = '0';
		if(document.cookie.length > 0) {
			var cookiename = 'attgovg01' + '=';
			var cookiebegin = document.cookie.indexOf(cookiename);
			var cookieend = 0;
			if(cookiebegin > -1) {
				cookiebegin += cookiename.length;
				cookieend = document.cookie.indexOf(";",cookiebegin);
				if(cookieend < cookiebegin) { cookieend = document.cookie.length; }
				cookiecontent = document.cookie.substring(cookiebegin,cookieend);
			}
		}
		var value = parseInt(cookiecontent);
		if(!value){
			if(document.cookie.length > 0) {
				var cookiename = ' attgovgreg01' + '=';
				var cookiebegin = document.cookie.indexOf(cookiename);
				var cookieend = 0;
				if(cookiebegin > -1) {
					cookiebegin += cookiename.length;
					cookieend = document.cookie.indexOf(";",cookiebegin);
					if(cookieend < cookiebegin) { cookieend = document.cookie.length; }
					cookiecontent = document.cookie.substring(cookiebegin,cookieend);
				}
			}
		}
		var value = parseInt(cookiecontent);
		return value;
	}
	// This function calls the store cookie function
	function attgovregput(b){
		var value=b;
		PutCookie('attgovg01',value);
	}
	function PutCookie(n,v) {
		var exp = '';
		if(TTL>0) {
			var now = new Date();
			then=now.getTime()+(TTL*24*60*60*1000);
			now.setTime(then);
			exp='; expires=' +
			now.toGMTString();
		}
		document.cookie=n+"="+v+'; path=/'+exp;
	}
// -->	