function check() {
with (document.forms.submitForm) {
	if (name.value == '') { alert('Please fill the name field!'); return false;}	
	if (email.value.indexOf('@') == -1 || email.value.indexOf('.') == -1) {
		alert('Your e-mail address entered is invalid or uncompleted! Example: example@server.domain');
		return false;
	}
	if (message.value == '') { alert('Please fill the message field!'); return false;}
}
}

function affcheck() {
with (document.forms.affForm) {
	if (name.value == '') { alert('Name field is blank. Please fill with your name.'); return false;}	
	if (email.value.indexOf('@') == -1 || email.value.indexOf('.') == -1) {
		alert('Your e-mail address entered is invalid or uncompleted!\n Example: example@server.domain');
		return false;
	}
	
	if (site_name.value == '') { alert('Your Site must have Name, no ?'); return false;}
	
	if (site_link.value == 'http://' || site_link.value.indexOf('http://') == -1) {
		alert('If you have a site you must have a Site Link, am I right ?');
		return false;
	}
	
	if (button.value == 'http://' || button.value.indexOf('http://') == -1) {
		alert('Your image must have 88x31 resolution and a valid and Valid/Stable Link!');
		return false;
	}
}
}

function select() {
	onclick="javascript:this.form.focus();this.form.select();"
}

/*right click protection --- START---
function BreakInDetected() {	
	return false
}

function NetscapeBrowser(e) {
	if (document.layers || document.getElementById &&!document.all) {
		if (e.which == 2 || e.which == 3) {
			BreakInDetected()
		}
	}
}
		
function InternetExploreBrowser() {
	if (event.button == 2) {
		BreakInDetected()
		return false
	}
}
		
if (document.layers) {
	document.captureEvents(Event.MOUSEDOWN)
	document.onmousedown = NetscapeBrowser()
} else if (document.all &&! document.getElementById) {
	document.onmousedown = InternetExploreBrower()
}
	document.oncontextmenu = new Function("BreakInDetected();return false")
/*right click protection --- END---*/