<!--    	
function open_window_size(url, width, height)
{
        var name = "win";
        var my_x = (screen.availWidth - width)/2;
        var my_y = (screen.availHeight - height)/2;
        var fenster = "width=" + width + ",height=" + height + ",left="+my_x+", top="+my_y+",resizable=no,scrollbars=yes,toolbar=no,status=no,directories=no,menubar=no,location=no";

        w = open(url, name, fenster);

	w.focus();        
}

function open_window(url) {
	mywin = window.open(url,"win",'toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=2,resizable=1,screenx=0,screeny=0,width=800,height=350');
	mywin.focus();
}	
function write_popup(id, object)
{
	var vlink ="<a href=\"javascript:open_window('imagepopup.php?id=" + id + "&object=" + object + "')\"  class='content'>";
	document.write(vlink);
}
//-->