	   var partner_id = '';
	   var provider = 'used_engines';
	   var url_make_xkey = '';
	   var url_model_xkey = '';
	   var url_year_xkey = '';
	   var marvel;
	   var hashFuncs = new Array();
	   var hashNR = new Array();
	   var partner_id="default";
       var ix_url = "http://autom"+"otix.net/usedautoparts-search.html?jsoncallback=?";
       var ix_class_name = "ix-form-data";
       var ix_class_name_bottom = "ix-form-data-bottom";
       var target_urls = {
          "transmissions":"http://www.auto"+"motix.net/usedtransmissions/",
          "engines":"http://www.auto"+"motix.net/usedengines/",
          "default":"http://www.auto"+"motix.net/usedautoparts/",
          "nopart":"http://www.auto"+"motix.net/usedautoparts/" 
       };  
        
		function gotoIX(type_){		    
			target_url = target_urls[provider];			
			if (target_url == null){
			  target_url = target_urls['default'];
			}
			
			switch (type_){				
				case 'make': var make_key = $('#make_key > option:selected').val();
							 location.href = target_url + make_key + "-inventory.html";
							 break;
				case 'model': var make_key = $('#make_key > option:selected').val();
							  var model_key = $('#model_key > option:selected').val();
							  location = target_url + make_key + "-"+ model_key+"-inventory.html";
							  break;
				case 'year': var year_key = $('#year_key > option:selected').val();
							 var make_key = $('#make_key > option:selected').val();
							 var model_key = $('#model_key > option:selected').val();
							 location = target_url + year_key + "-" + make_key + "-"+ model_key+"-inventory.html";
							 break;
				case 'part': var part_type_key = $('#part_type_key > option:selected').val();
							 var year_key = $('#year_key > option:selected').val();
							 var make_key = $('#make_key > option:selected').val();
							 var model_key = $('#model_key > option:selected').val();
							 location = "http://www.auto"+"motix.net/usedautoparts/" + year_key + "-" + make_key + "-"+ model_key+"-inventory.html";
							 break;
				case 'undefined':
							 var part_type_key = $('#part_type_key > option:selected').val();
							 var year_key = $('#year_key > option:selected').val();
							 var make_key = $('#make_key > option:selected').val();
							 var model_key = $('#model_key > option:selected').val();
							 if (make_key == null){
								location = target_url;
							 } else if (model_key == null){
							    location.href = target_url + make_key + "-inventory.html";
							 } else if (year_key == null){
							    location = target_url + make_key + "-"+ model_key+"-inventory.html";
							 } else{
							    location = target_url + year_key + "-" + make_key + "-"+ model_key+"-inventory.html";
							 }
			}
		}
