// keep the next line as it is. need it to benefit from InterDev colors, but must comment it out.
// <SCRIPT LANGUAGE="JScript">
<!-- Hide from old browsers



//'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function ItemSteps_OnChange( el ) {

	//try { ItemSteps_OnChange_runtime(  ) } catch(e) {}
	
	if (el.name == 'loc_id') {
		
		document.frmItem.submit()
		
		//ItemSteps_InProg()
	}
		
	if (el.name == 'shipping') {
		document.frmItem.submit()
	}

}
//'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



//'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function ItemSteps_InProg(  ) {

	
	var r = new AW.HTTP.Request;
    r.setURL("item_ajax.asp");
    r.setRequestMethod("GET");
    r.setParameter("itm_id",		document.getElementById('itm_id').value );
	r.setParameter("loc_id",		document.getElementById('loc_id').value );
	r.setParameter("state",		document.getElementById('state').value );
	r.setParameter("pricing",		document.getElementById('pricing').value );


    r.request();

    r.response = function(data){
        document.getElementById('itm_RecentHistory').innerHTML = this.getResponseText();
    }
	
}
//'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


function btnZipLookup_onclick() {
	var v = document.all("zip").value;
 	v = "http://zipinfo.com/cgi-local/zipsrch.exe?zip=" + v + "&Go=Go"
	ShowWebSite(v);
}


//'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


function ShowWebSite(val)
{
      document.all.myFrame.src=val;
      document.all.myFrame.style.visibility="visible";
      document.all.myFrame.style.width="600";
      document.all.myFrame.style.height="500";

}




//-->

