<!--
function getProducenci() 
{      
advAJAX.get({        
	  url : "lampy.php",        
	  queryString : "filtr_producent=",        			  
	  parameters : { 
		"filtr_producent" : document.getElementById("producenci").value, 
		"type" : "producent" 
		},        
	  onSuccess : function(obj) { document.getElementById("producenci").innerHTML = obj.responseText; }      
	  });    
}  

function getModele() 
{      
	$('#loading-img').show();
	
advAJAX.get({        
	  url : "lampy.php",        
	  queryString : "filtr_model=",        			  
	  parameters : { "filtr_producent" : document.getElementById("filtr_producent").value, 
	  "type" : "model" 
	  },        
	  onSuccess : function(obj) {
		document.getElementById("modele").innerHTML = obj.responseText;
		$('#loading-img').fadeOut();}      
	  });    
}  

function getLampy( id ) 
{      
	$('#loading-img').show();

 advAJAX.get({        
	  url : "lampy.php",        
	  parameters : { "filtr_model" : document.getElementById("filtr_model").value, 
	  "type" : "lampa",
	  "kursE": "true"	 
		},        
	  onSuccess : function(obj) {
		document.getElementById( id ).innerHTML = '<div id="lampy">' + obj.responseText + '<hr /><p style="margin-top: 10px">aby zamówić tą lampę zadzwoń do nas : <b>(22) 560 00 10</b> lub <b>(22) 839 51 03</b></p></div>';
		$('#loading-img').fadeOut();
		}
	  });  
}  
-->
