// JavaScript Document
/*function iaGree(status){
		if(status){
				var checkout = document.getElementById('chekO');
				/*alert(checkout.getAttribute('disabled'));*/
				//checkout.removeAttribute('disabled');
		//}
//}*/
function checkOut(pressbutton){
		var form = document.dental;
		if(form.name.value == ""){
				alert('input name');
				form.name.focus();
				return;
		}
		if(form.email.value == ""){
				alert('input email');
				form.email.focus();
				return;
		}
		if(form.address.value == ""){
				alert('input address');
				form.address.focus();
				return;
		}
		if(form.zipcode.value == ""){
				alert('input zipcode');
				form.zipcode.focus();
				return;
		}
		if(form.country.value ==""){
				alert('input country');
				form.country.focus();
				return;
		}
		if(form.mobile.value ==""){
				alert('input mobile');
				form.mobile.focus();
				return;
		}
	submitbutton(pressbutton);	
}
function submitbutton(pressbutton){
		var form = document.dental;
		form.action.value = pressbutton;
		if (typeof form.onsubmit == "function") {
			form.onsubmit();
		}
		form.submit();
}
function showbox(obj){
		var q=document.getElementById("pechk1");
		if(q){q.checked=false;	if(obj=="TABCREDIT"){q.checked=true;}}
		var a = document.getElementById("TABCREDIT");
		if(a){a.style.display="none";}
		var z = document.getElementById(obj);
		if(z){
			if(z.style.display=="none"){
				z.style.display="block";
			}else{
				z.style.display="none";
			}
		}
}
