home *** CD-ROM | disk | FTP | other *** search
/ .net 1998 August / netCD48.iso / mac / net / SoftCen / ie5 / IE5 / IE_S2.CAB / IE_2.CAB / SHDOCVW.DLL / HTML / ABOUT.DLG next >
Text File  |  1998-06-03  |  20KB  |  596 lines

  1. <HTML id=dlgAbout STYLE="width: 25.9em; height: 22em">
  2. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  3. <head>
  4. <TITLE>
  5. About Internet Explorer
  6. </TITLE>
  7. <style>
  8. .versionformat {
  9.  color: black;
  10.  font-family: MS Sans Serif;
  11.  font-size: 8pt;
  12.  position: absolute;
  13.  left: 0em;
  14.  top: 0em;
  15.  height: 2em;
  16.  width:25em;
  17.  z-index: 20;
  18. }
  19. .textformat {
  20.  color: black;
  21.  font-family: MS Sans Serif;
  22.  font-size:8pt;
  23.  position: absolute;
  24.  left: 10.2em;
  25.  top: 19.8em; 
  26.  height: 3em;
  27.  width:26.5em;
  28. }
  29. .logo {
  30.  color: LIGHTGREY;
  31.  font-family: MS Sans Serif;
  32.  font-size:40pt;
  33.  position: absolute;
  34.  left: 1.9em;
  35.  top: 4.5em;
  36.  height: 0.5em;
  37.  width:1em;
  38.  z-index: -1;
  39. }
  40. .button {
  41.  position: absolute;
  42.  top: 28em;
  43.  width: 7em;
  44.  height: 2.2em;
  45.  color: black;
  46.  font-family: MS Sans Serif;
  47.  font-size:8pt;
  48.  cursor: hand;
  49.  z-index: 100;
  50. }
  51. </style>
  52. </head>
  53. <body id=bodyid onload="OnPageLoad()" onfilterchange="bodyOnFilterChange()" onkeydown="bodyOnKeyDown()" bgcolor="white" scroll=no leftmargin=0 topmargin=0 rightmargin=0 bottommargin=0 style="border:none">
  54. <!--Graphics -->
  55. <div id="allPic" STYLE="width:25em;position: absolute; top: 0px;left:0px;font-family: MS Sans Serif;font-size: 8pt; z-index: 13;">
  56. </div>
  57. <img src="ie256.gif" id="ID_IE" CLASS="Movable" style="position:absolute; left:0; top:0; width:0; height:0; visibility:hidden; z-index: 10;" FinalHeight=44, FinalWidth=39, FinalX=353, FinalY=0>
  58. <img src="world256.gif" id="ID_World"
  59.  style="position:absolute; left:0px; top:0px; width:0; height:0; visibility:hidden; z-index: 3;"
  60.  FinalHeight=86, FinalWidth=86, FinalX=12, FinalY=56 nOrigLeft=86, nOrigTop=86>
  61. <img src=ietxt256.bmp id="ID_IEText" style="position:absolute; left:104px; top:61px; width:269px; height:109px; visibility:hidden; z-index:100" alt="Microsoft Internet Explorer"
  62. SuperClass="Flingable" xDelta="0" yDelta="0" reqDirX=1 reqDirY=0 nScore=2>
  63. <img src=lines256.bmp id=lines style="position:absolute;left:0;top:0;visibility:hidden">
  64. <div nowrap id="versionDetails" class=versionformat style="color: white; left: 10.2em;top: 15.7em">
  65. Version <SPAN id=spaVersion ></SPAN><br>
  66. Cipher Strength: <SPAN id=spaCipher ></SPAN><br>
  67. <span id=minorversion></SPAN><br>
  68. </div>
  69. <div id="userInfo" class=textformat style="visibility:hidden;z-index: 10;line-height: 140%">
  70. <SPAN id=spaText>Product ID: <SPAN id=pID></SPAN></SPAN>
  71. <BR><A href="" id=copyrightLink onclick="copyrightclick()" > Copyright Information</A><!-- onmouseover="copyrightmouseover()" onmouseout="copyrightmouseout()" -->
  72. </div>
  73. <DIV id="copyrightDetails" class=textformat style="visibility:hidden">
  74. Based on NCSA Mosaic. NCSA Mosaic(TM); was developed at the National Center for
  75. Supercomputing Applications at the University of Illinois at Urbana-Champaign. Distributed under a
  76. licensing agreement with Spyglass, Inc.
  77. </DIV>
  78. <!-- <div id="copyrightLogo" class=logo style="visibility:hidden;z-index: 9">©©©</DIV> -->
  79. <DIV id="copyrightDetails2" class=textformat style="visibility:hidden">
  80. <P id="copyright2_1">Contains security software licensed from<BR>RSA Data Security Inc.</P>
  81. <p id="copyright2_2" style="position: relative; top: -0.5em">Portions of this software are based in part<BR>on the work of the Independent
  82. JPEG Group.</P>
  83. </DIV>
  84. <DIV id="copyrightDetails3" class=textformat style="visibility:hidden">
  85. <p id="copyright3_1">Contains SOCKS client software licensed from<BR>Hummingbird Communications Ltd</P>
  86. <p id="copyright3_2 "style="position: relative; top: -0.5em">Contains ASN.1 software licensed from<BR>Open Systems Solutions, Inc.</P>
  87. </DIV>
  88. <DIV id="copyrightDetails4" class=textformat style="visibility:hidden">
  89. <p id="copyright4_1">Multimedia software components, including Indeo(R); video, Indeo(R) audio, and Web Design Effects are provided by Intel Corp</P>
  90. </DIV>
  91. <DIV id=warning class=textformat style="visibility:hidden">
  92. Warning: This computer program is protected by copyright law and
  93. international treaties. Unauthorized reproduction or distribution of
  94. this program, or any portion of it, may result in severe civil and
  95. criminal penalties, and will be prosecuted to the maximum extent
  96. possible under the law.
  97. </div>
  98. <div id=gettingStarted class=textformat style="visibility:hidden;line-height:175%">
  99. <div id=techSupport style="visibility:hidden"><a href="http://www.microsoft.com/iesupport/">Technical Support</a></div>
  100. <DIV id=copyrightMicrosoft style="visibility:hidden"><a href="http://www.microsoft.com/" id="copyright">Copyright ©1995-98 Microsoft Corp.</a><span id="rightsReserved"><BR>All rights reserved.</span></DIV>
  101. </DIV>
  102. <BUTTON id="backButton" class=button accessKey="B" onClick="backButtononclick()" style="left: 31.5em; visibility: hidden">< <U>B</U>ack</BUTTON> <!-- onmouseover="buttonOnMouseOver()" onmouseout="buttonOnMouseOut()" -->
  103. <BUTTON id="nextButton" class=button accessKey="N" onClick="nextButtononclick()" style="left: 31.5em; visibility: hidden"><U>N</U>ext ></BUTTON> <!-- onmouseover="buttonOnMouseOver()" onmouseout="buttonOnMouseOut()" -->
  104. <BUTTON id="okButton" class=button onClick="window.close();" style="left: 29.5em; visibility: hidden">OK</BUTTON> <!-- onmouseover="buttonOnMouseOver()" onmouseout="buttonOnMouseOut()" -->
  105. <BUTTON id="ID_Lock" class=button onClick="UnLock(ID_Lock);" style="left:104px; top:61px; visibility: hidden; z-index:1">Unlock</BUTTON>
  106. <SCRIPT language=javascript>
  107. window.onerror = HandleError;
  108. var isMMInstalled=0; 
  109. var beforeLinksDivCount=5;
  110. var totaldivCount=8;
  111. var noReEntry=0;
  112. var curDiv=0;
  113. var fade=0;
  114. var backwards=0;
  115. divNames = new Object();
  116. divNames[0]="userInfo";
  117. divNames[1]="copyrightDetails";
  118. divNames[2]="copyrightDetails2";
  119. divNames[3]="copyrightDetails3";
  120. divNames[4]="copyrightDetails4";
  121. divNames[5]="warning";
  122. divNames[6]="gettingStarted";
  123. divNames[7]="techSupport";
  124. divNames[8]="copyrightMicrosoft";
  125. var g_nFinalGrowth = 12;
  126. var g_nCurrGrowth = 0;
  127. var g_nDragOffsetX=0;
  128. var g_nDragOffsetY=0;
  129. var g_fInDrag=0;
  130. var g_nStep=0;
  131. var g_nMaxStepHistory=4;
  132. var g_szPrevElement="";
  133. var g_cFlungObjects=0;
  134. var g_nScore=0;
  135. var g_nScoreNeeded=3; 
  136. FlingingItems = new Object();
  137. CursorHistoryX = new Object();
  138. CursorHistoryY = new Object();
  139. var g_nWobbleAmount = 4;
  140. function HandleError(message, url, line)
  141. {
  142. var L_Dialog_ErrorMessage = "An error has occured in this dialog.";
  143. var L_ErrorNumber_Text = "Error: ";
  144. var str = L_Dialog_ErrorMessage + "\n\n"
  145.  + L_ErrorNumber_Text + line + "\n"
  146.  + message;
  147. alert (str);
  148. window.close();
  149. return true;
  150. }
  151. function OnPageLoad()
  152. {
  153. var L_UpdateVersions_Text = "Update versions: ";
  154. if(window.screen.colorDepth<8)
  155. {
  156.  document.all["ID_IE"].src="ie.gif";
  157.  document.all["ID_World"].src="world.bmp";
  158.  document.all["lines"].src="lines.bmp";
  159.  document.all["ID_IEText"].src="ietext.bmp";
  160. }
  161. else
  162.  document.body.bgColor="#F8F8F8";
  163. if(isMMInstalled==1)
  164. {
  165.  for(i=0;i<=beforeLinksDivCount;i++)
  166.  {
  167.   document.all[divNames[i]].style.filter="blendTrans(duration=0.5)";
  168.   document.all[divNames[i]].onfilterchange="onfilterchangeHandler()";
  169.  }
  170.  for(i=beforeLinksDivCount+1;i<=totaldivCount;i++)
  171.  {
  172.   document.all[divNames[i]].style.filter="blendTrans(duration=0.5)";
  173.   document.all[divNames[i]].onfilterchange="onfilterchangeHandlerLinks()";
  174.  }
  175.  document.all.copyrightLogo.style.filter="blendTrans(duration=0.5)";
  176. }
  177. if ((null != window.dialogArguments))
  178. {
  179.  arrArgs = window.dialogArguments.split("~");
  180.  spaVersion.innerText = arrArgs[0];
  181.  if (arrArgs[3] == "168") spaCipher.innerText = "128-bit";
  182.  if (arrArgs[3] == "128") spaCipher.innerText = "40-bit";
  183.  pID.innerText=arrArgs[4];
  184. }
  185. var mv=window.navigator.appMinorVersion;
  186. if(mv!="0") minorversion.innerText=L_UpdateVersions_Text + mv;
  187. spaText.innerText = spaText.innerText;
  188. backButton.style.posLeft=okButton.style.posLeft-15.3;
  189. nextButton.style.posLeft=okButton.style.posLeft-7.6;
  190. allPic.style.pixelLeft=userInfo.offsetLeft-103;
  191. allPic.style.pixelTop=(versionDetails.offsetTop-170)/2;
  192. document.all["ID_World"].style.visibility="";
  193. document.all["ID_IE"].style.visibility="";
  194. document.all["ID_IE"].FinalX=allPic.style.posLeft+350;
  195. document.all["ID_IE"].FinalY=allPic.style.posTop+0;
  196. document.all["ID_World"].FinalX=allPic.style.posLeft+10;
  197. document.all["ID_World"].FinalY=allPic.style.posTop+50;
  198. document.all["ID_World"].nOrigLeft=document.all["ID_World"].FinalX;
  199. document.all["ID_World"].nOrigTop=document.all["ID_World"].FinalY;
  200. window.setTimeout("DoGrow();",100);
  201. }
  202. function DoGrow()
  203. {
  204. g_nCurrGrowth += 1;
  205. ID_World.style.posHeight = Math.round(parseInt(ID_World.FinalHeight) * (g_nCurrGrowth/g_nFinalGrowth));
  206. ID_World.style.posWidth = Math.round(parseInt(ID_World.FinalWidth) * (g_nCurrGrowth/g_nFinalGrowth));
  207. ID_World.style.posLeft = Math.round(parseInt(ID_World.FinalX) * (g_nCurrGrowth/g_nFinalGrowth));
  208. ID_World.style.posTop = Math.round(parseInt(ID_World.FinalY) * (g_nCurrGrowth/g_nFinalGrowth));
  209. document.all.ID_IE.style.posHeight = Math.round(parseInt(document.all.ID_IE.FinalHeight) * (g_nCurrGrowth/g_nFinalGrowth));
  210. document.all.ID_IE.style.posWidth = Math.round(parseInt(document.all.ID_IE.FinalWidth) * (g_nCurrGrowth/g_nFinalGrowth));
  211. document.all.ID_IE.style.posLeft = Math.round(parseInt(document.all.ID_IE.FinalX) * (g_nCurrGrowth/g_nFinalGrowth));
  212. document.all.ID_IE.style.posTop = Math.round(parseInt(document.all.ID_IE.FinalY) * (g_nCurrGrowth/g_nFinalGrowth));
  213. if(g_nCurrGrowth < g_nFinalGrowth)
  214. {
  215.  window.setTimeout("DoGrow()",1);
  216. }
  217. else
  218. {
  219.  window.setTimeout("DoPics()",200);
  220. }
  221. }
  222. function DoPics() {
  223. ID_IEText.style.posTop=allPic.offsetTop+60;
  224. ID_IEText.style.posLeft=allPic.offsetLeft+98;
  225. ID_IEText.style.visibility="";
  226. ID_Lock.style.posTop=ID_IEText.style.posTop+30;
  227. ID_Lock.style.posLeft=ID_IEText.style.posLeft+100;
  228. ID_Lock.style.visibility="";
  229. lines.style.posLeft=allPic.style.posLeft+43;
  230. lines.style.posTop=allPic.style.posTop+17;
  231. lines.style.visibility="";
  232. window.setTimeout("startVersion()",500);
  233. }
  234. function startVersion() {
  235. versionDetails.style.posTop=28;
  236. versionDetails.style.color="black";
  237. DoVersion();
  238. }
  239. function DoVersion() {
  240. if (versionDetails.style.posTop>15.7) versionDetails.style.posTop=versionDetails.style.posTop-1;
  241. if (versionDetails.style.posTop<=15.7)
  242. {
  243. versionDetails.style.posTop=15.7;
  244. okButton.style.visibility="";
  245. okButton.focus();
  246. window.setTimeout("DoShow()",100);
  247. showDiv=-2;
  248. }
  249. else window.setTimeout("DoVersion()",1);
  250. }
  251. function DoShow() {
  252. if(isMMInstalled==1) document.all[divNames[curDiv]].filters[0].Apply();
  253. document.all[divNames[curDiv]].style.visibility="visible";
  254. if(isMMInstalled==1) document.all[divNames[curDiv]].filters[0].Play();
  255. else if(curDiv<=beforeLinksDivCount) onfilterchangeHandler();
  256. else onfilterchangeHandlerLinks();
  257. }
  258. function DoFade() {
  259. var divNum=DoFade.arguments[0];
  260. fade=1;
  261. if(isMMInstalled==1) document.all[divNames[divNum]].filters[0].Apply();
  262. document.all[divNames[divNum]].style.visibility="hidden";
  263. if(isMMInstalled==1) document.all[divNames[divNum]].filters[0].Play();
  264. else if(curDiv<=beforeLinksDivCount) onfilterchangeHandler();
  265. else {
  266. if(backwards==0) curDiv=curDiv-1;
  267. onfilterchangeHandlerLinks();
  268. }
  269. }
  270. function copyrightclick(){
  271. window.event.returnValue=0;
  272. if (noReEntry!=1)
  273. {
  274. backButton.style.visibility=""; 
  275. nextButton.style.visibility=""; 
  276. backButton.disabled=0;
  277. curDiv=1;
  278. noReEntry=1;
  279. DoFade(0);
  280. }
  281. }
  282. function backButtononclick(){
  283. if (noReEntry==0) {
  284. curDiv=curDiv-1;
  285. if(curDiv<0) curDiv=0;
  286. else {
  287.   noReEntry=1;
  288.   backwards=1;
  289.   DoFade(curDiv+1);
  290.   }
  291. }
  292. setButtonColor();
  293. }
  294. function nextButtononclick(){
  295. if (noReEntry==0) {
  296. curDiv=curDiv+1;
  297. if(curDiv>beforeLinksDivCount+1) curDiv=beforeLinksDivCount+1;
  298. else {
  299.   noReEntry=1;
  300.   DoFade(curDiv-1);
  301.   }
  302. }
  303. setButtonColor();
  304. }
  305. function setButtonColor() {
  306. if((curDiv==beforeLinksDivCount+1)&&(backwards==0)) {
  307. nextButton.style.color="";
  308. nextButton.disabled=1;
  309. }
  310. else {
  311.  nextButton.disabled=0;
  312.  if(curDiv==0) {
  313. backButton.style.color="";
  314. backButton.disabled=1;
  315. }
  316.  else backButton.disabled=0;
  317.  }
  318. }
  319. function bodyOnKeyDown() {
  320. if (window.event.keyCode==27) window.close();
  321. }
  322. function buttonOnMouseOver(){
  323. var srcElement=window.event.srcElement;
  324. if (((srcElement.id!="backButton")|| (backButton.disabled==0))&&((srcElement.id!="nextButton")||(nextButton.disabled==0))) window.event.srcElement.style.color="blue";
  325. }
  326. function buttonOnMouseOut(){
  327. var srcElement=window.event.srcElement;
  328. if (((srcElement.id!="backButton")|| (backButton.disabled==0))&&((srcElement.id!="nextButton")||(nextButton.disabled==0))) window.event.srcElement.style.color="";
  329. }
  330. function gettingStartedClick() {
  331. var foo="gettingstarted";
  332. window.open("res://ie4tour.dll/tour.htm#MinimalTour=1",foo,"");
  333. window.event.returnValue=false;
  334. return false;
  335. }
  336. function onfilterchangeHandler() {
  337. if(fade==1) window.setTimeout("DoShow()",100);
  338. else noReEntry=0;
  339. backwards=0;
  340. fade=0;
  341. }
  342. function onfilterchangeHandlerLinks() {
  343. if(backwards!=1) { 
  344. if(curDiv<totaldivCount)
  345.  {
  346.  curDiv=curDiv+1;
  347.  window.setTimeout("DoShow()",100);
  348.  }
  349. else noReEntry=0;
  350. }  
  351. else { 
  352. if(curDiv>beforeLinksDivCount) { 
  353.  curDiv=curDiv-1;
  354.  window.setTimeout("DoFade(" +parseInt(curDiv+1) +")",100);
  355.  }
  356. else { 
  357.  curDiv=beforeLinksDivCount;
  358.  window.setTimeout("DoShow()",100);
  359.  }
  360. }  
  361. fade=0;
  362. }
  363. var g_fWasMouseDown;
  364. function MyOnMouseDown()
  365. {
  366. g_fWasMouseDown = window.event.button;
  367. }
  368. document.onmousedown = MyOnMouseDown;
  369. function CancelEvent()
  370. {
  371. if (2 == g_fWasMouseDown)
  372. {
  373.  return true;  
  374. }
  375. return false; 
  376. }
  377. document.onselectstart = CancelEvent;
  378. document.ondragstart = CancelEvent;
  379. function OpenEEGG()
  380. {
  381. window.open("wcee.htm", "TheWCEE", "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=414,height=352");
  382. window.close();
  383. return false;
  384. }
  385. function GetIndex(nStep, nDelta)
  386. {
  387. nReturn = nStep + nDelta;
  388. if (nReturn < 0)
  389.  nReturn += g_nMaxStepHistory;
  390. if (g_nMaxStepHistory <= nReturn)
  391.  nReturn -= g_nMaxStepHistory;
  392. return nReturn;
  393. }
  394. function StartFlinging()
  395. {
  396. nStop = 1;
  397. for (j in FlingingItems)
  398. {
  399.  obj = FlingingItems[j];
  400.  if(obj.xDelta != 0) obj.style.pixelLeft += obj.xDelta;
  401.  if(obj.yDelta != 0) obj.style.pixelTop += obj.yDelta;
  402.  if ((obj.style.pixelLeft > -1000) && (obj.style.pixelLeft < 2000) &&
  403.   (obj.style.pixelTop > -1000) && (obj.style.pixelTop < 2000))
  404.   nStop = 0;
  405. }
  406. if (0 == nStop)
  407. {
  408.  window.setTimeout("StartFlinging()", 10);
  409. }
  410. }
  411. function TrackStep(x, y, e, bkey)
  412. {
  413. CursorHistoryX[g_nStep] = x;
  414. CursorHistoryY[g_nStep] = y;
  415. if ((e.SuperClass != g_szPrevElement) && (e.SuperClass == "Flingable"))
  416. {
  417.  fValidFling = 1;
  418.  if (0 == e.reqDirX)
  419.  {
  420.   nIndex = 0;
  421.   while ((nIndex < (g_nMaxStepHistory - 1)) && (1 == fValidFling))
  422.   {
  423.    nPrevX = CursorHistoryX[GetIndex(g_nStep, -nIndex)];
  424.    if ((nPrevX < e.style.pixelLeft) ||
  425.     (nPrevX > e.style.pixelLeft + e.style.pixelWidth))
  426.    {
  427.     fValidFling = 0;
  428.    }
  429.    nIndex++;
  430.   }
  431.  }
  432.  else
  433.  {
  434.   nIndex = 0;
  435.   while ((nIndex < (g_nMaxStepHistory - 1)) && (1 == fValidFling))
  436.   {
  437.    if (0 < e.reqDirX)
  438.    {
  439.     if (CursorHistoryX[GetIndex(g_nStep, -nIndex)] < CursorHistoryX[GetIndex(g_nStep, -nIndex - 1)])
  440.     {
  441.      fValidFling = 0;
  442.     }
  443.    }
  444.    else
  445.    {
  446.     if (CursorHistoryX[GetIndex(g_nStep, -nIndex)] > CursorHistoryX[GetIndex(g_nStep, -nIndex - 1)])
  447.     {
  448.      fValidFling = 0;
  449.     }
  450.    }
  451.    nIndex++;
  452.   }
  453.  }
  454.  if (1 == fValidFling)
  455.  {
  456.   if (0 == e.reqDirY)
  457.   {
  458.    nIndex = 0;
  459.    while ((nIndex < (g_nMaxStepHistory - 1)) && (1 == fValidFling))
  460.    {
  461.     nPrevY = CursorHistoryY[GetIndex(g_nStep, -nIndex)];
  462.     if ((nPrevY < e.style.pixelTop) ||
  463.      (nPrevY > e.style.pixelTop + e.style.pixelHeight))
  464.     {
  465.      fValidFling = 0;
  466.     }
  467.     nIndex++;
  468.    }
  469.   }
  470.   else
  471.   {
  472.    nIndex = 0;
  473.    while ((nIndex < (g_nMaxStepHistory - 1)) && (1 == fValidFling))
  474.    {
  475.     if (0 < e.reqDirY)
  476.     {
  477.      if (CursorHistoryY[GetIndex(g_nStep, -nIndex)] < CursorHistoryY[GetIndex(g_nStep, -nIndex - 1)])
  478.      {
  479.       fValidFling = 0;
  480.      }
  481.     }
  482.     else
  483.     {
  484.      if (CursorHistoryY[GetIndex(g_nStep, -nIndex)] > CursorHistoryY[GetIndex(g_nStep, -nIndex - 1)])
  485.      {
  486.       fValidFling = 0;
  487.      }
  488.     }
  489.     nIndex++;
  490.    }
  491.   }
  492.  }
  493.  if ((1 == fValidFling) && bkey)
  494.  {
  495.   nXDelta = CursorHistoryX[g_nStep] - CursorHistoryX[GetIndex(g_nStep, -g_nMaxStepHistory + 1)];
  496.   nYDelta = CursorHistoryY[g_nStep] - CursorHistoryY[GetIndex(g_nStep, -g_nMaxStepHistory + 1)];
  497.   if (0 != e.reqDirX)
  498.    e.xDelta = Math.round(nXDelta / 2);
  499.   else
  500.    e.xDelta = 0;
  501.   if (0 != e.reqDirY)
  502.    e.yDelta = Math.round(nYDelta / 2);
  503.   else
  504.    e.yDelta = 0;
  505.   FlingingItems[FlingingItems.length] = e;
  506.   g_cFlungObjects++;
  507.   g_nScore += (g_cFlungObjects * e.nScore);
  508.   StartFlinging();
  509.  }
  510. }
  511. g_szPrevElement = e.SuperClass;
  512. g_nStep = GetIndex(g_nStep, 1);
  513. }
  514. function StartWorldGrow()
  515. {
  516. if (ID_World.style.pixelWidth > 800)
  517. {
  518.  OpenEEGG();
  519. }
  520. else
  521. {
  522.  ID_World.style.pixelWidth += 100;
  523.  ID_World.style.pixelHeight += 100;
  524.  ID_World.style.pixelLeft -= 30;
  525.  ID_World.style.pixelTop -= 30;
  526.  window.setTimeout("StartWorldGrow()", 10);
  527. }
  528. }
  529. function UpdateMouse(x, y, shift, button)
  530. {
  531. var e;
  532. e = event.srcElement;
  533. if ((0 == g_fInDrag) && (e.className == "Movable"))
  534. {
  535.  g_fInDrag = 1;
  536.  g_nDragOffsetX = event.x - document.all["ID_IE"].style.pixelLeft;
  537.  g_nDragOffsetY = event.y - document.all["ID_IE"].style.pixelTop;
  538. }
  539. if ((1 == event.button) && (1 == g_fInDrag) && (true == event.ctrlKey))
  540. {
  541.  document.all["ID_IE"].style.pixelLeft = event.x - g_nDragOffsetX;
  542.  document.all["ID_IE"].style.pixelTop = event.y - g_nDragOffsetY;
  543.  TrackStep(event.x, event.y, e, event.ctrlKey);
  544. }
  545. else
  546. {
  547.  g_fInDrag = 0;
  548.  if ((document.all["ID_IE"].style.pixelLeft > document.all["ID_World"].style.pixelLeft) &&
  549.   (document.all["ID_IE"].style.pixelLeft + document.all["ID_IE"].style.pixelWidth < document.all["ID_World"].style.pixelLeft + document.all["ID_World"].style.pixelWidth) &&
  550.   (document.all["ID_IE"].style.pixelTop > document.all["ID_World"].style.pixelTop) &&
  551.   (document.all["ID_IE"].style.pixelTop + document.all["ID_IE"].style.pixelHeight < document.all["ID_World"].style.pixelTop + document.all["ID_World"].style.pixelHeight) &&
  552.   g_nScore >= g_nScoreNeeded)
  553.  {
  554.   document.all["ID_IE"].style.pixelLeft = parseInt(document.all["ID_IE"].FinalX);
  555.   document.all["ID_IE"].style.pixelTop = parseInt(document.all["ID_IE"].FinalY);
  556.   document.all["ID_IE"].style.visibility="hidden";
  557.   document.all["ID_World"].style.zIndex = "1000";
  558.   g_nScore = 0;
  559.   StopWobble(ID_World);
  560.   window.setTimeout("StartWorldGrow()", 10);
  561.  }
  562. }
  563. return 1;
  564. }
  565. function WobbleControl(obj)
  566. {
  567. if (0 != obj.wobbleTimer)
  568. {
  569.  obj.style.posLeft = parseInt(obj.nOrigLeft) + Math.round(Math.random() * 2 * g_nWobbleAmount) - g_nWobbleAmount;
  570.  obj.style.posTop = parseInt(obj.nOrigTop) + Math.round(Math.random() * 2 * g_nWobbleAmount) - g_nWobbleAmount;
  571. }
  572. }
  573. function StartWobble(obj)
  574. {
  575. obj.wobbleTimer = setInterval("WobbleControl(ID_World)", 100);
  576. }
  577. function StopWobble(obj)
  578. {
  579. if (0 != obj.wobbleTimer)
  580. {
  581.  clearInterval(obj.wobbleTimer);
  582.  obj.wobbleTimer = 0;
  583.  document.all["ID_World"].posLeft = parseInt(document.all["ID_World"].nOrigLeft);
  584.  document.all["ID_World"].posTop = parseInt(document.all["ID_World"].nOrigTop);
  585. }
  586. }
  587. function UnLock(obj)
  588. {
  589. g_nScore += 1;
  590. obj.disabled = true;
  591. StartWobble(obj);
  592. }
  593. </SCRIPT>
  594. </body>
  595. </html>
  596.