function memo() {
// 加入購物車
document.form1.action = "memo.php" ; 
if ( checkForm(document.form1) ) 
{
	document.form1.submit() ; 
	return true ; 
}
else 
{
	return false ; 
}

}

function checkForm(F)
{
	a_select_hint = new Array( '請至少選取一個才能送出詢價內容' , '请至少选取一个才能送出询价内容' , 'Must select one at last ' ) ;

    validated = false ; 

    for (i=0; i<F.length; i++) {
        if (F.elements[i].type == "checkbox" ) 
		{
		// alert(F.elements[i].checked ) ; 
			if ( F.elements[i].checked == true ) 
			{
				validated = true ;
                
				break  ; 
			}
		}
    }

	if ( validated == true ) 
	{
		// F.qrylist.value += F.id_list.value ; 
		return true ; 
	}
	else
	{
		if ( F.id_list.value == '' ) {
			alert(a_select_hint[lang_id]) ; 
			return false ; 	
		}
	}

}
