<!--
function clear_textbox() {
	if (document.subscribe.email.value == "Email Address") document.subscribe.email.value = "";
	if (document.subscribemain.email.value == "Email Address") document.subscribemain.email.value = "";
} 
function onCellColorChange(o) {
	o.style.backgroundColor = "#000000";
	o.style.cursor = "hand";
}
function outCellColorChange(o) {
	o.style.backgroundColor = "#5E6E73";
}
function CheckForm(FormName) {
	var theForm = document.forms[FormName];
	var Required = new Object;
	switch (FormName) {
		case 'tell_a_friend':
			Required['contact_from_email'] = 'Your Email Address';
			Required['contact_to_email'] = 'Friends Email Address';
			break;
		case 'order_form':
		case 'contact_us':
			Required['contact_email'] = 'Your Email Address';
			Required['contact_name'] = 'Your Name';
			Required['country'] = 'Your Country';
			Required['contact_area_code'] = 'Your Area Code';
			Required['contact_phone_number'] = 'Your Phone Number';
			break;
		case 'subscribe':
			Required['subscription_email'] = 'Your Email Address';
			break;
		case 'search':
			Required['keywords'] = 'Search Criteria';
			break;
		case 'keyword-density':
			Required['url'] = 'URL to Analyze';
			break;
		case 'http-header-viewer':
			Required['original_url'] = 'URL to Analyze';
			break;
		case 'dns-lookup':
			Required['url'] = 'URL to Analyze';
			break;
		case 'reverse-dns-lookup':
			Required['ip'] = 'IP Address to Analyze';
			break;
	}
	for (i = 0; i < theForm.length; i++) {
		var FormField = theForm.elements[i];
		if (Required[FormField.name] && FormField.value == '') {
			Warning = Required[FormField.name]+' is a required field!';
			alert(Warning);
			FormField.focus();
			return
		}
		else if ((FormField.name  == 'contact_from_email' ||
			FormField.name  == 'subscription_email' ||
			FormField.name  == 'contact_email' ||
			FormField.name  == 'contact_to_email') &&
			FormField.value.match(/[\w.-]+@[\w-]+(\.[\w-]+){1,}/) == null) {
			Warning = 'Invalid Email address format!';
			alert(Warning);
			FormField.focus();
			return
		}
	}
	theForm.submit()
}
-->