	var browser_mac='false';
	var list_num_cmd  = 'url search/listnum/step2.html';
	var other_search_cmd = 'url search/template/step3.html';


    var frm = document.inputform;
	var Radios = new Array(); // 
	var Values = new Array(); // 
	
	function selectnewradio( index )
	{	
		var frm = document.inputform;
		
	   for( var i = 0; i < Radios.length; i++ )
	      frm[Radios[i]].value = ( i == index ? Values[i] : '' );
	}
	
	Radios[0] = 'f2_select';
	Values[0] = 'county';
	Radios[1] = 'f3_select';
	Values[1] = 'area';
	Radios[2] = 'f5_select';
	Values[2] = 'userdefined6';

	function pre_submit()
	{
	   var f = document.inputform;

		if(document.forms['inputform'].elements['userdefined6'].value == "'000'")
			document.forms['inputform'].elements['f5_select'].value = "";
		else
			document.forms['inputform'].elements['f5_select'].value = 'userdefined6';
alert(document.forms['inputform'].elements['userdefined6'].value);
	   // for quick search on list number only
	   if ( f.list && trimString(f.list.value) != '' )
	   {
    	  f.cmd.value = list_num_cmd;
	   }
	   else
	   {
    	  f.cmd.value = other_search_cmd;

	   }
	   return true;
	}

document.write("<table border='0' cellpadding='0' cellspacing='0' >");
document.write("  <form name='lookupform' action='http://www.flexmls.com/cgi-bin/mainmenu.cgi' method='post'>");
document.write("    <input type='hidden' value='url other/popup/scrolllist.html' name='cmd'>");
document.write("    <input type='hidden' value=\"x'20010820134441081568000000'\" name='ma_tech_id'>");
document.write("    <input type='hidden' value=\"x'20060829203701196890000000'\" name='tech_id'>");
document.write("    <input type='hidden' name='table_name'><input type='hidden' name='field_id'>");
document.write("    <input type='hidden' name='form_field'>");
document.write("    <input type='hidden' name='check_field'>");
document.write("    <input type='hidden' name='maxlength'>");
document.write("    <input type='hidden' name='card_fmt_list'>");
document.write("    <input type='hidden' name='prefill_value'>");
document.write("    <input type='hidden' name='parent_val_list'>");
document.write("    <input type='hidden' name='parent_field'>");
document.write("  </form>");
document.write("  <tr>");
document.write("    <td>");
document.write("    <form name='inputform' target='_blank' onsubmit='pre_submit()' action='http://www.flexmls.com/cgi-bin/mainmenu.cgi' method='post'>");
//document.write("      <input type='hidden' name='customflag'>");
//document.write("      <input type='hidden' name='force_list_agency'>");
document.write("      <input type='hidden' name='contact'>");
document.write("      <input type='hidden' name='linkback_target'>");
document.write("      <input type='hidden' name='linkback_url'>");
document.write("      <input type='hidden' name='linkback_text'>");
document.write("      <input type='hidden' value='F0F0F0' name='background_color'>");
document.write("      <input type='hidden' name='mouse_hover'>");
document.write("      <input type='hidden' value='red' name='mouse_link'>");
document.write("      <input type='hidden' value='blue' name='text_color'>");
document.write("      <input type='hidden' value=\"x'20060829203701196890000000'\" name='tech_id'>");
document.write("      <input type='hidden' name='agent_link'>");
document.write("      <input type='hidden' name='ignore_bds'>");
document.write("      <input type='hidden' value=\"x'20010820134441081568000000'\" name='ma_tech_id'>");
document.write("      <input type='hidden' value='true' name='pubwebflag'>");
document.write("      <input type='hidden' name='query_id'>");
document.write("      <input type='hidden' value=\"x'20020311145117176030000000'\" name='new_sd_tech_id'>");
document.write("      <input type='hidden' value='1' name='report_type'>");
document.write("      <input type='hidden' value=\"x'20020311145249989193000000'\" name='template_id'>");
document.write("      <input type='hidden' value=\"'A'\" name='card_fmt_list'>");
document.write("      <input type='hidden' value='1' name='num_details'>");
document.write("      <input type='hidden' value='9' name='fieldcount'>");
document.write("      <input type='hidden' name='f4_select'>");
document.write("      <input type='hidden' value='url search/template/step3.html' name='cmd'>");
document.write("      <center>");
document.write("      <table cellSpacing='0' cellPadding='0' border='0' >");
document.write("        <tr bgColor='#f0f0f0'>");
document.write("          <td bgcolor='#FFFFFF'><font color='blue'>");
document.write("          <input id='f1_select' type='hidden' value='list_price' name='f1_select'>");
document.write("          </font></td>");
document.write("          <td bgcolor='#FFFFFF'>");
document.write("          <font face='Arial,Helvetica' size='-1' color='blue'>");
document.write("          <td bgcolor='#FFFFFF'>");
document.write("          <div align='center'>");
document.write("            <center>");
document.write("            <table border='0' cellpadding='0' cellspacing='0' style='border-collapse: collapse' bordercolor='#111111' id='AutoNumber1'>");
document.write("              <tr>");
document.write("                <td><b><font face='Arial,Helvetica' size='-1'>From:</font></b></td>");
document.write("                <td><font face='Arial,Helvetica' size='-1'>");
document.write("                <input type='number' maxLength='12' size='12' value='0' name='list_price_from' style='float: right; text-align: right; border: 1px solid #C0C0C0; background-color: #FFFF00'></font></td>");
document.write("                <td><b><font face='Arial,Helvetica' size='-1'>To:</font></b></td>");
document.write("                <td><font face='Arial,Helvetica' size='-1'>");
document.write("                <input onkeypress=\"document.forms['inputform'].elements['f1_select'].checked=true\" type='number' maxLength='12' size='12' value='999999999999' name='list_price_to' style='text-align: right; border: 1px solid #C0C0C0; background-color: #FFFF00'></font></td>");
document.write("              </tr>");
document.write("            </table>");
document.write("            </center>");
document.write("          </div>");
document.write("          </td>");
document.write("        </tr>");
document.write("        <tr>");
document.write("        <td colspan='3' align=center>");
document.write("	<font size='2pt'>Poconos School Districts</font>");
document.write("        </td>");
document.write("        </tr>");
document.write("        <tr bgColor='#f0f0f0'>");
document.write("          <td bgcolor='#FFFFFF' valign='top'><font color='blue'>");
document.write("          <input type='hidden' name='f2_select'>");
document.write("          <input type='hidden' name='f3_select'>");
document.write("          <input type='hidden' name='f5_select' value='userdefined6'>");
document.write("          </font></td>");
document.write("          <td bgcolor='#FFFFFF' valign='top'>");
document.write("          <font face='Arial,Helvetica' size='-1' color='blue'>");
document.write("          <td bgcolor='#FFFFFF'><font face='Arial,Helvetica' size='-1'>");
document.write("          <select id='userdefined6'  multiple size='4' name='userdefined6' style='border-style: solid; border-width: 1;width:100%'>");
document.write("          <option value=\"'000'\" SELECTED>000 - All School Districts</option>");
document.write("          <option value=\"'101'\">101 - East Stroudsburg Area - Monroe</option>");
document.write("          <option value=\"'102'\">102 - Stroudsburg Area</option>");
document.write("          <option value=\"'103'\">103 - Pocono Mountain Area</option>");
document.write("          <option value=\"'104'\">104 - Pleasant Valley Area</option>");
document.write("          <option value=\"'302'\">302 - Delaware Valley</option>");
document.write("          <option value=\"'303'\">303 - East Stroudsburg Area - Pike</option>");
document.write("          <option value=\"'401'\">401 - Wallenpaupack Area</option>");
document.write("          <option value=\"'502'\">502 - Jim Thorpe</option>");
document.write("          <option value=\"'503'\">503 - Lehighton</option>");
//document.write("          <option value=\"'706'\">706 - North Pocono</option>");
document.write("          </select> </font>");
document.write("        </td></tr>");
document.write("        <tr>");
document.write("          <td colspan='3' align='center'>");
document.write("          <input style='BACKGROUND-COLOR: #000080;color:white;border:solid 1px;margin:0px' type='submit' value='Search Poconos Homes'>");
document.write("          </td>");
document.write("        </tr>");
document.write("    </form>");
document.write("      </table>");
document.write("      </center>");
document.write("    </td>");
document.write("  </tr>");
document.write("</table>");