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.

477 lines
16 KiB

  1. <HTML>
  2. <HEAD>
  3. <META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=iso-8859-1">
  4. <STYLE>
  5. font{font-family:"Verdana";font-size:8pt;color:#000000}
  6. A:hover.defaultA{color:#999966}
  7. A:hover.bodyTopLine{color:#999966}
  8. .bodyTopLine {#color:000000}
  9. .sectionHead{font-weight:bold}
  10. .sectionNotify{color:#CCCC99;}
  11. .headerCell{background-color:#CCCC99;width:140px;height:18px}
  12. .headerCellLine{background-color:#CCCC99;width:246px;height:1px}
  13. .messagesCell{font-family:"Verdana";font-size:8pt;color:#000000}
  14. .defaultA{color:#000000;cursor:hand}
  15. .dropMenuStyle{border:1 solid #000000;background-color:#777777;width:160px;}
  16. .menuCell{padding-left:18px;padding-bottom:6px;padding-top:6px}
  17. .menuText{color:#CCCC99;}
  18. .tipsFrameStyle{position:relative;top:0;left:0;visibility:hidden;height:100%;width:100%;vertical-align:top;}
  19. .tipsBodyText{position:relative;top:0;left:0;visibility:visible;height:100%;width:100%;filter: revealTrans;}
  20. .tipsNavText{font-family:"Verdana";font-size:8pt;color:#CCCC99;text-decoration:none}
  21. .tipsNavAll {color:#CCCC99;text-decoration:none}
  22. A:visited.tipsNavText {color:#CCCC99}
  23. A:visited.tipsNavAll {color:#CCCC99}
  24. A:hover.tipsNavText {color:#FFFFFF}
  25. A:hover.tipsNavAll {color:#FFFFFF}
  26. A:active.tipsNavAll {color:#FFFFFF}
  27. A:active.tipsNavText {color:#FFFFFF}
  28. .headerLinks{font-family:"Verdana";font-size:8pt;color:#000000}
  29. .username{font-family:"Verdana";font-size:8pt;color:#FFFFFF;font-weight:bold;}
  30. .menuName{font-family:"Verdana";font-size:8pt;font-weight:bold;color:#CCCCCC}
  31. .toggleStyle{color:#CCCC99;text-decoration:none}
  32. .tipsStyle{font-family:"Verdana";font-size:8pt;font-weight:bold;color:#CCCC99;text-decoration:none}
  33. A:visited.tipsStyle {color:#CCCC99}
  34. A:visited.tipsStyle {color:#CCCC99}
  35. A:hover.tipsStyle {color:#FFFFFF}
  36. A:hover.tipsStyle {color:#FFFFFF}
  37. A:active.tipsStyle {color:#FFFFFF}
  38. A:active.tipsStyle {color:#FFFFFF}
  39. A:hover.toggleStyle{color:#FFFFFF}
  40. A:visited.toggleStyle{color:#CCCCCC}
  41. A:hover.headerLinks{color:#CCCC99}
  42. A:visited.headerLinks{color:#000000}
  43. A:hover.menuName{color:#FFFFFF}
  44. </STYLE>
  45. </HEAD>
  46. <script language="Javascript">
  47. var statTipsToggle = true;
  48. var statTipsPageNumber = 0;
  49. var tipsTranStatus = 0;
  50. var cMail = 0;
  51. var L_SetupNewsAccount_Text = "<a class=defaultA ondragstart=\"nodrag()\" href=oecmd:newNewsAccount>Set up a Newsgroups account...</a>";
  52. var L_NewNewsMessage_Text = "<img src=Nnews.gif> Create a <a href=\"oecmd:newNewsMessage\" ondragstart=\"nodrag()\" class=defaultA>new News message</a>";
  53. var L_ReadNews_Text = "<a class=defaultA ondragstart=\"nodrag()\" href=\"oecmd:readNews\">Read News</a>";
  54. var L_SubscribeNews_Text = "<img src=Ngroups.gif> Subscribe to <a class=defaultA ondragstart=\"nodrag()\" href=\"oecmd:subscribeNews\" >Newsgroups...</a>";
  55. var L_OpenTipsPane_Text = "Open tips pane";
  56. var L_CloseTipsPane_Text = "Closes tips pane";
  57. var L_NextTip_Text = "Show next tip";
  58. var L_PrevTip_Text = "Show previous tip";
  59. var L_LogoPre_Text = "Go to";
  60. var L_LogoPost_Text = " "; <!--must have at least a space!!-->
  61. var L_tips_text = "Tips";
  62. var tmpStatus = "";
  63. var L_PrevArrow_Text = "NPrev.gif";
  64. var L_NextArrow_Text = "Nnext.gif";
  65. var L_Prev_W_Arrow_Text = "Nprev_w.gif";
  66. var L_Next_w_Arrow_Text = "Nnext_w.gif";
  67. var statusObj = new Array(new statusObjConst("tipGRCText", L_OpenTipsPane_Text),
  68. new statusObjConst("tipsBox", L_CloseTipsPane_Text),
  69. new statusObjConst("tipArrow", L_OpenTipsPane_Text),
  70. new statusObjConst("tipsCloseBoxAnchor",L_CloseTipsPane_Text),
  71. new statusObjConst("ridPrevTip", L_PrevTip_Text),
  72. new statusObjConst("ridNextTip", L_NextTip_Text),
  73. new statusObjConst("prevAnchor", L_PrevTip_Text),
  74. new statusObjConst("nextAnchor", L_NextTip_Text));
  75. function statusObjConst(p_ID,p_statusStr){
  76. this.statusID=p_ID
  77. this.statusStr=p_statusStr
  78. return this
  79. }
  80. function document.onmouseover(){
  81. setStatus(window.event.srcElement,'event')
  82. }
  83. function setStatus(p_obj,p_mode){
  84. switch(p_mode){
  85. case 'event':
  86. eID = window.event.srcElement
  87. break;
  88. case 'ID':
  89. eID = p_obj
  90. break;
  91. default:
  92. }
  93. for(nn=0;nn <= statusObj.length - 1;nn++){
  94. //alert(eID_ID + ":" + statusObj[nn].statusID)
  95. if (eID == document.all(statusObj[nn].statusID)){
  96. window.status = statusObj[nn].statusStr
  97. tmpStatus = statusObj[nn].statusStr
  98. //alert('got it:' + nn)
  99. window.event.cancelBubble=true
  100. setTimeout('pushStatus()',0); //forces into status window ASAP
  101. break;
  102. }
  103. }
  104. //window.status = e.srcElement.name
  105. window.event.cancelBubble=true
  106. }
  107. function pushStatus(){ //used by mouseover to force status display
  108. window.status = tmpStatus
  109. tmpStatus = ""
  110. }
  111. function document.onmouseout(){
  112. clearStatus();
  113. }
  114. function clearStatus(){
  115. window.status = ""
  116. window.event.cancelBubble = true
  117. }
  118. function toggleLogo(p_mode){
  119. logoHref = msnlink.href;
  120. document.all("logoPreText").innerText = L_LogoPre_Text
  121. document.all("logoPostText").innerText = L_LogoPost_Text
  122. document.all("logoPreText").href = logoHref
  123. document.all("logoPostText").href = logoHref
  124. document.all("logoImage").href = logoHref
  125. if(p_mode){
  126. document.all("logoDiv").style.visibility="visible"
  127. }else{
  128. document.all("logoDiv").style.visibility="hidden"
  129. }
  130. return false;
  131. }
  132. function updateAccountInfo()
  133. {
  134. if (OutlookExpress.newsAccounts != null)
  135. {
  136. cNews = OutlookExpress.newsAccounts;
  137. if (cNews == 0)
  138. {
  139. newsRow1.innerHTML = L_SetupNewsAccount_Text;
  140. newsRow2.innerHTML = "";
  141. newsRow3.innerHTML = "";
  142. newsRow4.innerHTML = "";
  143. }
  144. else
  145. {
  146. newsRow1.innerHTML = L_NewNewsMessage_Text;
  147. newsRow2.innerHTML = L_ReadNews_Text;
  148. newsRow3.innerHTML = L_SubscribeNews_Text;
  149. newsRow4.innerHTML = L_SetupNewsAccount_Text;
  150. }
  151. }
  152. }
  153. function window.onload()
  154. {
  155. updateAccountInfo();
  156. if (OutlookExpress.optShowTips != null)
  157. {
  158. statTipsPageNumber = Math.floor(Math.random()*(OutlookExpress.tipCount-1));
  159. statTipsToggle = !OutlookExpress.optShowTips;
  160. stattiptext.innerHTML = OutlookExpress.tips(statTipsPageNumber);
  161. tipsToggle();
  162. toggleLogo(OutlookExpress.hotmailEnabled);
  163. }
  164. // fire notification to show page
  165. OutlookExpress.loadComplete();
  166. }
  167. function nextTip(p_dir){
  168. if(p_dir == 'next'){
  169. statTipsPageNumber ++
  170. if (statTipsPageNumber == OutlookExpress.tipCount)
  171. statTipsPageNumber = 0;
  172. displayTips(6,7)
  173. return
  174. }
  175. if(p_dir == 'prev'){
  176. statTipsPageNumber--;
  177. if (statTipsPageNumber < 0)
  178. statTipsPageNumber = OutlookExpress.tipCount-1;
  179. displayTips(7,6)
  180. return
  181. }
  182. }
  183. function displayTips(p_transOff,p_transOn){
  184. if (tipsTranStatus == 0){
  185. tipsTranStatus = p_transOn
  186. stattiptext.filters.revealTrans.Apply()
  187. stattiptext.filters.revealTrans.Transition = p_transOff
  188. stattiptext.style.visibility ="hidden"
  189. stattiptext.filters.revealTrans.Play(.5)
  190. }
  191. }
  192. function showText(p_trans){
  193. if (tipsTranStatus == p_trans){
  194. tipsTranStatus = 1
  195. stattiptext.filters.revealTrans.Apply()
  196. stattiptext.filters.revealTrans.Transition = p_trans
  197. stattiptext.innerHTML = OutlookExpress.tips(statTipsPageNumber)
  198. stattiptext.style.visibility ="visible"
  199. stattiptext.filters.revealTrans.Play(.5)
  200. }
  201. }
  202. function tipsToggle(){
  203. if(statTipsToggle){
  204. statTipsToggle = false
  205. hideMe(document.all("tipsFrame"));
  206. hideMe(document.all("stattiptext"));
  207. menushowMe(document.all("tipsMenuMess"));
  208. document.all("backImgCell").style.width="0%"
  209. }else{
  210. statTipsToggle = true
  211. showMe(document.all("tipsFrame"));
  212. showMe(document.all("stattiptext"));
  213. menuhideMe(document.all("tipsMenuMess"));
  214. document.all("backImgCell").style.width="25%"
  215. }
  216. OutlookExpress.optShowTips = statTipsToggle;
  217. }
  218. function hideMe(p_obj){
  219. p_obj.style.visibility="hidden";
  220. }
  221. function showMe(p_obj){
  222. p_obj.style.visibility="visible";
  223. }
  224. function menuhideMe(p_obj){
  225. var tmpStr = '<font class=tipsStyle>&nbsp;</font>'
  226. p_obj.innerHTML=tmpStr
  227. }
  228. function menushowMe(p_obj){
  229. var tmpStr = '<a ondragstart="nodrag()" href="oecmd:noop" class=tipsStyle onclick="this.blur;tipsToggle();return false;" id=tipGRCText '
  230. tmpStr += 'onmouseOver="objHilite(document.all(\'tipArrow\'),\'NTips_w.gif\');return false" '
  231. tmpStr += 'onfocus="objHilite(document.all(\'tipArrow\'),\'NTips_w.gif\');setStatus(this,\'ID\');return false" '
  232. tmpStr += 'onmouseOut="objHilite(document.all(\'tipArrow\'),\'NTips_y.gif\');return false">'
  233. tmpStr += L_tips_text + '<img src="NTips_y.gif" border=0 id=tipArrow align="bottom" hspace=4 WIDTH="9" HEIGHT="5"></a>'
  234. p_obj.innerHTML=tmpStr
  235. }
  236. function nodrag()
  237. {
  238. window.event.returnValue=false;
  239. }
  240. function objHilite(p_obj,p_color){
  241. //error check for disappearing objects here
  242. if(p_obj == null){
  243. return false
  244. }
  245. if(p_obj.tagName.toUpperCase() != "IMG"){
  246. p_obj.style.color=p_color;
  247. }else{
  248. p_obj.src=p_color
  249. }
  250. }
  251. </script>
  252. <script for="stattiptext" event="onfilterchange">
  253. if(tipsTranStatus > 1){
  254. showText(tipsTranStatus)
  255. }else{
  256. tipsTranStatus = 0
  257. }
  258. </script>
  259. <body bgcolor=#FFFFFF leftmargin=0 topmargin=0 rightmargin=0 bottommargin=0">
  260. <OE:Application id=OutlookExpress>
  261. <SCRIPT for=OutlookExpress event=onNewMail>
  262. updateUnreadMail()
  263. </SCRIPT>
  264. <SCRIPT for=OutlookExpress event=onAccountChange>
  265. updateAccountInfo()
  266. </SCRIPT>
  267. <table border=0 cellpadding=0 cellspacing=0 width=100% height=100%>
  268. <tr>
  269. <td valign=top width=100% colspan=2>
  270. <table dir=ltr border=0 cellpadding=0 cellspacing=0 width=100% height=50 bgcolor=#FFFFFF>
  271. <tr>
  272. <td width=141 align=left><img src="outlook.gif"></td>
  273. <td valign=middle align=right style="height:25px;"><div id=logoDiv style="vertical-align:middle;font-family:"Verdana";font-size:8pt;color:#000000"><a class=defaultA style="text-decoration:none">
  274. <table cellpadding=0 cellspacing=0 border=0 style="height:25px"><tr><td valign=middle id="logoPreTextLoc"><font class=sectionHead><a class=defaultA style="text-decoration:none" id=logoPreText>Go to</a></font></td><td><a id=logoImage class=defaultA style="text-decoration:none"><img src="MSNLink.gif" align=middle border=0></a></td><td><font class=sectionHead><a class=defaultA style="text-decoration:none" id=logoPostText></a></font></td></tr></table></a></div></td>
  275. </tr>
  276. <tr><td width=141 align=left><img src="newreader.gif"></td>
  277. <td style="height:22px;background-color:#000000;padding-bottom:2px;" valign=bottom class=userName>
  278. <nobr></nobr></td>
  279. </tr>
  280. </table>
  281. </td>
  282. </tr>
  283. <!-- new tips band area-->
  284. <tr><td colspan="2" style="height:18" ID="ridTipsTable" align="right">
  285. <span id="tipsMenuON" style="height:18;visibility:visible;overflow:clip">
  286. <table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#777777">
  287. <tr> <td ID="ridFindMessage" style="padding-bottom:4;padding-left:5;padding-right:9;height:18" align="right" valign="bottom"><nobr id="findMssLoc">
  288. <a ondragstart="nodrag()" id="findMss" href="oecmd:findMessage" class="menuName" style="text-decoration:underline">Find a Message...</a>
  289. &nbsp;&nbsp;
  290. <span id="tipsMenuMess" class="tipsStyle"></span></nobr></td>
  291. </tr></table></span>
  292. </td></tr>
  293. <!-- end new tips band area-->
  294. <tr>
  295. <td width=75% valign=top>
  296. <table border=0 cellpadding=0 cellspacing=0 width=100% height=100%>
  297. <tr><td style="height:4%;width=100%"></td></tr>
  298. <tr>
  299. <td align=left valign=top>
  300. <table border=0 cellpadding=0 cellspacing=0 width=100% height=100%>
  301. <tr><td style="height:15%;width:100%"></td></tr>
  302. <tr><td>
  303. <table border=0 cellpadding=0 cellspacing=0 width=246>
  304. <tr>
  305. <td ID=ridCell3 class=headerCell><font class=sectionHead>&nbsp;Newsgroups</font></td>
  306. <td width=106>&nbsp;</td>
  307. </tr>
  308. <tr>
  309. <td colspan=2 class=headerCellLine></td>
  310. </tr>
  311. </table></td>
  312. </tr>
  313. <tr>
  314. <td valign=top class=messagesCell colspan=3>
  315. <table border=0 cellpadding=0 cellspacing=0 width=100% height=100%>
  316. <tr><td rowspan=4 width=15%></td>
  317. <td valign=middle>
  318. <font>
  319. <span id=newsRow1 style="height:16">
  320. </span></font></td>
  321. </tr>
  322. <tr>
  323. <td valign=middle>
  324. <font>
  325. <span id=newsRow2 style="height:16">
  326. </span></font></td>
  327. </tr>
  328. <tr>
  329. <td valign=middle>
  330. <font>
  331. <span id=newsRow3 style="height:16">
  332. </span></font></td>
  333. </tr>
  334. <tr>
  335. <td valign=middle>
  336. <font>
  337. <span id=newsRow4 style="height:16">
  338. </span></font></td>
  339. </tr>
  340. </table></td></tr>
  341. <tr><td></td><td></td><td></td></tr>
  342. <tr><td style="height:25%;width:100%"></td></tr>
  343. </table>
  344. </td>
  345. </tr>
  346. </table>
  347. </td>
  348. <td width=25% style="height:100%">
  349. <div id=tipsFrame class=tipsFrameStyle style="visibility:visible">
  350. <table style="height:100%" border=0 cellpadding=0 cellspacing=0 width=100% bgcolor=#CCCCCC >
  351. <tr>
  352. <td valign=top width=100%>
  353. <table border=0 cellpadding=0 cellspacing=0 width=100%>
  354. <tr><td style="height:4px"></td></tr>
  355. <tr>
  356. <td style="width:6px"></td>
  357. <td valign=middle style="height:18px"><font class=sectionHead><nobr id=ridTOD>Tip of the day</nobr></font></td>
  358. <td align=right align=right>
  359. <a id=tipsCloseBoxAnchor ondragstart="nodrag()" href="oecmd:noop" onmouseover="document.all('tipsBox').src='NCloseUp.gif'" onmouseout="document.all('tipsBox').src='NClose.gif'" onfocus="setStatus(this,'ID');return false;" onblur="clearStatus();return false;" onclick="this.blur;tipsToggle();return false;">
  360. <img name="tipsBox" src="NClose.gif" height=17 width=20 border=0></td>
  361. </tr>
  362. <tr><td style="height:12px"></td><tr>
  363. <tr><td style="width:6px" rowspan=2></td>
  364. <td ID="ridTipOfTheDay" valign=top align=left class=messagesCell colspan=2 style="padding-right:6px">
  365. <div id=stattiptext class=tipsBodyText>
  366. &nbsp;
  367. </div></td>
  368. </tr>
  369. </table>
  370. </td>
  371. <tr>
  372. <td valign=bottom width=100%>
  373. <table border=0 cellpadding=0 cellspacing=0 width=100% height=25>
  374. <tr>
  375. <td style="height:25px;background-color:#000000" valign=middle align=left class=tipsNavText>
  376. <a ondragstart="nodrag()" href="oecmd:noop" class=tipsNavAll id=prevAnchor
  377. onclick="nextTip('prev');return false;"
  378. onmouseOver="objHilite(document.all('prevarrow'),L_Prev_W_Arrow_Text);return false"
  379. onmouseOut="objHilite(document.all('prevarrow'),L_PrevArrow_Text);return false"
  380. onfocus="setStatus(this,'ID');return false;" onblur="clearStatus();return false;">
  381. <nobr id=ridPrevTip><img src="NPrev.gif" border=0 id=prevarrow align="middle" hspace=4>Previous</a></nobr></td>
  382. <td style="height:25px;background-color:#000000" valign=middle align=middle>&nbsp;&nbsp;</td>
  383. <td style="height:25px;background-color:#000000" valign=middle align=right class=tipsNavText>
  384. <a ondragstart="nodrag()" href="oecmd:noop" class=tipsNavAll id=nextAnchor
  385. onclick="nextTip('next');return false;"
  386. onmouseOver="objHilite(document.all('nextarrow'),L_Next_w_Arrow_Text);return false"
  387. onmouseOut="objHilite(document.all('nextarrow'),L_NextArrow_Text);return false"
  388. onfocus="setStatus(this,'ID');return false;" onblur="clearStatus();return false;"
  389. ><nobr id=ridNextTip>Next<img src="Nnext.gif" border=0 id=nextarrow align="middle" hspace=4></a></nobr></td>
  390. </tr>
  391. </table>
  392. </td>
  393. </tr>
  394. </table>
  395. </div>
  396. </td>
  397. </tr>
  398. </table>
  399. </body>
  400. <div id="backImage" style="position:absolute;top:0;left:0;z-index:-1;height:100%;width:100%;overflow:clip;align:right">
  401. <table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
  402. <tr><td height="40" colspan="3">&nbsp;</td></tr>
  403. <tr><td height="18" bgcolor="#777777" colspan="3">&nbsp;</td></tr>
  404. <tr><td style="height:100%"></td><td background="bodyOtlk.jpg" valign="top" align="right" width="224" height="100%">&nbsp;</td><td style="width:0%" id="backImgCell"></td></tr></table></div>
  405. <A id=msnlink STYLE="display:none"></a>
  406. </html>