home *** CD-ROM | disk | FTP | other *** search
/ ftp.tcs3.com / ftp.tcs3.com.tar / ftp.tcs3.com / DRIVERS / Audio / Office2010 / ProPlus.WW / ProPsWW.cab / FORMSIMAGETEMPLATE.HTML5 < prev    next >
Text File  |  2007-02-04  |  2KB  |  78 lines

  1. <!-- /*********************************************************************
  2.                                  Notice
  3.  
  4. You may not modify, use, copy or distribute this file or its contents. 
  5. Internal interfaces referenced in this file are nonpublic, unsupported 
  6. and subject to change without notice. These interfaces may not be 
  7. utilized in other software applications or components.
  8.  
  9.  
  10. *********************************************************************/ -->
  11.  
  12. <!-- saved from url=(0025)http://www.microsoft.com/ -->
  13.  
  14. <HTML>
  15. <HEAD>
  16.     <SCRIPT LANGUAGE="JavaScript">
  17.     document.onkeydown = keyDownEvent;
  18.     document.oncontextmenu = contextMenuEvent;
  19.  
  20.     function keyDownEvent()
  21.     {
  22.         event.returnValue = false;
  23.     }
  24.  
  25.     function contextMenuEvent()
  26.     {
  27.         event.returnValue = false;
  28.     }
  29.  
  30.     function imageDocumentReady(i_Ready)
  31.     {
  32.         window.external.GetScriptDispatch().ImageDocumentReady(i_Ready);
  33.     }
  34.  
  35.     function setImagePath(i_Path)
  36.     {
  37.         var ImagePath, InfoDisplay;
  38.         if (i_Path != "")
  39.         {
  40.             ImagePath = "<IMG SRC=\"" + i_Path + "\">";
  41.             InfoDisplay = "none";
  42.         }
  43.         else
  44.         {
  45.             ImagePath = "";
  46.             InfoDisplay = "inline";
  47.         }
  48.  
  49.         var objDivImageContainer = document.getElementById("divImageContainer");
  50.         if (objDivImageContainer != null)
  51.             objDivImageContainer.innerHTML = ImagePath;
  52.  
  53.         var objTableNoImageInfo = document.getElementById("tableNoImageInfo");
  54.         if (objTableNoImageInfo != null)
  55.             objTableNoImageInfo.style.display = InfoDisplay;
  56.     }
  57.     </SCRIPT>
  58. </HEAD>
  59. <BODY STYLE="padding:0px; margin:0px;" SCROLL="auto" ONLOAD="imageDocumentReady(true);">
  60.  
  61. <TABLE ID="tableNoImageInfo" STYLE="display:none;" CELLPADDING="0" CELLSPACING="0" BORDER="0" WIDTH="98%" HEIGHT="90%" ALIGN="center">
  62. <TR>
  63.     <TD VALIGN="middle" ALIGN="center">
  64.         <FONT STYLE="font-family:tahoma,verdana,sans-serif; font-size:11pt; font-weight:bold; color:#BFBFBF;">
  65.             <SCRIPT LANGUAGE="JavaScript" SRC="utilityfunctions.js"></SCRIPT>
  66.             <SCRIPT LANGUAGE="JavaScript">
  67.             // IDS_FORMS_TOOL_JS_BROWSE_IMAGE
  68.             document.write(window.external.GetScriptDispatch().GetResourcedString(IDS_FORMS_TOOL_JS_BROWSE_IMAGE));
  69.             </SCRIPT>
  70.         </FONT>
  71.     </TD>
  72. </TR>
  73. </TABLE>
  74.  
  75. <DIV ID="divImageContainer"><DIV>
  76.  
  77. </BODY>
  78. </HTML>