
function updateSkills()
{
xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
var url=baseurl+"ajax-scripts/update-skills.php"
url=url+"?category="+document.getElementById("category-main")[document.getElementById('category-main').selectedIndex].value
xmlHttp.onreadystatechange=stateUpdateSkills 
xmlHttp.open("POST",url,true)
xmlHttp.send(null)
}

function stateUpdateSkills () 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
	{ 
 		document.getElementById("category-skill").innerHTML=xmlHttp.responseText
	}
}
