function check(){
	if (document.form1.name.value==""){ 
		alert("請輸入姓名");	
		return false;	
	}else if ((document.form1.email.value=="") && (document.form1.tel.value=="")){ 
 				alert("e-mail及電話請擇一填寫，以便聯絡");		
				return false;
	}else if (document.form1.content.value=="") {
				alert("請填寫內文");		
				return false;	
	}else if (document.form1.unclass.selectedIndex=="0"){
				alert("請選擇你想要了解的課程");		
				return false;
	}else{	
		document.form1.action ="http://www.analyst.com.tw/NETWORK/sendmail.asp"
		document.form1.submit();
	}
	

}

function winOpen3(web){
	window.open(web,"三民","width=620,height=400,scrollBars=1")
}

function winOpen2(web){

	window.open(web,"三民","width=800,height=500,scrollBars=1,resizable=1")
}

function winOpen1(web){
	window.open(web,"三民","width=550,height=500,Scrollbars=1,resizable=1")
}

function winOpen(web){
	window.open(web,"三民","width=500,height=600,scrollBars=1")
}


function winOpen3(web){
	window.open(web,"三民","width=600,height=350,Scrollbars=1,resizable=1")
}

function check_pay3(){
	if (document.form1.c_name.value==""){ 
		alert("請輸入姓名");		
	}else if(document.form1.c_id.value==""){ 
		alert("請輸入身份證字號");	
	}else if (document.form1.c_tel.value=="") {
		alert("請輸入電話");
	}else if (document.form1.c_addr.value=="") {
		alert("請輸入地址");
	}else if (document.form1.c_email.value=="") {
		alert("請輸入e-mail");	

	}else{	

		document.form1.action ="http://www.enlighten.com.tw/network/savedata.asp";
		document.form1.submit();
	}
		

}

