function get_browser_cookie(Name) {
		  var search = Name + "=";
		  var returnvalue = "";
		  if (document.cookie.length > 0) {
		    offset = document.cookie.indexOf(search)
		    if (offset != -1) { // if cookie exists
			 offset += search.length
			 // set index of beginning of value
			 end = document.cookie.indexOf(";", offset);
			 // set index of end of cookie value
			 if (end == -1)
			    end = document.cookie.length;
			 returnvalue=unescape(document.cookie.substring(offset, end))
			 }
		   }
		  return returnvalue;
		}

		function openForgottenPass(){
			bodyWin = window.open("ag_content.forgotten_pass_popup","ForgottenPassword", "toolbar=no,status=no,scrollbars=yes,resizable=yes,width=450,height=400, left=100px, top=100px, leftmargin=0 topmargin=0 marginwidth=0 marginheight=0");
		}

		var browser = navigator.appName;
		var cookie_val = get_browser_cookie('browsertype');

		if (browser.indexOf("Netscape") >=0)
			{
				if (cookie_val != 1)

					bodyWin = window.open("!ag_content.browser_popup","Browser", "toolbar=no,status=no,scrollbars=yes,resizable=yes,width=350,height=250, left=100px,  top=100px,   leftmargin=0 topmargin=0 marginwidth=0 marginheight=0");
					document.cookie="browsertype=1; path=/;";
			}
