var xmlHttp



function get_check_value()
{

var c_value = "";
var cat = "";

thesearchstr = (document.filterbox.typeinput.value);	
c_value = 'all';
showPortfolio(c_value, thesearchstr);



return false;

}


function showPortfolio(str, thesearchstr)
{ 
xmlHttp=GetXmlHttpObject()
if (xmlHttp==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 }
 document.getElementById("go").style.display = "none";
 document.getElementById("load").style.display = "inline"; //show loading message
var url="resultslist.php"
url=url+"?search="+thesearchstr+"&"+str
url=url+"sid="+Math.random()
//alert (url);
xmlHttp.onreadystatechange=stateChanged 
xmlHttp.open("GET",url,true)
xmlHttp.send(null)
}
function stateChanged() 
{ 
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
 { 
 document.getElementById("go").style.display = "inline";
 document.getElementById("load").style.display = "none"; //finished loading
 document.getElementById("portcontent").innerHTML=xmlHttp.responseText;
//initialize();
 } 
}
function GetXmlHttpObject()
{
var xmlHttp=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttp=new XMLHttpRequest();
 }
catch (e)
 {
 //Internet Explorer
 try
  {
  xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttp;

}// JavaScript Document


function hidesubmit()
{
	 document.getElementById("submitme").style.display="none";
	 
}