<!--
	// Initialize status_text
	var status_text;
	
	// Resize window to contents
	function resize_to_contents(image_width,image_height) {
		// Get new window width
		var width_new = image_width+35;
	
		// Get new window height
		var height_new = image_height+105;
		
		// Resize window
		window.resizeTo(width_new,height_new);
		
		// Move to 0,0
		window.moveTo(10,10);
	}

	// Status message for mouse-over
	function over(text) { status = text; }

	// Clear status message for mouse-out
	function out() { 
		if(status_text) { status = status_text; }
		else { status = ""; }
	}

	// Open new window, special dimensions
	function win(theURL,winName,features) {
  		fenster=null;

 		fenster=window.open(theURL,winName,features);
  
		if(fenster!=null) {
			if(fenster.opener==null) { fenster.opener==self; fenster.location.href=theURL; }
 		} 
	}
	
	// Open new document window
	function zoom(name) {
		var foto_page = "foto.php";
	
		// Open new window
		win(foto_page + "?file=" + name, "foto", "width=10,height=10,scrollbars=no");
	}
-->
