// JavaScript Document

function checkLogin(x)
{
	if ((x.username.value == "") && (x.password.value == ""))
	{
		alert("Please enter your Username and Password");
		return false;
	}
	else if ((x.username.value != "fdtrans") && (x.username.value != "FDTRANS"))   //THIS IS THE USERNAME = "fdtrans"
	{
		alert("Invalid Username");
		return false;
	}
	else if ((x.password.value !="prices") && (x.password.value != "PRICES"))     //THIS IS THE PASSWORD = "prices"
	{
		alert("Invalid Password");
		return false;
	}
	else
	{
		x.action="wsaleprices.html";
	}
}