<!--

// javascript test 
document.open()
document.write("")
document.close()

// cookie test
var loc = window.location.search;
if (loc.match("cookietest"))
	{
		}
else{
	if (document.cookie){
 	document.open()
 	document.write("")
 	document.close()
 	}
 	else{
// 	alert("No Cookies!");
	window.location.replace('site.lasso?fuseaction=home.cookietest');
 	}
 }
 
 
function removeSpaces(string) {
var temp = "";
string = '' + string;
splitstring = string.split(" ");
for(i = 0; i < splitstring.length; i++)
temp += splitstring[i];
return temp;
}


if (screen) {
	leftPos = screen.width-950;  // increase the number to move right
	}

// used in dsp_LSform.inc
function checkDocs(which) {
missinginfo = "";
/*
if (document.LSForm.matchDate != 'Yes'  &&  !document.LSForm.DocFee[0].checked && 
!document.LSForm.DocFee[1].checked) {
missinginfo += "\n - Choose to either receive hardcopy or download your own materials\n";
}
*/

if (document.getElementById("location").selectedIndex == 0) {
missinginfo += "\n - Choose a location";
}


if (missinginfo != "") {
missinginfo ="__________________________________\n" +
"Required information is missing: \n" +
missinginfo + "\n__________________________________" +
"\nPlease complete and resubmit.";
alert(missinginfo);
}
else {
    document.LSForm.submit();
}
}


// used in dsp_mOrderform.inc
function checkRenew(which) {
missinginfo = "";
if (!document.mOrderForm.ServiceID.checked) {
missinginfo += "\nYou must check the Renew checkbox before you can sign up for anything else.";
}
if (missinginfo != "") {
missinginfo ="__________________________________\n" +
"Required information is missing: \n" +
missinginfo + "\n__________________________________" +
"\nPlease complete and resubmit.";
alert(missinginfo);
}
else {
    document.mOrderForm.submit();
}
}


function openwin(theURL) { 
  popwin = window.open(theURL, 'thiswin' ,'status=no,history=no,resizable=yes,scrollbars=yes,menubar=no,location=no,toolbar=no,width=350,height=450,left='+leftPos+',top=200') // increase top number to move down
popwin.focus();
}


function openlogoutwin(theURL) { 
popwin = window.open(theURL, 'thiswin' ,'status=no,history=no,resizable=no,scrollbars=no,menubar=no,location=no,toolbar=no,width=460,height=366,left='+leftPos+',top=200') // increase top number to move down
popwin.focus();
}

//Hide status bar msg II script- by javascriptkit.com
//Visit JavaScript Kit (http://javascriptkit.com) for script
//Credit must stay intact for use

function hidestatus(){
window.status=''
return true
}


if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus


function WM_netscapeCssFix() {
 if (document.WM.WM_netscapeCssFix.initWindowWidth != window.innerWidth || document.WM.WM_netscapeCssFix.initWindowHeight != window.innerHeight) {
    document.location = document.location;
  }
}

function WM_netscapeCssFixCheckIn() {
  // This function checks to make sure the version of Netscape 
  // in use contains the bug; if so, it records the window's 
  // width and height and sets all resize events to be handled 
  // by the WM_netscapeCssFix() function.
  if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {
    if (typeof document.WM == 'undefined'){
      document.WM = new Object;
    }
    if (typeof document.WM.WM_scaleFont == 'undefined') {
      document.WM.WM_netscapeCssFix = new Object;
      document.WM.WM_netscapeCssFix.initWindowWidth = window.innerWidth;
      document.WM.WM_netscapeCssFix.initWindowHeight = window.innerHeight;
    }
    window.onresize = WM_netscapeCssFix;
  }
}

WM_netscapeCssFixCheckIn()
-->
