var basestring="http://www.canadianspeakers.org/searchcustomdisplay.cfm?s=&svalue=&q=&r=&submitadv=true&callingpage=search.cfm";
var optstring="";
var searchstring="";
var wdth=725;
var hght=525;
var winprops="";
function test1()
{
optstring="";
searchstring="";

if (document.frm.field7.value!="")
{
optstring=optstring+"&CHECK7=true&FIELD7="+
document.frm.field7.value;
document.frm.field7.value="";
};
if (document.frm.field9.value!="")
{
optstring=optstring+"&CHECK9=true&FIELD9="+
document.frm.field9.value;
document.frm.field9.value="";
};
if (document.frm.field74.value!="")
{
optstring=optstring+"&CHECK74=true&FIELD74="+
document.frm.field74.value;
document.frm.field74.value="";
};
if (document.frm.field15.value!="")
{
optstring=optstring+"&CHECK15=true&FIELD15="+
document.frm.field15.value;
document.frm.field15.value="";
};
if (document.frm.field40.value=="CSP")
{
optstring=optstring+"&CHECK76=true&FIELD76=Y";
document.frm.field40.value="";
}
else
if (document.frm.field40.value=="HoF")
{
optstring=optstring+"&CHECK77=true&FIELD77=Y";
document.frm.field40.value="";
}
else
if (document.frm.field40.value!="")
{
optstring=optstring+"&CHECK40=true&FIELD40="+
document.frm.field40.value;
document.frm.field40.value="";
};
if (document.frm.field67.value!="")
{
optstring=optstring+"&CHECK67=true&FIELD67="+
document.frm.field67.value;
document.frm.field67.value="";
};
  
optstring=optstring+"&CHECK80=true&FIELD80=N";
searchstring=basestring+optstring;
winprops='scrollbars=yes,resizable=yes,menubar=yes,width='+wdth+',height='+hght;
window.open(searchstring,'_blank',winprops);
return false;
};
