function popUp1(URL)
{
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=600,height=320,left = 315,top = 140');");
}

function popUp2(URL)
{
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=920,height=650,left = 115,top = 90');");
}

function viewForm(){

        var memberid = document.forms[0].MemberID.value;
        var GroupID = document.forms[0].GroupID.value;
        var SPType = document.forms[0].SPType.value;
        var location = document.forms[0].location.value;

        var url = "frame.php?url=";
        var url2 = escape("http://www.memberweb.com/memberweb2k1/searchresults2k2.asp?MemberID="+memberid+"&GroupID="+GroupID+"&SPType="+SPType+"&location="+location);


        url = url + url2;
        popUp2(url);

}

function noenter() {
  return !(window.event && window.event.keyCode == 13);
}
