Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
2.6 KiB

  1. function drawDownlevelToolbar()
  2. {
  3. document.write( "<SPAN ID='TBDownLevelDiv'>" );
  4. //this is a common separator between menu items.
  5. var separator = "&nbsp;<FONT COLOR='#FFFFFF'>|</FONT>&nbsp;&nbsp;";
  6. TBhtml = "<TABLE WIDTH='100%' CELLPADDING='0' CELLSPACING='0' BORDER='0' BGCOLOR='#6487DC'>";
  7. TBhtml += "<TR><TD VALIGN='TOP' HEIGHT='60' ROWSPAN='2'><A HREF='" + L_headerincocahomeurl_TEXT + "'>";
  8. TBhtml += "<IMG SRC='/include/images/oca.gif' WIDTH='420' HEIGHT='60' ALT='" + L_headerincimagealttooltip_TEXT + "' BORDER='0' />";
  9. TBhtml += "</A></TD>";
  10. TBhtml += "<TD VALIGN='TOP' HEIGHT='20' ALIGN='RIGHT'><IMG SRC='/include/images/curve.gif' WIDTH='18' HEIGHT='20' ALT='' BORDER='0' /></TD>";
  11. TBhtml += "<TD BGCOLOR='#000000' HEIGHT='20' VALIGN='MIDDLE' ALIGN='RIGHT' NOWRAP='' COLSPAN='2'>";
  12. TBhtml += BuildLinkString( L_headerincallproductslinktext_TEXT, L_headerincallproductsmenuitem_TEXT );
  13. TBhtml += separator
  14. TBhtml += BuildLinkString( L_headerincsupportlinktext_TEXT, L_headerincsupportlinkmenuitem_TEXT );
  15. TBhtml += separator
  16. TBhtml += BuildLinkString( L_headerincsearchlinktext_TEXT, L_headerincsearchlinkmenuitem_TEXT );
  17. TBhtml += separator
  18. TBhtml += BuildLinkString( L_headerincmicrosoftcomguidetext_TEXT, L_headerincmicrosoftcomguidemenuitem_TEXT );
  19. TBhtml += "</TD></TR>"
  20. TBhtml += "<TR><TD COLSPAN='2' VALIGN='TOP' HEIGHT='40'>&nbsp;<IMG BGCOLOR='#0099FF' SRC='/include/images/1ptrans.gif' WIDTH='100%' HEIGHT='20' ALT='' BORDER='0' />"
  21. TBhtml += "</TD>"
  22. TBhtml += "<TD ALIGN=RIGHT HEIGHT=20 STYLE='padding-top:0px;padding-bottom:0px;margin-top:0px;margin-bottom:0px'><IMG SRC=/include/images/mslogo.gif></TD>"
  23. TBhtml +="</TR>"
  24. TBhtml += "<TR><TD COLSPAN='3' HEIGHT='20' VALIGN='MIDDLE' NOWRAP=''>"
  25. TBhtml += BuildLinkString( headerinciamgeurl , L_headerincalinkhomemenuitem_TEXT );
  26. TBhtml += separator
  27. TBhtml += BuildLinkString( 'cerintro.asp', L_headerincalinkcermenuitem_TEXT );
  28. TBhtml += separator
  29. TBhtml += BuildLinkString( headerincworldwideurl, L_headerincalinkworldmenuitem_TEXT );
  30. //TBhtml += "</TD></TR></TABLE></SPAN>"
  31. TBhtml += "</TD>"
  32. TBhtml += "<TD ALIGN=RIGHT>" + g_AddSignoutLogo + "<IMG SRC='/include/images/iptrans.gif' WIDTH=20 HEIGHT=1 BORDER='0' ALT=''></TD>";
  33. TBhtml += "</TR></TABLE></SPAN>";
  34. document.write( TBhtml );
  35. }
  36. function BuildLinkString ( URL, text )
  37. {
  38. var temp
  39. temp = "<FONT FACE='Verdana, Arial' SIZE='1'><B>&nbsp;&nbsp;"
  40. temp += "<A STYLE='color:#FFFFFF;text-decoration:none;' HREF='" + URL + "'><FONT COLOR='#FFFFFF'>" + text + "</FONT></A>"
  41. temp += "&nbsp;&nbsp;</B></FONT>"
  42. return ( temp )
  43. }