function warn(what){
	alert("Please, enter a "+what+".");

}

function check(obj,what,on){
	if(on){
		if(obj.value==what){
			obj.value=''
			if(!n4)obj.style.color="black";
		}
	}else{
		if(obj.value==''){
			obj.value=what
			if(!n4)obj.style.color="#666666";
		}
	}
}


function CADPackUpdateValidate(obj) {
	if (obj.signup_name.value==''){
		alert('Please enter your name');
		obj.signup_name.focus();
		return false
	} else if (obj.email.value=='') {
		alert('Please enter your e-mail address');
		obj.email.focus();
		return false
	} else if (obj.company.value=='') {
		alert('Please enter your company name');
		obj.company.focus();
		return false
	} else if (obj.email.value != '') {
		if (obj.email.value.indexOf('@')==-1 || obj.email.value.indexOf('.')==-1 || obj.email.value.indexOf(' ')!=-1 || obj.email.value.length<6){
			alert('Please enter a valid e-mail address');
			obj.email.focus();
			return false
		}
	}
	return true;
}