function show_job_loc(group_job_location_key, job_location_url) {
		xmlHttp_job_loc=GetXmlHttpObject_job_loc()
		if (xmlHttp_job_loc==null)  { 
			 alert ("Browser does not support HTTP Request")
				return
		}

		var url_job = job_location_url;
		url_job=url_job+"?group_job_location_key="+group_job_location_key
		url_job=url_job+"&random_id="+Math.random()
		xmlHttp_job_loc.onreadystatechange=change_job_loc
		xmlHttp_job_loc.open("GET",url_job,true)
		xmlHttp_job_loc.send(null)		
}


function show_job_category(group_job_category_key, job_category_url) {

		xmlHttp_job_cat=GetXmlHttpObject_job_category()
		if (xmlHttp_job_cat==null)  { 
			 alert ("Browser does not support HTTP Request")
				return
		}

		var url_job_cat = job_category_url;		
		url_job_cat=url_job_cat+"?group_category_key="+group_job_category_key
		url_job_cat=url_job_cat+"&random_id="+Math.random()
		xmlHttp_job_cat.onreadystatechange=change_job_category
		xmlHttp_job_cat.open("GET",url_job_cat,true)
		xmlHttp_job_cat.send(null)		
}

function show_industry(group_industry_key, industry_url) { 
			
		xmlHttp_industry=GetXmlHttpObject_industry()
		if (xmlHttp_industry==null)  { 
			 alert ("Browser does not support HTTP Request")
				return
		}

		var url_industry=industry_url;
		url_industry=url_industry+"?group_industry_key="+group_industry_key
		url_industry=url_industry+"&random_id="+Math.random()		
		xmlHttp_industry.onreadystatechange=change_industry
		xmlHttp_industry.open("GET",url_industry,true)
		xmlHttp_industry.send(null)		
}

////////******************************************************************************//////////////
////////******************************************************************************//////////////
		 

function change_job_loc() { 	
	if (xmlHttp_job_loc.readyState==4 || xmlHttp_job_loc.readyState=="complete") { 
		 document.getElementById("div_job_loc").innerHTML=xmlHttp_job_loc.responseText
	} 
}

function change_job_category() { 	
	if (xmlHttp_job_cat.readyState==4 || xmlHttp_job_cat.readyState=="complete") { 
		 document.getElementById("div_job_category").innerHTML=xmlHttp_job_cat.responseText
	} 
}

function change_industry() { 	
	if (xmlHttp_industry.readyState==4 || xmlHttp_industry.readyState=="complete") { 
		 document.getElementById("div_show_industry").innerHTML=xmlHttp_industry.responseText  
	} 
}

function GetXmlHttpObject_job_loc() {
	var xmlHttp_job_loc=null;
	try  {
		 // Firefox, Opera 8.0+, Safari
		 xmlHttp_job_loc=new XMLHttpRequest();
	 }
	catch (e)  {
		 //Internet Explorer
	 	try   {
		  xmlHttp_job_loc=new ActiveXObject("Msxml2.XMLHTTP");
		  }
		 catch (e)   {
		  xmlHttp_job_loc=new ActiveXObject("Microsoft.XMLHTTP");
		  }
	}
return xmlHttp_job_loc;
}

function GetXmlHttpObject_job_category() {
	var xmlHttp_job_cat=null;
	try  {
		 // Firefox, Opera 8.0+, Safari
		 xmlHttp_job_cat=new XMLHttpRequest();
	 }
	catch (e)  {
		 //Internet Explorer
	 	try   {
		  xmlHttp_job_cat=new ActiveXObject("Msxml2.XMLHTTP");
		  }
		 catch (e)   {
		  xmlHttp_job_cat=new ActiveXObject("Microsoft.XMLHTTP");
		  }
	}
return xmlHttp_job_cat;
}


function GetXmlHttpObject_industry() {
	var xmlHttp_industry=null;
	try  {
		 // Firefox, Opera 8.0+, Safari
		 xmlHttp_industry=new XMLHttpRequest();
	 }
	catch (e)  {
		 //Internet Explorer
	 	try   {
		  xmlHttp_industry=new ActiveXObject("Msxml2.XMLHTTP");
		  }
		 catch (e)   {
		  xmlHttp_industry=new ActiveXObject("Microsoft.XMLHTTP");
		  }
	}
return xmlHttp_industry;
}
