//--built 08---------------------------------------------------------------------------//
//--by      martin hein  www.digitale-mehrwerte.eu  (hein@digitale-mehrwerte.eu)-------//
//alert("visionaere.js");

addLoadEvent (ausstellerfinder_init);
function ausstellerfinder_init ()
																		            {//alert("ausstellerfinder_init");
																															ausstellerfinderObj = document.getElementById("ausstellerfinder");
                               if (!ausstellerfinderObj) return;
																															for (i=0; i<ausstellerfinderObj.options.length; i++) 
																															   {
																																		 //if(ausstellerfinderObj.options[i].value == document.location.href.substr(document.location.href.indexOf("?")+1)) ausstellerfinderObj.options[i].selected = true;
																																			if (document.location.href.search(ausstellerfinderObj.options[i].value)!=-1) ausstellerfinderObj.options[i].selected = true;
																																		}
																															//ausstellerfinderObj.selectedIndex;
																															ausstellerfinderObj.onchange = function ()
																																			                                   {
																																																																						 actual_location = document.location.href;
																																																																							if (actual_location.indexOf("#")!=-1) actual_location = actual_location.substring(0, actual_location.indexOf("#"));
																																																																							
																																																																							//tag_id entfernen
																																																																							actual_location = actual_location.replace(/.tag_id=[0-9]*/, "");

																																																																							actual_query = document.location.search;
																																																																							new_query = this.value;
																																																																							new_location = clean_request(actual_location+((actual_query=='')?'?':'&')+new_query);
																																																																						 document.location = new_location;
																																																																						}	
																														}																								 																														