
	//whichFile = '';
	
	//document.write('<script language=javascript src="top_include.js" type="text/javascript"></script>')
	//document.write('<scr'+'ipt src="top_include.js" type="text/javascript"></scr'+'ipt>');
	
	//function JSInclude(IncludeURL)
	//{
	//document.write("<SCR" + "IPT LANGUAGE='JavaScript' src='" + IncludeURL + "'></SCR" + "IPT>");
	//}

	//JSInclude('top_include.js');
	
	var whitespace = " \t\n\r";
	var defaultEmptyOK = false;
	
	function isEmpty(s){ 
	return ((s == null) || (s.length == 0))
	}
	
	function isWhitespace (s){
	var i;
	// Is s empty?
	if (isEmpty(s)) return true;
	
	// Search through string's characters one by one
	// until we find a non-whitespace character.
	// When we do, return false; if we don't, return true.
	for (i = 0; i < s.length; i++){   
	// Check that current character isn't whitespace.
	var c = s.charAt(i);
	if (whitespace.indexOf(c) == -1) return false;
	}
	
	// All characters are whitespace.
	return true;
	}
	
	function isEmail (s){
	if (isEmpty(s))
	// is s whitespace?
	if (isWhitespace(s)) return false;
	// there must be >= 1 character before @, so we
	// start looking at character position 1
	// (i.e. second character)
	var i = 1;
	var sLength = s.length;
	// look for @
	while ((i < sLength) && (s.charAt(i) != "@")){
	i++
	}
	
	if ((i >= sLength) || (s.charAt(i) != "@")) 
	return false;
	else i += 2;
	
	// look for .
	while ((i < sLength) && (s.charAt(i) != ".")){
	i++
	}
	
	// there must be at least one character after the .
	if ((i >= sLength - 1) || (s.charAt(i) != ".")) return false;
	else return true;
	}
	
	function isCharsInBag (s, bag){  
	var i;
	// Search through string's characters one by one.
	// If character is in bag, append to returnString.
	
	for (i = 0; i < s.length; i++){ 
	// Check that current character isn't whitespace.
	var c = s.charAt(i);
	if (bag.indexOf(c) == -1) return false;
	}
	return true;
	}
	
	function ValidateGroup(){
	
	if (isWhitespace(document.formgroup.txt_first_name.value)){
	alert("Please provide your first name.");
	document.formgroup.txt_first_name.focus();
	return false;
	}
	
	if (isWhitespace(document.formgroup.txt_last_name.value)){
	alert("Please provide your last name.");
	document.formgroup.txt_last_name.select();
	return false;
	}
	
	if (document.formgroup.lst_country.options[document.formgroup.lst_country.selectedIndex].value == 0){
	alert("Please, select a country.");
	document.formgroup.lst_country.focus();
	return false;
	}
	
	if (isWhitespace(document.formgroup.txt_city.value)){
	alert("Please provide your city name.");
	document.formgroup.txt_city.select();
	return false;
	}

	if(isWhitespace(document.formgroup.txt_phone.value)){
	alert("Please provide your phone no.");
	document.formgroup.txt_phone.select();
	return false;
	}
	
	var email = document.formgroup.txt_email.value = document.formgroup.txt_email.value.toLowerCase();
	
	if (!isEmail(email)){
	alert( "Please Insert A Valid Email Address !");
	document.formgroup.txt_email.select();
	return false;
	}
	
	if (isWhitespace(document.formgroup.txt_subject.value)){
	alert("Please write a subject.");
	document.formgroup.txt_subject.select();
	return false;
	}
	
	if (isWhitespace(document.formgroup.txt_request.value)){
	alert("Please write your comments.");
	document.formgroup.txt_request.select();
	return false;
	}
	
	
	if (isWhitespace(document.formgroup.txt_image_word.value)){
	alert("Please enter the code shown in box.");
	document.formgroup.txt_image_word.select();
	return false;
	}
	
	
	
/*	if(document.formgroup.hid_image_word.value.toLowerCase() != document.formgroup.txt_image_word.value.toLowerCase()){
	alert("Please enter the same code as on the image above");
	document.formgroup.txt_image_word.select();
	return false;
	}
*/	
	return true;
	}