function whichSel(frm)
{
	var selItem = "";
	for(i=0; i<frm.selList.length; i++)
	{
		if(frm.selList.options[i].selected  == true) 
		{
			selItem += "Option " + i + " is selected.\n"
			// alert(frm.selList.options[i].value );
			window.document.all["txtPrice1"].innerText = frm.selList.options[i].value;     
		}
	}
}

function whichSel2(frm)
{
	var selItem2 = "";
	for(i=0; i<frm.selList2.length; i++)
	{
		if(frm.selList2.options[i].selected  == true) 
		{
		window.document.Form1.txtPrice2.value=frm.selList2.options[i].value ;
		}
	}
}
<!--//
function check(contents)
{
	if (((contents / contents) != 1) && (contents != 0))
	{
		window.document.all["txtPrice1"].focus();
		window.document.all["txtPrice1"].select();
		//    document.sear.txtPrice1.focus();
		//    document.sear.txtPrice1.select();
		alert('Please enter only a number into this text box ex: use 12000 NOT $12,000');
	}
	else
	{
		if (contents == 0) 
		{
			window.document.all["txtPrice1"].innerText = '';
			return false;
		} 
		else 
		{
			window.document.all["txtPrice1"].innerText = Math.round(contents);
		}
	}
}
function imgover(imgname){
	imgname.src = "images/arrow.gif"
}

function imgout(imgname){
	imgname.src = "images/blank.gif";
}
		
function DoNav(theUrl) 
{   
	document.location=(theUrl);  
}  				

function cOn(td)
{
	if(document.getElementById||(document.all && !(document.getElementById)))
	{
	td.style.backgroundColor="#CCFFFF";
	td.style.cursor="pointer";
	}
}

function cOut(td)
{
	if(document.getElementById||(document.all && !(document.getElementById)))
	{
	td.style.backgroundColor="";
	}
}
		
function loadFrames(page1, page2) 
{
	framecode = "<frameset rows='110,100%' border=0>"
	+ "<frame src='" + page1 + "'scrolling=no>"
	+ "<frame src='" + page2 + "'name=bottom id='bottomframe'>"
	+ "</frameset>";
	window.document.write(framecode);
}

var resetRolls = new Object();

function resetimage(src)
{
	this.src=src;
	this.confirm=true;
	this.alt="Reset";
	this.write=resetimage_write;
}


function resetimage_write()
{
	document.write('<A ');
	if (this.rollover)
	{
		if (! this.name)
		{
			alert('to create a rollover you must give the image a name');
			return;
		}
		resetRolls[this.name] = new Object();
		resetRolls[this.name].over = new Image();
		resetRolls[this.name].over.src=this.rollover;
		resetRolls[this.name].out = new Image();
		resetRolls[this.name].out.src=this.src;
		
		document.write(' onMouseOver="if (document.images)document.images[\'' + 
						this.name + '\'].src=resetRolls[\'' + this.name + '\'].over.src"' + 
						' onMouseOut="if (document.images)document.images[\'' + 
						this.name + '\'].src=resetRolls[\'' + this.name + '\'].out.src"');
	}
	
	document.write(' HREF="javascript:');
	
	if (this.confirm)
	{
	document.write('if(confirm(\'Are you sure you want to reset?\'))');
	document.write('document.forms[' + (document.forms.length - 1) + '].reset();void(0);">');
	document.write('<IMG SRC="' + this.src + '" ALT="' + this.alt + '"');
	document.write(' BORDER=0');
	
	if (this.name)document.write(' NAME="' + this.name + '"');
	if (this.height)document.write(' systran="yes" HEIGHT=' + this.height);
	if (this.width)document.write(' WIDTH=' + this.width);
	if (this.otheratts)document.write(' '+ this.otheratts);
	}
	document.write('></A>');
}
		