function show_pic(type, name)
{
if (top.fenster && !top.fenster.closed) top.fenster.close();
var link = "code/open_pic.aspx?type=" + type + "&name=" + name;
if(type == "h"){
fenster = window.open(link, "fenster2", "width=440,height=350,menubar=no,left=10,top=10,scrollbars=no,status=no,toolbar=no")
}
else
{
fenster = window.open(link, "fenster2", "width=330,height=460,menubar=no,left=10,top=10,scrollbars=no,status=no,toolbar=no")
}
}
