	function showManufacture(){
		
		if(document.getElementById("system_id").value!=0)
		{
			
			msg="<img src=http://www.memoryupgradecompany.com/images/loading.gif>";
			
			xmlHttp=ajaxFunction();
			xmlHttp.onreadystatechange=function()
			{
				if(xmlHttp.readyState==1)
				
				{
				
					document.getElementById("manuid").innerHTML=msg;
					
				}
				if(xmlHttp.readyState==4)
				{
					document.getElementById("manuid").innerHTML=xmlHttp.responseText;
				}
			}

			var url="/ajax.asp";
      			str=document.getElementById("system_id").value;
			url=url+"?v="+ str +"&show=manufacture";
		
			xmlHttp.open("GET",url,true);
    			xmlHttp.send(null);
		}
		else
		{	
			document.getElementById("manuid").innerHTML="";
			document.getElementById("model_dtls_id").innerHTML="";
	 	}
	 	
	}

	
	
	function showBrands(response_id,select_id){
	msg="<img src=http://www.memoryupgradecompany.com/images/loading.gif>";
		
		xmlHttp=ajaxFunction();
		xmlHttp.onreadystatechange=function()
	      	{
			if(xmlHttp.readyState==1)
			{
				document.getElementById(""+ response_id +"").innerHTML=msg;
			}
	      		if(xmlHttp.readyState==4)
			{
				document.getElementById(""+ response_id +"").innerHTML=xmlHttp.responseText;
			}
	      	}
	      	
	      	var url="/ajax.asp";
	      	url=url+"?v="+select_id+"&show=brand";
		
		xmlHttp.open("GET",url,true);
	    	xmlHttp.send(null);
	
	}
	
	
	function showBrands1(response_id,select_id){
		msg="<img src=http://www.memoryupgradecompany.com/images/loading.gif>";
		
		mnf_id=document.getElementById("manuf_id").value;
					
			xmlHttp=ajaxFunction();
			xmlHttp.onreadystatechange=function()
		      	{
				if(xmlHttp.readyState==1)
				{
					document.getElementById(""+ response_id +"").innerHTML=msg;
				}
		      		if(xmlHttp.readyState==4)
				{
					document.getElementById(""+ response_id +"").innerHTML=xmlHttp.responseText;
				}
		      	}
		      	
		      	var url="/ajax.asp";
		      	url=url+"?v="+select_id+"&mnf_id="+mnf_id+"&show=brand";
			
			xmlHttp.open("GET",url,true);
		    	xmlHttp.send(null);
		
	}
	
	
	function showModelDtls(){
	msg="<img src=http://www.memoryupgradecompany.com/images/loading.gif>";
	document.getElementById("model_dtls_id").innerHTML=msg;
	
	if(document.getElementById("mod_id").value!=null){
		
		
			xmlHttp=ajaxFunction();
			
			xmlHttp.onreadystatechange=function()
		      	{
					if(xmlHttp.readyState==1)
					{
				
						document.getElementById("model_dtls_id").innerHTML=msg;
						
						
						
					}
		      		if(xmlHttp.readyState==4)
		        		{

		        		
						document.getElementById("model_dtls_id").innerHTML=xmlHttp.responseText;						
					
						
							
		        		}
		      	}
		      	var url="/ajax.asp";
		      	str=document.getElementById("mod_id").value;
		      	str=str.replace("+","%20");
		      	
			url=url+"?v="+str+"&show=modeldtls";
			
			xmlHttp.open("GET",url,true);
		    xmlHttp.send(null);
			  }
	 else{	
				document.getElementById("mdtlid").innerHTML="<p style='margin-top:-10px'></p>";
				document.getElementById("model_dtls_id").innerHTML="<p style='margin-top:-10px'></p>";
				
	 }
	}
function go(){
	
	if (document.getElementById("mod_dtls_id").value==0)
	{
		alert("Please select a system model.");
		return false;
	}
	modelName=document.getElementById("mod_dtls_id").value;
	window.location.href = modelName;
}


