function Check_Terms(){
	// check has agreed
	if (document.form1.chkConfirm != undefined) {
	 	if (document.form1.chkConfirm.checked == false){
			alert("Please indicate if you have read and agreed to the:\n\nTerms and Conditions of useage\n\nAdvertising Guidelines\n\nCode of Conduct\n\nDisclaimer\n\nWASPA Advisory on unacceptable Marketing practices");
		return false;
		}
	}
return true;
}













function checkLen(ent, len) {
	obj = eval(ent)
	romtext =0;
	StrLen = obj.value.length;
	FrLen = 0;
		TotLen = StrLen + FrLen
	if (TotLen > len ) {
		obj.value = obj.value.substring(0,len - FrLen);
		charsleft = 0;
	}
	else {
		charsleft = len - TotLen;
	}
	col = eval("document.all."+obj.name+"_cnt");
	col.innerHTML = (charsleft)
}



function DoConfirm(strMsg,strUrl){
if (confirm(strMsg))
window.location = strUrl;
}



function CheckReply(){

	if (document.form1.message.value.length>1 && document.form1.url.value.length>1) {
		alert("You cannot choose both options, however nice they may seem!\n\nPlease select either the Standard option or the URL Caller.");
		return false;
	}
}