<!--
function focus1(){
document.form1.contactname.focus();
}
function focus2(){
document.form1.contactcompanyname.focus();
}
function focus5(){
document.form1.contactemail.focus();
}
function focus6(){
document.form1.contactcomment.focus();
}

function check1(){
		document.getElementById("contactname").className = "sbd_on ";
}
function check2(){
		document.getElementById("contactname").className = "sbd";
}
function check3(){
		document.getElementById("contactnickname").className = "sbd_on ";
}
function check4(){
		document.getElementById("contactnickname").className = "sbd";
}
function check5(){
		document.getElementById("contactcompanyname").className = "sbd_on ";
}
function check6(){
		document.getElementById("contactcompanyname").className = "sbd";
}
function check7(){
		document.getElementById("contactemail").className = "sbd_on ";
}
function check8(){
		document.getElementById("contactemail").className = "sbd";
}
function check9(){
		document.getElementById("tel").className = "sbd_on ";
}
function check10(){
		document.getElementById("tel").className = "sbd";
}
function check11(){
		document.getElementById("contactcomment").className = "sbd_on ";
}
function check12(){
		document.getElementById("contactcomment").className = "sbd";
}
function checkdata(){
	passflag=1;
	if (document.form1.contactemail.value.length<1) {
		document.form1.contactemail.focus();
		document.getElementById('contactemail_str').style.display="block";
		passflag=0;
	}else{
		document.getElementById('contactemail_str').style.display="none";
		var email = document.form1.contactemail.value;
		var pattern= /\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/ ;
		flag=pattern.test(email);
		if(!flag){
			document.form1.contactemail.focus();
			document.getElementById('contactemail_str1').style.display="block";
			passflag=0;
		}else{
			document.getElementById('contactemail_str1').style.display="none";
		}
	}
	if (document.form1.contactname.value.length<1) {
		document.form1.contactname.focus();
		document.getElementById('contactname_str').style.display="block";
		passflag=0;
	}else{
		document.getElementById('contactname_str').style.display="none";
	}
	if (document.form1.contactcompanyname.value.length<1) {
		document.form1.contactcompanyname.focus();
		document.getElementById('contactcompanyname_str').style.display="block";
		passflag=0;
	}else{
		document.getElementById('contactcompanyname_str').style.display="none";
	}
	if (document.form1.contactcomment.value.length<1) {
		document.form1.contactcomment.focus();
		document.getElementById('contactcomment_str').style.display="block";
		passflag=0;
	}else{
		document.getElementById('contactcomment_str').style.display="none";
	}
	if(!passflag){
		return false;
	}
}
//-->
