function quick_jump(s){
	var d = s.options[s.selectedIndex].value;    
	window.location.href = d;    
	s.selectedIndex=0;    
}
function fetch_ajax_content(url,ID){
	document.getElementById(ID).innerHTML = "<img src='pics/return_animation.gif' border='0' alt=''>";
	document.getElementById(ID).style.padding = "5px";
	document.getElementById(ID).style.visibility = "visible";	
	var myAjax = new Ajax.Request( url ,{ 
		method: 'get', 
			onSuccess: function(transport){
				var response = transport.responseText || "no response text";
				//alert(response);	
				show_ID(ID,response);
			},
		}
	);
}
function show_ID(ID,Hinweis){
	document.getElementById(ID).innerHTML = Hinweis;
	document.getElementById(ID).style.padding = "5px";
	document.getElementById(ID).style.visibility = "visible";
}
function hide_ID(ID){
	document.getElementById(ID).innerHTML = "";
	document.getElementById(ID).style.visibility = "hidden";
}
function new_window_3D(URL,Name){
// http://www.planet-liebe.de/vbb/showthread.php?t=34305
// http://aktuell.de.selfhtml.org/weblog/files/2006-04-aufloesung.png
// gebräuchliche bildschirmauflösungen
// 640 x 480 1,0 %
// 800 x 600 6,41%
// 1024 x 768 41,03%
// 1280 x 960 9,62%
// 1600 x 1200 12,82%
// 1900 x 1200 7,69%
// 1152 x 864 7,05%
// 1280 x 1024 27,56%
	var screen_height = window.screen.height;
	if(screen_height<=480){
		var Width = "276px";
		var Height = "376px";	
	}
	if(screen_height<=600 && screen_height>480){
		var Width = "346px";
		var Height = "471px";	
	}
	if(screen_height<=768 && screen_height>600){;	
		var Width = "443px";
		var Height = "603px";
	}	
	if(screen_height<=864 && screen_height>768){
		var Width = "499px";
		var Height = "679px";	
	}	
	if(screen_height<=960 && screen_height>864){
		var Width = "555px";
		var Height = "755px";		
	}
	if(screen_height<=1024 && screen_height>960){
		var Width = "595px";
		var Height = "810px";		
	}		
	if(screen_height>1024){
		var Width = "700px";
		var Height = "950px";	
	}		
	var New_URL = URL+"&screen_height="+screen_height;
	//alert(screen_height+" - "+Width+" - "+Height);
	new_window(New_URL,Name,Width,Height);
}
function new_window(URL,Name,Width,Height){
	//alert(URL);
	Name = window.open(URL,Name,"resizable=yes,scrollbars=yes,left=10px,top=10px,width="+Width+",height="+Height+",toolbar=no,status=no,menubar=no,location=no");
	Name.focus();
}
function test_alert(){
	alert('test');
}