function goto_page() {
   var k = document.tmp._page.selectedIndex;
   document.fpage._page.value = document.tmp._page[k].value;
   document.fpage.submit();
   }

function goto_ag() {
   var k = document.ag.stage.selectedIndex;
   var j = eval(document.ag.stage.options[k].value);
   if(j>0) {
   	document.agent.stage.value = document.ag.stage[k].value;
   	document.agent.submit();
	} 
   }

function asearch() {
   document.asearch.submit();
   }

function asearch_cb() {
   document.asearch_cb.submit();
   }


function aweb() {
   document.aweb.submit();
   }

function details( mls , curr ) {
   document.detail.mls.value = mls;
   document.detail.current.value = curr;
   document.detail.submit();
   }

function details3( off , curr ) {
   document.detail3.roffice.value = off;
   document.detail3.current.value = curr;
   document.detail3.submit();
   }

function details3a( off , curr ) {
   document.detail3a.roffice.value = off;
   document.detail3a.current.value = curr;
   document.detail3a.submit();
   }


function details4( ag , curr ) {
   document.detail4.ragent.value = ag;
   document.detail4.submit();
   }

function details5( mls ) {
   document.detail2.mls.value = mls;
   document.detail2.submit();
   }


function printw( mls ) {
   document.detail.mls.value = mls;
   det=window.open("","det","height=600,width=600,scrollbars=no,toolbar=no,directories=no,menubar=no");
   document.detail.submit();
   }


function goto_mls() {
   document.detail2.mls.value = document.lookup.mls.value;
   document.detail2.submit();
   }

function goto_mls2() {
   document.detail2a.mls.value = document.lookup.mls.value;
   document.detail2a.submit();
   }

