// JavaScript Document
function ValidateLoginForm()
	{
		var username = document.LoginFrm.username.value;
		var password = document.LoginFrm.password.value;
		if(username.length <= 0 || password.length <= 0)
		{
			alert('Please make sure you enter all of the required fields');
			return false;
		}
		return true;
	}

function FocusField(formName,fieldName)
	{
		document.form[formName].field[fieldName].focus();
	}


function ActivateFlash()
{
	n	= navigator.userAgent;
	w	= n.indexOf("MSIE");
	if( (w>0) && (parseInt(n.charAt(w+5))>5) ) 
		{
			T 	= ["object","embed","applet"];
			for(j=0;j<2;j++)
				{
				E	= document.getElementsByTagName(T[j]);
				for(i=0;i<E.length;i++)
					{
						P	= E[i].parentNode;
						H	= P.innerHTML;
						P.removeChild(E[i]);
						P.innerHTML	= H;
					}
				}
		}
}

function OpenBig(filename)
{
	myWindow = window.open("demofiles.asp?file=" + filename, "DemoWindow", "toolbar=0,left=100,top=100,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,copyhistory=0,width=520,height=360");
}