	//<!--
		
		
  
	var loadstatustext="<div style='width:100%;height:171px; text-align:left'><img src='./js/ajaxtabs/loading.gif'/><span class='content'>&nbsp;&nbsp;Requesting content...</span>"
		function GetResults(sTargetURL, sTargetDiv){

			//document.getElementById(sTargetDiv).innerHTML = loadstatustext;
			document.getElementById(sTargetDiv).innerHTML = loadstatustext;
			if (window.XMLHttpRequest)
				StayBehindRequest = new XMLHttpRequest()
			else if (window.ActiveXObject){
				try {
					StayBehindRequest = new ActiveXObject("Msxml2.XMLHTTP")
				} 
				catch (e){
				try{
					StayBehindRequest = new ActiveXObject("Microsoft.XMLHTTP")
				}
				catch (e){}
				}
			}
			var unitime = "&uni= "+new Date().getTime()
			url = sTargetURL + unitime;;
			
			StayBehindRequest.open('GET', url, true);
			StayBehindRequest.send(null);
			//alert(url);
			StayBehindRequest.onreadystatechange=function(){
				loadpage(sTargetDiv)
			}
		}
		
function ShowThis(sTargetURL, sTargetDiv){

			//document.getElementById(sTargetDiv).innerHTML = loadstatustext;
			document.getElementById(sTargetDiv).innerHTML = loadstatustext;
			if (window.XMLHttpRequest)
				StayBehindRequest = new XMLHttpRequest()
			else if (window.ActiveXObject){
				try {
					StayBehindRequest = new ActiveXObject("Msxml2.XMLHTTP")
				} 
				catch (e){
				try{
					StayBehindRequest = new ActiveXObject("Microsoft.XMLHTTP")
				}
				catch (e){}
				}
			}
			var unitime = "&uni= "+new Date().getTime()
			url = sTargetURL + unitime;;
			
			StayBehindRequest.open('GET', url, true);
			StayBehindRequest.send(null);
			//alert(url);
			StayBehindRequest.onreadystatechange=function(){
				loadpage(sTargetDiv)
			}
		}
		
		function loadpage(sTargetDiv){
			if (StayBehindRequest.readyState == 4 && (StayBehindRequest.status==200 || window.location.href.indexOf("http")==-1)){
			document.getElementById(sTargetDiv).innerHTML=StayBehindRequest.responseText;
			}
		}
		
function checkFrmEmail(thismail) {
var email = document.getElementById(thismail);
var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
if (!filter.test(email.value)) {
alert('Please provide a valid email address');
email.focus;
return false;
}
}

function checkEmail() {
var email = document.getElementById('UserEmail');
var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
if (!filter.test(email.value)) {
alert('Please provide a valid email address');
email.focus;
return false;
}
}
		
function validate_form(thisform)
{
	//First Name
	if (thisform.ddExpert.value=="")
	{
		thisform.name = 
		alert("Please select an expert from the list.");
		thisform.ddExpert.focus();
		return false;
	}
	
	//Content
	if (thisform.txtExpertQuestion.value=="")
	{
		alert("Please enter a value for the \"Question\" field.");
		thisform.txtExpertQuestion.focus();
		return false;
	}
}		

function changeColor(thisid)
{
document.getElementById(thisid).style.background='#F00';
/*document.getElementById(thisid).focus();*/

}
		

