<!--
	var BrowserVersion = parseFloat(navigator.appVersion);
	ie4x = (navigator.appName == "Microsoft Internet Explorer")&&(BrowserVersion >=4);
	ns4x = (navigator.appName == "Netscape")&&(BrowserVersion >=4);
	isMac = (navigator.appVersion.indexOf("Mac") != -1);
	if(ie4x)
		document.write('<link type="text/css" rel="stylesheet" href="/css/default/style.css">');
	else if(isMac)
		document.write('<link type="text/css" rel="stylesheet" href="/css/default/styleMac.css">');
	else
		document.write('<link type="text/css" rel="stylesheet" href="/css/default/styleNN.css">');

	// ***********************************
	// ***** IMPORTANT *******************
	// ***********************************
	// Please no longer modify anything here.  Everything should be put in common.js related to javascript functionality.

	// Please don't change; see Important comment above.
	if(document.layers && document.forms[0] && document.forms[0].SubmitCount && (document.forms[0].SubmitCount.value > 0))
		document.captureEvents(Event.CLICK | Event.MOUSEDOWN | Event.MOUSEUP);
  	document.onclick = checkSubmit;	
	
	// Please don't change; see Important comment above.
	function checkSubmit(e)
  	{
  		if((document.forms['backDisable']) && (document.forms['backDisable'].elements['firstRequestSubmitted'].value=="true"))
				return false;
		   
		if(document.forms[0] && document.forms[0].SubmitCount && (document.forms[0].SubmitCount.value > 0))
			return false;
  	}	
		
	// Please don't change; see Important comment above.
	function preventBrowserBack() {
	  form = getFormWithBackPressed();
	  if(form && form.isBackPressed) {
	      if(form.isBackPressed.value == 0)
	      {
			  if(!form.allowBack || form.allowBack == 0)
			  {
				  form.isBackPressed.value = 0;
				  window.history.forward();
			  }
	      }
	  }
	}
	
	// Please don't change; see Important comment above.
	function changeBackPressed() {
	  form = getFormWithBackPressed();
	  if(form && form.isBackPressed)
	      form.isBackPressed.value = 0;
	  return true;
	}
	
	// Please don't change; see Important comment above.
	function getFormWithBackPressed() {
	  if(ns4x) {
	      if(document.forms.length > 0 && document.forms[0].isBackPressed)
	          form = document.forms[0];
	      else if(document.layers.length > 0)
	          form = document.layers[0].document.forms[0];
	  }
	  else if(ie4x)
	      form = document.forms[0];
	  else
	      form = document.forms[0];
	  return form;
	}
	
	// Please don't change; see Important comment above.
	function signupSubmitForm(form, strAction)
	{
		if(form.SubmitCount)
		{
			if(!form.allowBack || (form.allowBack == 0))
			{
				if(form.SubmitCount.value > 0)
					return;
				else
					form.SubmitCount.value = 1;	
			}
		}
		if(signupSubmitForm.arguments.length > 1)
			form.ActionID.value = strAction;
		changeBackPressed();
		if(form.hidPage_ID)
			form.hidPage_ID.value = 1;
		form.submit();
	}

	// Please don't change; see Important comment above.
	function signupGetForm(form, strAction)
	{
		if(form.SubmitCount)
		{
			if(form.SubmitCount.value > 0)
					return;
			else
					form.SubmitCount.value = 1;
		}
		form.ActionID.value = strAction;
		changeBackPressed();

		var strURL = form.action + "?ActionID=" +  strAction + "&StateID=" + form.StateID.value + "&PageID=" + form.PageID.value;
		window.location.href = strURL;
	}

// -->
