function helpclick ()
{
var auction_help="helpauction.htm";
window.open(auction_help,"newframe2");
}

function submitauction (auctionform)
{
var selected = false;
var inxmax = 2;
var inxsel = 0;

for (var inx = 0; inx <=inxmax; ++inx )
	{
	if ( auctionform.CATEGORY[inx].status == true )
		{
		selected = true;
		inxsel = inx;
		inx = inxmax;
		}
	}
if (selected == false)
	{
	window.alert("Please Select an Auction Category");
	return(false);
	}

var cmppos=auctionform.isindex.value.charAt(0);
var queryval = auctionform.isindex.value;
var querylen = auctionform.isindex.value.length;

if ((auctionform.isindex.value == "" || cmppos == " ") && (inxsel == 1))
	{
	window.alert("Please Enter Auction Number")
	return(false)
	}


return(true);
}

