//NRU top. thomas jensen support@nru.dk, June 2006

var linewidth=2
var pagewidth=1000

//topbanner
tophtml="<center>"
tophtml+="<table class=bgblack width="+pagewidth+" cellpadding="+linewidth+" cellspacing=0 border=0>"
tophtml+="<tr><td align=center valign=middle>"
tophtml+="<table class=bglightgrey width="+parseInt(pagewidth-2*linewidth)+" cellpadding=0 cellspacing=0 border=0>"
tophtml+="<tr><td align=center>"
tophtml+="<table width="+parseInt(pagewidth-2*linewidth-12)+" cellpadding=0 cellspacing=0 border=0>"

tophtml+="<tr><td rowspan=\"2\"><a class=top href=\""+startpage+"\" OnMouseOver=\"showmsg('Go to start page');status='Go to start page';return true;\" OnMouseOut=\"hidemsg();status='';return true;\"><img src=\""+wwwroot+"images/nrutrans.gif\" border=\"0\"></a></td>"

tophtml+="<td width="+parseInt(pagewidth-2*linewidth-12-87)+" align=left valign=bottom><a class=top href=\""+startpage+"\" OnMouseOver=\"showmsg('Go to start page');status='Go to start page';return true;\" OnMouseOut=\"hidemsg();status='';return true;\"><span class=\"nru\">N</span><span class=\"logo\">eurobiology</span> <span class=\"nru\">R</span><span class=\"logo\">esearch</span> <span class=\"nru\">U</span><span class=\"logo\">nit</span></a></td>"

tophtml+="<td rowspan=\"2\"><a class=top href=\"http://cimbi.org\" TARGET=\"_blank\" OnMouseOver=\"showmsg('Go to Cimbi homepage');status='Go to Cimbi homepage';return true;\" OnMouseOut=\"hidemsg();status='';return true;\"><img border=0 src=\""+wwwroot+"images/cimbitrans.gif\"></a></td></tr>"

tophtml+="<tr><td valign=top><a class=top href=\"http://www.rh.dk\" TARGET=\"_blank\" OnMouseOver=\"showmsg('Go to Rigshospitalet homepage');status='Go to RH homepage';return true;\" OnMouseOut=\"hidemsg();status='';return true;\"><h2>Rigshospitalet, Copenhagen University Hospital, Denmark</h2></a></td></tr>"

//tophtml+="<td height=76 width=87 align=right><a href=\""+startpage+"\" OnMouseOver=\"status='Go to start page';return true;\" OnMouseOut=\"status='';return true;\"><img border=0 src=\""+wwwroot+"images/cimbi.png\"></a></td></tr>"

tophtml+="</table>"
tophtml+="</td></tr>"
tophtml+="</table>"
tophtml+="</td></tr>"
tophtml+="</table>"
tophtml+="<img height=6 width=1 src="+space+">"


// menustart
tophtml+="<table class=bgblack width="+pagewidth+" cellpadding=0 cellspacing=0 border=0>"
tophtml+="<tr><td class=bgblack colspan=7><img width="+parseInt(160+2*linewidth)+" height="+linewidth+" src=\""+wwwroot+"images/black.gif\"><img width=6 height="+linewidth+" src=\""+wwwroot+"images/white.gif\"><img width="+parseInt(pagewidth-160-2*linewidth-6)+" height="+linewidth+" src=\""+wwwroot+"images/black.gif\"></td></tr>"
tophtml+="<tr>"
tophtml+="<td><img width="+linewidth+" height=1 src="+space+"></td>"
tophtml+="<td class=bgdarkgrey width=160 valign=top align=left>"
tophtml+="<table class=bgdarkgrey width=160 cellpadding=0 cellspacing=0 border=0>"
tophtml+="<tr><td><table class=bgdarkgrey cellpadding=0 cellspacing=0 border=0>"
tophtml+="<tr><td colspan=4><img width=1 height=6 src="+space+"></td></tr><tr><td><img width=6 height=1 src="+space+"></td>"
tophtml+="<td><a href="+startpage+" OnMouseOver=\"showmsg('Go to start page');status='Go to start page';return true\" OnMouseOut=\"hidemsg();status='';return true\"><img border=0 src=\""+wwwroot+"images/home.gif\"></a></td>"
tophtml+="<td><img width=4 height=1 src="+space+"></td>"
tophtml+="<td><a href="+contactpage+" OnMouseOver=\"showmsg('Contact information');status='Contact information';return true\" OnMouseOut=\"hidemsg();status='';return true\"><img border=0 src=\""+wwwroot+"images/email.gif\"></td>"
tophtml+="<td><img width=4 height=1 src="+space+"></td>"
tophtml+="<td><a href=\"javascript:showprintwin()\" OnMouseOver=\"showmsg('Show printable version');status='Show printable version';return true\" OnMouseOut=\"hidemsg();status='';return true\"><img border=0 src=\""+wwwroot+"images/print.gif\"></td>"
tophtml+="</tr>"
tophtml+="<tr><td colspan=4><img width=1 height=12 src="+space+"></td></tr>"
tophtml+="</table></td></tr>"
tophtml+=menuhtml
endmenu()
tophtml+="</table>"
tophtml+="</td>"
tophtml+="<td><img width="+linewidth+" height=1 src="+space+"></td>"
tophtml+="<td class=bgwhite><img height=1 width=6 src="+space+"></td>"
tophtml+="<td><img width="+linewidth+" height=1 src="+space+"></td>"
tophtml+="<td class=bgwhite width="+parseInt(pagewidth-160-4*linewidth-6)+" valign=top>"
// main
tophtml+="<table class=bgwhite width="+parseInt(pagewidth-160-4*linewidth-6)+" cellpadding=0 cellspacing=0 border=0>"
tophtml+="<tr><td class=bgwhite width="+parseInt(pagewidth-160-4*linewidth-6)+" align=center>"
tophtml+="<table class=bgwhite width="+parseInt(pagewidth-160-4*linewidth-2*12-6)+" cellpadding=0 cellspacing=0 border=0>"
tophtml+="<tr><td><img height=12 width=1 src="+space+"></td></tr>"
tophtml+="<tr><td>"

