home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Graphics Studio Greetings / Microsoft_Graphics_Studio_Greetings_Microsoft_1998.iso / mhp / template / mgd3033.mta / mgd3033.MTA
Text File  |  1998-08-12  |  93KB  |  2,565 lines

  1. MIME-Version: 1.0
  2. Content-Type: multipart/related;
  3.     boundary="----=_NextPart_000_1920_01BDBE6D.FF0740A0";
  4.     type="multipart/alternative"
  5. X-MMEditor: 00.00.02.1994,MinSave
  6. X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
  7.  
  8. This is a multi-part message in MIME format.
  9.  
  10. ------=_NextPart_000_1920_01BDBE6D.FF0740A0
  11. Content-Type: multipart/alternative;
  12.     boundary="----=_NextPart_001_1921_01BDBE6D.FF0740A0"
  13.  
  14.  
  15. ------=_NextPart_001_1921_01BDBE6D.FF0740A0
  16. Content-Type: text/plain;
  17.     charset="iso-8859-1"
  18. Content-Transfer-Encoding: 7bit
  19.  
  20.       I think I can, 
  21. I think I can--      I know you can!         
  22.  
  23.  
  24. ------=_NextPart_001_1921_01BDBE6D.FF0740A0
  25. Content-Type: text/html;
  26.     charset="iso-8859-1"
  27. Content-Transfer-Encoding: quoted-printable
  28. Content-Location: 
  29.  
  30. <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
  31. <HTML>
  32. <HEAD>
  33.  
  34. <META content=3D"text/html; charset=3Diso-8859-1" =
  35. http-equiv=3DContent-Type>
  36. <META content=3D"MMEditor Version 00.00.02.1994,MinSave" =
  37. name=3DGENERATOR>
  38. <STYLE id=3DDocStyleSheet>.PreCreateRule {
  39.     POSITION: absolute
  40. }
  41. .DocClientData {
  42.     LEFT: 0px; OVERFLOW: hidden; POSITION: absolute; TOP: 20px; VISIBILITY: =
  43. visible
  44. }
  45. .RuntimeScriptDiv {
  46.     LEFT: -3200px; POSITION: absolute; TOP: -3200px; VISIBILITY: hidden
  47. }
  48. .SoundElementsDiv {
  49.     LEFT: -3200px; POSITION: absolute; TOP: -3200px; VISIBILITY: hidden
  50. }
  51. .Sx1 {
  52.     HEIGHT: 300px; LEFT: 10px; OVERFLOW: hidden; POSITION: absolute; TOP: =
  53. 30px; VISIBILITY: hidden; WIDTH: 570px; Z-INDEX: 100
  54. }
  55. .PD2 {
  56.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  57. 0px; HEIGHT: 299px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: =
  58. inherit; WIDTH: 569px; Z-INDEX: 50
  59. }
  60. .Ix3 {
  61.     BACKGROUND-COLOR: #ffffff; BACKGROUND-REPEAT: no-repeat; BORDER-BOTTOM: =
  62. 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px; LEFT: 0px; =
  63. POSITION: absolute; TOP: 0px; VISIBILITY: inherit; Z-INDEX: 51
  64. }
  65. .PI8 {
  66.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  67. 0px; HEIGHT: 133px; LEFT: 201px; POSITION: absolute; TOP: 114px; =
  68. VISIBILITY: hidden; WIDTH: 154px; Z-INDEX: 100
  69. }
  70. .Ix9 {
  71.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  72. 0px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: inherit; =
  73. Z-INDEX: 101
  74. }
  75. .Sx13 {
  76.     HEIGHT: 300px; LEFT: 10px; OVERFLOW: hidden; POSITION: absolute; TOP: =
  77. 30px; VISIBILITY: hidden; WIDTH: 570px; Z-INDEX: 110
  78. }
  79. .PD14 {
  80.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  81. 0px; HEIGHT: 299px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: =
  82. inherit; WIDTH: 569px; Z-INDEX: 50
  83. }
  84. .Ix15 {
  85.     BACKGROUND-COLOR: #ffffff; BACKGROUND-REPEAT: no-repeat; BORDER-BOTTOM: =
  86. 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: 0px; LEFT: 0px; =
  87. POSITION: absolute; TOP: 0px; VISIBILITY: inherit; Z-INDEX: 51
  88. }
  89. .PI16 {
  90.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  91. 0px; HEIGHT: 133px; LEFT: 201px; POSITION: absolute; TOP: 114px; =
  92. VISIBILITY: hidden; WIDTH: 154px; Z-INDEX: 100
  93. }
  94. .Ix17 {
  95.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  96. 0px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: inherit; =
  97. Z-INDEX: 101
  98. }
  99. .PT20 {
  100.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  101. 0px; HEIGHT: 92px; LEFT: 169px; PADDING-BOTTOM: 9px; PADDING-LEFT: 9px; =
  102. PADDING-RIGHT: 9px; PADDING-TOP: 9px; POSITION: absolute; TEXT-ALIGN: =
  103. center; TOP: 45px; VISIBILITY: hidden; WIDTH: 213px; Z-INDEX: 120
  104. }
  105. .PT21 {
  106.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  107. 0px; HEIGHT: 166px; LEFT: 163px; PADDING-BOTTOM: 9px; PADDING-LEFT: 9px; =
  108. PADDING-RIGHT: 9px; PADDING-TOP: 9px; POSITION: absolute; TEXT-ALIGN: =
  109. center; TOP: 24px; VISIBILITY: hidden; WIDTH: 213px; Z-INDEX: 110
  110. }
  111. .Ix62 {
  112.     LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: inherit; Z-INDEX: =
  113. 52
  114. }
  115. .Ix63 {
  116.     LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: inherit; Z-INDEX: =
  117. 52
  118. }
  119. .Ix67 {
  120.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  121. 0px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: inherit; =
  122. Z-INDEX: 111
  123. }
  124. .PI66 {
  125.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  126. 0px; HEIGHT: 133px; LEFT: 201px; POSITION: absolute; TOP: 114px; =
  127. VISIBILITY: hidden; WIDTH: 154px; Z-INDEX: 110
  128. }
  129. DIV {
  130.     FONT-FAMILY: Times New Roman
  131. }
  132. </STYLE>
  133.  
  134. <STYLE id=3DFontStyleSheet>@font-face {
  135.     font-family: Andy;
  136.     src:url(cid:191e01bdbea8$ab426400$d55d389d@scottst2.dns.microsoft.com);
  137. }
  138. </STYLE>
  139.  
  140. </HEAD>
  141. <BODY background=3D"" bgColor=3D#c0c0c0 leftMargin=3D0 topMargin=3D0>
  142. <DIV class=3DPreCreateRule id=3DNavigationButtons style=3D"VISIBILITY: =
  143. hidden">
  144. <FORM name=3DNavigationButtonsForm><INPUT name=3DStart type=3Dbutton =
  145. value=3D"Play  >/Replay >"><INPUT name=3DBackward type=3Dbutton =
  146. value=3D"Back  <<"><INPUT name=3DForward type=3Dbutton value=3D"Forward  =
  147. >>"><INPUT name=3DWebpage type=3Dbutton value=3DAbout...><INPUT =
  148. name=3DSceneStatus type=3Dbutton value=3D" Loading... "></FORM></DIV>=20
  149. <DIV class=3DDocClientData id=3DDocClientData Themes =3D=20
  150. " <AR|ARS1| =
  151. <TT|TTa5|TTb0|TTc30844|TTd5|TTe0|TTf30848|TTg5|TTh0|TTi30849|>|>|"=20
  152. lclJ =3D null lclFrench =3D null lclZ =3D 1 lclEnglish =3D 1 skuOE =3D =
  153. null skuGWDelux =3D 1=20
  154. skuGW =3D 1 KeyWords =3D null OutputStyle =3D "simple greeting  (one to =
  155. two scenes)"=20
  156. ProjectType =3D "multimedia greeting" AOPTable =3D=20
  157. " <AR|ARS1| <AP|APa{guid =
  158. {A3649D6E-5058-11CF-9E27-00AA00BBB8AF}}|APbGreetings Workshop|>|>|"=20
  159. GW_NextID =3D 79>
  160. <DIV class=3DSx1 id=3DSx1 SoundPaths =3D=20
  161. " <AR|ARS1| <SN| =
  162. <CP|CPa4A00000030300000000000000C000000000000640000C1000000A384F4D45435E4=
  163. D4D4C5D41494E4C545F4954525C40343E275146500FFFFDAED00000000000000000000000=
  164. 0000000000000000000000000460033004300930073001600430003004200130066004600=
  165. 5600330083009300460004001600D200C6009600E600760027001600E2004600E6003700E=
  166. 200D600960036002700F6003700F60066004700E2003600F600|CPbX:\v3Contnt\clipme=
  167. d\sound\WAV_v2\toytrl04.wav|CPccid:03f901bd7de5$91e48fa0$1fde389d@a-lingr=
  168. a.dns.microsoft.com|CPdtoytrl04.wav|>|SNa0|SNb1|SNc1|SNd0|SNe0|>|>|"=20
  169. PageEffect =3D " <PE| <TR|TRa1|TRb2|TRc2|TRd1|TRe2|>|PEa1|PEb8|>|" =
  170. PageName =3D PD2>
  171. <DIV class=3DPD2 id=3DPD2 PageName =3D Ix62 CAGQueryIndx =3D 0 =
  172. ClipPathInfo =3D=20
  173. " =
  174. <CP|CPa8A80000090300000000000000C000000000000642000000030300000000000000C=
  175. 00000000000064000001000000A38414C4C4D41425B4C5D41494E4C500FFFFDAED0000000=
  176. 0000000000000000000000000000000000000000008B9D1172F201D112B4400AA007AB4FF=
  177. C0000000A6000300030073007300130003003300E20076009600660000000000000000000=
  178. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  179. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  180. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  181. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  182. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  183. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  184. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  185. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  186. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  187. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  188. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  189. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  190. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  191. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  192. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  193. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  194. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  195. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  196. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  197. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  198. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  199. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  200. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  201. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  202. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  203. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  204. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  205. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  206. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  207. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  208. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  209. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  210. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  211. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  212. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  213. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  214. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  215. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  216. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  217. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  218. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  219. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  220. 0000000000000000083728201000000000000000000000000000000000000000000000000=
  221. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  222. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  223. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  224. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  225. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  226. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  227. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  228. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  229. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  230. 00000000000000000000000830010106000F40087204100872041000200560027002700F6=
  231. 00270037000200F600E6000200350036005600E6005600020032002300D000A0001200120=
  232. 07500F400E400B4005400440012001200020064009600C60056000200D3000200D6007600=
  233. 46003300030033002300E200D60086004700C2000200340086001600E600760056000200D=
  234. 300020065005600270037009600F600E6000200340086001600E600760056004600|CPbX:=
  235. \v3Contnt\clipmed\mmclips\j770_779\j0077103.gif|CPccid:03fd01bd7de6$d3497=
  236. a40$1fde389d@a-lingra.dns.microsoft.com|CPdj0077103.gif|>|"=20
  237. PolyPath =3D=20
  238. 1,6,0.286361,136.861,0,299,569,299,569,0,0.286361,0,0.286361,136.861,0,0,=
  239. =20
  240. NoBackground =3D 0><IMG class=3DIx62 id=3DIx62=20
  241. src=3D"cid:03fd01bd7de6$d3497a40$1fde389d@a-lingra.dns.microsoft.com">  =
  242. <IMG=20
  243. class=3DIx3 id=3DIx3 name=3DIx3=20
  244. src=3D"cid:191201bdbea8$aa7a0af0$d55d389d@scottst2.dns.microsoft.com"></D=
  245. IV> =20
  246.  
  247. <DIV class=3DPI8 id=3DPI8 SoundPaths =3D " <AR|ARS0|>|" ClipPathInfo =3D =
  248.  
  249. " =
  250. <CP|CPa8A80000090300000000000000C000000000000642000000030300000000000000C=
  251. 00000000000064000001000000A38414C4C4D41425B4C5D41494E4C500FFFFDAED0000000=
  252. 0000000000000000000000000000000000000000008B9D1172F201D112B4400AA007AB4FF=
  253. C0000000A6000300030073006300430093001300E20076009600660000000000000000000=
  254. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  255. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  256. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  257. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  258. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  259. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  260. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  261. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  262. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  263. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  264. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  265. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  266. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  267. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  268. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  269. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  270. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  271. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  272. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  273. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  274. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  275. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  276. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  277. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  278. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  279. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  280. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  281. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  282. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  283. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  284. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  285. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  286. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  287. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  288. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  289. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  290. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  291. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  292. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  293. 0000000000000000000000000000000000000000000000000000000000008372820100000=
  294. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  295. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  296. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  297. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  298. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  299. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  300. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  301. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  302. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  303. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  304. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  305. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  306. 0000000000000000000000083001010600080008720410087204100100000000000000010=
  307. 00000020000000904000000000000000000000000000000000000000000000D99B020D000=
  308. 00000A3200000C210000000000000BD5000000077CF0E0B95DB1000000000A0FF00000000=
  309. 00000000000086253301480000000000000048000000260016003600B60076002700F6005=
  310. 700E60046003700C2007700560026000200260016003600B60076002700F6005700|CPbX:=
  311. \v3Contnt\clipmed\animatn\j760_769\j0076491.gif|CPccid:040401bd7de7$40c34=
  312. ba0$1fde389d@a-lingra.dns.microsoft.com|CPdj0076491.gif|>|"=20
  313. ImageType =3D 1><IMG class=3DIx9 height=3D133 id=3DIx9 name=3DIx9=20
  314. src=3D"cid:040401bd7de7$40c34ba0$1fde389d@a-lingra.dns.microsoft.com"=20
  315. width=3D154></DIV>=20
  316. <DIV class=3DPT21 id=3DPT21 SoundPaths =3D " <AR|ARS0|>|" AnimationPath =
  317. =3D=20
  318. " <AR|ARS2| <PT|PTa683|PTb105|>| <PT|PTa270|PTb106|>|>|" ButtonEvent =3D =
  319.  
  320. " <BE|BEa0|BEc| <CP|CPaNIL|CPb|CPc|CPd|>| <CP|CPaNIL|CPb|CPc|CPd|>| =
  321. <CP|CPaNIL|CPb|CPc|CPd|>|>|"=20
  322. ExitEffect =3D=20
  323. " <EE| =
  324. <TR|TRa7|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb1|EEc100|EEd0|EEf2|EEg0|>|"=20
  325. EntranceEffect =3D=20
  326. " <EE| =
  327. <TR|TRa0|TRb2|TRc2|TRd1|TRe2|>|EEa1|EEb0|EEc0|EEd100|EEf0|EEg1|>|"=20
  328. TravelEffectOptions =3D " <TE|TEa0|TEb2|TEc1|TEd0|>|"><STRONG><FONT =
  329. color=3D#000000=20
  330. face=3DAndy size=3D6>I think I can, <BR>I think I =
  331. can--</FONT></STRONG></DIV></DIV>=20
  332. <DIV class=3DSx13 id=3DSx13 SoundPaths =3D " <AR|ARS0|>|" PageEffect =3D =
  333.  
  334. " <PE| <TR|TRa0|TRb0|TRc2|TRd1|TRe2|>|PEa0|PEb6|>|" PageName =3D PD14>
  335. <DIV class=3DPD14 id=3DPD14 PageName =3D Ix63 CAGQueryIndx =3D 0 =
  336. ClipPathInfo =3D=20
  337. " =
  338. <CP|CPa8A80000090300000000000000C000000000000642000000030300000000000000C=
  339. 00000000000064000001000000A38414C4C4D41425B4C5D41494E4C500FFFFDAED0000000=
  340. 0000000000000000000000000000000000000000008B9D1172F201D112B4400AA007AB4FF=
  341. C0000000A6000300030073007300130003003300E20076009600660000000000000000000=
  342. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  343. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  344. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  345. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  346. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  347. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  348. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  349. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  350. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  351. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  352. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  353. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  354. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  355. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  356. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  357. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  358. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  359. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  360. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  361. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  362. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  363. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  364. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  365. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  366. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  367. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  368. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  369. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  370. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  371. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  372. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  373. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  374. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  375. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  376. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  377. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  378. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  379. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  380. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  381. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  382. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  383. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  384. 0000000000000000083728201000000000000000000000000000000000000000000000000=
  385. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  386. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  387. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  388. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  389. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  390. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  391. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  392. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  393. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  394. 0000000000000000000000083001010600080008720410087204100100000000000000010=
  395. 00000020000000904000000000000000000000000000000000000000000000D99B020D000=
  396. 00000A3200000C210000000000000BD5000000077CF0E0B95DB1000000000A0FF00000000=
  397. 00000000000086253301480000000000000048000000260016003600B60076002700F6005=
  398. 700E60046003700C2007700560026000200260016003600B60076002700F6005700|CPbX:=
  399. \v3Contnt\clipmed\mmclips\j770_779\j0077103.gif|CPccid:03fd01bd7de6$d3497=
  400. a40$1fde389d@a-lingra.dns.microsoft.com|CPdj0077103.gif|>|"=20
  401. PolyPath =3D=20
  402. 1,6,0.286361,136.861,0,299,569,299,569,0,0.286361,0,0.286361,136.861,0,0,=
  403. =20
  404. NoBackground =3D 0><IMG class=3DIx63 id=3DIx63=20
  405. src=3D"cid:03fd01bd7de6$d3497a40$1fde389d@a-lingra.dns.microsoft.com">  =
  406. <IMG=20
  407. class=3DIx15 id=3DIx15 name=3DIx15=20
  408. src=3D"cid:191501bdbea8$ab0b7580$d55d389d@scottst2.dns.microsoft.com"></D=
  409. IV> =20
  410.  
  411. <DIV class=3DPI16 id=3DPI16 SoundPaths =3D " <AR|ARS0|>|" ClipPathInfo =
  412. =3D=20
  413. " =
  414. <CP|CPa8A80000090300000000000000C000000000000642000000030300000000000000C=
  415. 00000000000064000001000000A38414C4C4D41425B4C5D41494E4C500FFFFDAED0000000=
  416. 0000000000000000000000000000000000000000008B9D1172F201D112B4400AA007AB4FF=
  417. C0000000A6000300030073007300130003004300E20076009600660000000000000000000=
  418. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  419. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  420. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  421. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  422. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  423. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  424. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  425. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  426. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  427. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  428. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  429. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  430. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  431. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  432. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  433. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  434. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  435. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  436. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  437. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  438. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  439. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  440. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  441. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  442. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  443. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  444. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  445. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  446. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  447. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  448. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  449. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  450. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  451. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  452. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  453. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  454. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  455. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  456. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  457. 0000000000000000000000000000000000000000000000000000000000008372820100000=
  458. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  459. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  460. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  461. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  462. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  463. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  464. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  465. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  466. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  467. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  468. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  469. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  470. 0000000000000000000000083001010600080008720410087204100100000000000000010=
  471. 00000020000000904000000000000000000000000000000000000000000000D99B020D000=
  472. 00000A3200000C210000000000000BD5000000077CF0E0B95DB1000000000A0FF00000000=
  473. 00000000000086253301480000000000000048000000260016003600B60076002700F6005=
  474. 700E60046003700C2007700560026000200260016003600B60076002700F6005700|CPbX:=
  475. \v3Contnt\clipmed\mmclips\j770_779\j0077104.gif|CPccid:03fa01bd7de6$a82b4=
  476. 500$1fde389d@a-lingra.dns.microsoft.com|CPdj0077104.gif|>|"=20
  477. ImageType =3D 0 ButtonEvent =3D=20
  478. " <BE|BEa0|BEc| <CP|CPaNIL|CPb|CPc|CPd|>| <CP|CPaNIL|CPb|CPc|CPd|>| =
  479. <CP|CPaNIL|CPb|CPc|CPd|>|>|"=20
  480. ExitEffect =3D=20
  481. " <EE| =
  482. <TR|TRa0|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc100|EEd0|EEf0|EEg0|>|"=20
  483. EntranceEffect =3D=20
  484. " <EE| =
  485. <TR|TRa7|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc0|EEd100|EEf1|EEg2|>|"=20
  486. TravelEffectOptions =3D " <TE|TEa0|TEb2|TEc0|TEd0|>|"><IMG class=3DIx17 =
  487. height=3D133=20
  488. id=3DIx17 name=3DIx17=20
  489. src=3D"cid:03fa01bd7de6$a82b4500$1fde389d@a-lingra.dns.microsoft.com"=20
  490. width=3D154></DIV>=20
  491. <DIV class=3DPT20 id=3DPT20 SoundPaths =3D " <AR|ARS0|>|" ButtonEvent =
  492. =3D=20
  493. " <BE|BEa0|BEb| <CP|CPaNIL|CPb|CPc|CPd|>| <CP|CPaNIL|CPb|CPc|CPd|>| =
  494. <CP|CPaNIL|CPb|CPc|CPd|>|>|"=20
  495. ExitEffect =3D=20
  496. " <EE| =
  497. <TR|TRa0|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc100|EEd0|EEf0|EEg0|>|"=20
  498. EntranceEffect =3D=20
  499. " <EE| =
  500. <TR|TRa10|TRb3|TRc2|TRd1|TRe2|>|EEa1|EEb0|EEc0|EEd100|EEf0|EEg0|>|"=20
  501. TravelEffectOptions =3D " <TE|TEa0|TEb1|TEc0|TEd0|>|"><STRONG><FONT =
  502. face=3DAndy=20
  503. size=3D6>I know you can!</FONT></STRONG></DIV>=20
  504. <DIV class=3DPI66 id=3DPI66 SoundPaths =3D " <AR|ARS0|>|" ClipPathInfo =
  505. =3D=20
  506. " =
  507. <CP|CPa8A80000090300000000000000C000000000000642000000030300000000000000C=
  508. 00000000000064000001000000A38414C4C4D41425B4C5D41494E4C500FFFFDAED0000000=
  509. 0000000000000000000000000000000000000000008B9D1172F201D112B4400AA007AB4FF=
  510. C0000000A6000300030073006300430093001300E20076009600660000000000000000000=
  511. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  512. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  513. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  514. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  515. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  516. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  517. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  518. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  519. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  520. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  521. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  522. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  523. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  524. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  525. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  526. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  527. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  528. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  529. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  530. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  531. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  532. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  533. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  534. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  535. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  536. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  537. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  538. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  539. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  540. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  541. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  542. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  543. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  544. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  545. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  546. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  547. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  548. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  549. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  550. 0000000000000000000000000000000000000000000000000000000000008372820100000=
  551. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  552. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  553. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  554. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  555. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  556. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  557. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  558. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  559. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  560. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  561. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  562. 0000000000000000000000000000000000000000000000000000000000000000000000000=
  563. 00000000000000000000000830010106000A5AD872041008720410017BF3E2D066943732F=
  564. 5AE9BACC7AE37F9CFCE729620200B300000000000000000000000000000000D99B020D000=
  565. 00000A3200000C210000000000000BD5000000077CF0E0B95DB1000000000A0FF00000000=
  566. 00000000000086253301480000000000000048000000260016003600B60076002700F6005=
  567. 700E60046003700C2007700560026000200260016003600B60076002700F6005700|CPbX:=
  568. \v3Contnt\clipmed\animatn\j760_769\j0076491.gif|CPccid:040401bd7de7$40c34=
  569. ba0$1fde389d@a-lingra.dns.microsoft.com|CPdj0076491.gif|>|"=20
  570. ImageType =3D 1 ButtonEvent =3D=20
  571. " <BE|BEa0|BEc| <CP|CPaNIL|CPb|CPc|CPd|>| <CP|CPaNIL|CPb|CPc|CPd|>| =
  572. <CP|CPaNIL|CPb|CPc|CPd|>|>|"=20
  573. ExitEffect =3D=20
  574. " <EE| =
  575. <TR|TRa7|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb1|EEc100|EEd0|EEf1|EEg0|>|"=20
  576. EntranceEffect =3D=20
  577. " <EE| =
  578. <TR|TRa0|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc0|EEd100|EEf0|EEg0|>|"=20
  579. TravelEffectOptions =3D " <TE|TEa0|TEb2|TEc0|TEd0|>|"><IMG class=3DIx67 =
  580. height=3D133=20
  581. id=3DIx67 name=3DIx67=20
  582. src=3D"cid:040401bd7de7$40c34ba0$1fde389d@a-lingra.dns.microsoft.com"=20
  583. width=3D154></DIV></DIV></DIV>  =20
  584. <DIV class=3DSoundElementsDiv id=3DSoundElementsDiv>  <BGSOUND =
  585. id=3DAW78 soundsrc=20
  586. =3D cid:03f901bd7de5$91e48fa0$1fde389d@a-lingra.dns.microsoft.com> <IMG=20
  587. src=3D""></DIV> =20
  588. <DIV id=3DNavSoundElementsDiv> <EMBED hidden=3Dtrue id=3DAW78nav =
  589. name=3DAW78nav=20
  590. src=3Dcid:03f901bd7de5$91e48fa0$1fde389d@a-lingra.dns.microsoft.com =
  591. autostart =3D no=20
  592. MASTERSOUND></DIV>
  593. <SCRIPT id=3DRuntimeScript language=3DJavaScript>
  594. if ( navigator.appVersion.substring(0,1) < 4 )
  595.  alert("Sorry but your Web browser needs to be updated. You must have at =
  596. least a version 4.0 browser to view this project.");
  597. if ( navigator.appName !=3D "Netscape" )                                            =09
  598. {                                                                                    =09
  599.     document.body.background =3D "";                                                =09
  600.     for ( var ii=3D0; ii<document.all.length; ii++ )                                    =09
  601.         if ((document.all.item(ii).id).indexOf("Sx") !=3D -1)                        =09
  602.             document.all.item(ii).style.filter=3D"revealTrans(duration=3D0, =
  603. transition=3D0)";        =09
  604. }                                                                                    =09
  605.  
  606. var    OBJ_SCENE        =3D 0;        =09
  607. var    OBJ_PLAYER        =3D 1;        =09
  608. var PLAYER_IMAGE    =3D 0;        =09
  609. var    PLAYER_TEXT        =3D 1;        =09
  610. var PLAYER_DRAW        =3D 2;        =09
  611. var    NAME_SCENE        =3D "S"        =09
  612. var    NAME_PLAYER        =3D "P"        =09
  613. var    PLAYER_NAME_IMAGE    =3D "I"    =09
  614. var    PLAYER_NAME_TEXT    =3D "T"
  615. var PLAYER_NAME_DRAW    =3D "D"
  616. var    IE_VISIBLE            =3D "visible";
  617. var    IE_HIDDEN            =3D "hidden";
  618. var    IE_INHERIT            =3D "inherit";
  619. var    NAV_VISIBLE            =3D "show";
  620. var    NAV_HIDDEN            =3D "hide";
  621. var    NAV_INHERIT            =3D "inherit";
  622. var    DEFAULT_TICK_RATE        =3D 100;    =09
  623. var DEFAULT_SCENE_DURATION    =3D 10000;=09
  624. var    DEFAULT_PLAYER_DELAY    =3D 0;    =09
  625. var    TMR_PROJ                =3D 0;    =09
  626. var    TMR_SCENE                =3D 1;    =09
  627. var    RR_NONE                    =3D 0;    =09
  628. var    RR_PAGE_BUTTONS            =3D 1;    =09
  629. var    RR_FULL_RUNTIME            =3D 2;    =09
  630. var    DUR_FOREVER                =3D -1;    =09
  631. var    DELAY_NONE                =3D 0;    =09
  632. var    DELAY_UNTIL_TRANSITION    =3D -1;    =09
  633. var    DELAY_UNTIL_TRIGGER        =3D -2;    =09
  634. var    DUR_UNTIL_DONE            =3D -1;    =09
  635. var TT_ALL_MOUSE_EVENTS    =3D 0;    =09
  636. var    TT_BUTTONDOWN            =3D 1;    =09
  637. var    TT_BUTTONUP                =3D 2;    =09
  638. var    TT_MOUSEOVER            =3D 3;    =09
  639. var    TT_MOUSEOUT                =3D 4;    =09
  640. var    TB_PAGE_TURNER            =3D -1;    =09
  641. var    TB_START_PLAYER            =3D -2;    =09
  642. var NULL_TRANSITION            =3D -1;
  643. var    TEXT_FLYIN                =3D 101;
  644. var TEXT_TYPEWRITER        =3D 102;
  645. var    FLYIN_TOP                =3D 0;
  646. var    FLYIN_BOTTOM            =3D 1;
  647. var    FLYIN_LEFT                =3D 2;
  648. var    FLYIN_RIGHT                =3D 3;
  649. var    FLYIN_ROTATE            =3D 4;
  650. var    FLYIN_BY_LETTER            =3D 1;
  651. var    FLYIN_BY_WORD            =3D 2;
  652. var    FLYIN_BY_LINE            =3D 3;
  653. var    FLYIN_PER_TICK =3D new Array (200, 160, 120, 80, 40);    =09
  654. var    TRANSITION_RATES =3D new Array(1,2,3,4,5);            =09
  655. var    PS_UNINITIALIZED    =3D 0;
  656. var PS_INITIALIZED        =3D 1;
  657. var    PS_RUNNING            =3D 2;
  658. var PS_PAUSED            =3D 3;
  659. var PS_COMPLETE            =3D 4;
  660. var    sceneArray        =3D new Array();=09
  661. var currentScene    =3D null;        =09
  662. var nScenes            =3D 0;        =09
  663. var stProjState =3D PS_UNINITIALIZED;=09
  664. var stButtons    =3D false;        =09
  665. var    stNoInput    =3D 0;            =09
  666. var strPause =3D new Array( "" );
  667. var strPlay =3D new Array( "" );
  668. var    formStatus =3D null;
  669. var    tickTimer        =3D null;        =09
  670. var sys            =3D navigator.appName;                                    =09
  671. var vers        =3D navigator.appVersion.substring(0,1);                    =09
  672. var os            =3D navigator.appVersion.indexOf("NT") >=3D 0 ? "NT" : "95";=09
  673. var    platform    =3D navigator.platform;                                    =09
  674. window.onload =3D PreSetup;
  675. window.onerror =3D Error;
  676. function Error()
  677. {
  678.     alert("There has been an unidentified error in this file's script. You =
  679. may be able to fix this problem by refreshing your browser.");
  680.     return true;
  681. }
  682. function Project( tickRate, startScene, stopScene, rtReq, autoStart, =
  683. delay, webpage )
  684. {
  685.     this.tickRate =3D tickRate;
  686.     this.startScene =3D startScene;
  687.     this.stopScene =3D stopScene;
  688.     this.rtReq =3D rtReq;
  689.     this.autoStart =3D autoStart;
  690.     this.delay =3D delay;
  691.     this.webpage =3D webpage;
  692. }
  693. function PreSetup()
  694. {
  695.     if ( (Project.delay !=3D null) && (Project.delay !=3D 0) )        =09
  696.     {
  697.         setTimeout( "Setup();", Project.delay*1000 );=20
  698.         return;
  699.     }
  700. =09
  701.     Setup();
  702. }
  703. function Setup()=20
  704. { =20
  705.     stNoInput++;                            =09
  706.     if ( vers < 4 ) return;                    =09
  707.     if ( sys =3D=3D "Netscape" )                =09
  708.     {
  709.         document.all =3D new Array;            =09
  710.         Extract(document);                    =09
  711.     =09
  712.         document.body =3D new Object;
  713.         document.body.clientWidth =3D window.innerWidth;
  714.         document.body.clientHeight =3D window.innerHeight;
  715.         document.body.scrollTop =3D window.pageXOffset;=20
  716.         document.body.scrollLeft =3D window.pageYOffset;
  717.     }
  718.     stButtons =3D SetupButtons();                =09
  719.     ProjectInitialize();                    =09
  720.     stNoInput--;                            =09
  721.     if ( (stButtons =3D=3D false) || (Project.autoStart =3D=3D true) )=09
  722.         Start();                                            =09
  723. }
  724. function ProjectInitialize()
  725. {
  726. =09
  727.     tickTimer =3D new Timer();
  728. =09
  729. =09
  730.     InitializeScenes();
  731. =09
  732.     tickTimer.StartTicking();                            =09
  733. =09
  734.     if ( Project.startScene =3D=3D null )        =09
  735.         Project.startScene =3D 0;                =09
  736.     stProjState =3D PS_INITIALIZED;            =09
  737. =09
  738. }
  739. function ProjectStart( startScene )
  740. {
  741.     stProjState =3D PS_RUNNING;
  742.     if ( startScene !=3D null )
  743.         ChangeScene( startScene );
  744.     else
  745.         ChangeScene( Project.startScene );
  746. }
  747. function ProjectComplete()
  748. {
  749.     if ( Project.rtReq =3D=3D RR_PAGE_BUTTONS )    =09
  750.         return;                                =09
  751.     ProjectShutdown();
  752.     StatusChange();                            =09
  753. }
  754. function ProjectShutdown()
  755. {
  756.     KillTimer();                                    =09
  757.     StopEverythingOnScenes( false );
  758.     currentScene =3D null;
  759.     stProjState =3D PS_COMPLETE;                        =09
  760. }
  761. function Extract( obj )
  762. {
  763. =09
  764. =09
  765.     for (var intLayer =3D 0; intLayer< obj.layers.length; intLayer++)=09
  766.     {
  767.         var el =3D obj.layers[intLayer];        =09
  768.         document.all[el.id] =3D new Object    =09
  769.         var newEl =3D document.all[el.id];    =09
  770.     =09
  771.         newEl.id =3D el.id;                            =09
  772.         newEl.style =3D new Object;                    =09
  773.         newEl.style.pixelTop =3D parseInt(el.top);
  774.         newEl.style.pixelLeft =3D parseInt(el.left);
  775.         if (null!=3Del.clip)=20
  776.         {
  777.             newEl.offsetWidth =3D el.clip.width;    =09
  778.             newEl.offsetHeight =3D el.clip.height
  779.         }
  780.     =09
  781.         if        ( el.visibility =3D=3D NAV_HIDDEN )
  782.             newEl.style.visibility =3D IE_HIDDEN;
  783.         else if ( el.visibility =3D=3D NAV_VISIBLE )
  784.             newEl.style.visibility =3D IE_VISIBLE;
  785.         else if    ( el.visibility =3D=3D NAV_INHERIT )
  786.             newEl.style.visibility =3D IE_INHERIT;
  787.         else
  788.             newEl.style.visibility =3D "";
  789.     =09
  790.         newEl.style.zIndex =3D el.zIndex;
  791.         newEl.style.backgroundColor =3D el.bgColor;
  792.         newEl.style.backgroundImage =3D "url("+el.background+")";
  793.         newEl.NSLayer =3D el;                        =09
  794.     =09
  795.     =09
  796.     =09
  797.         for (var intLoop =3D 0; intLoop< el.document.images.length; intLoop++)
  798.         {
  799.             var image =3D el.document.images[intLoop]    =09
  800.             var    imageName =3D image.name;                =09
  801.             if ( imageName =3D=3D null )                =09
  802.                 continue;                            =09
  803.         =09
  804.             document.all[imageName] =3D image;        =09
  805.             document.images[imageName] =3D image;        =09
  806.         }
  807.     =09
  808.         for (var intLoop =3D 0; intLoop< el.document.forms.length; intLoop++)=20
  809.         {
  810.             var form =3D el.document.forms[intLoop];    =09
  811.             var formName =3D form.name;                =09
  812.             if ( formName =3D=3D null )
  813.                 continue;
  814.             document.all[formName] =3D form;            =09
  815.             document.forms[formName] =3D form;        =09
  816.         =09
  817.             for ( var innerLoop =3D 0; innerLoop < form.elements.length; =
  818. innerLoop++)
  819.             {
  820.                 var element =3D form.elements[innerLoop]=09
  821.                 var elementName =3D element.name;
  822.                 if ( elementName =3D=3D null )            =09
  823.                     continue;
  824.                 document.all[elementName] =3D element;=09
  825.             }
  826.         }
  827.         if ( el.layers.length > 0 )                =09
  828.             Extract(el)                            =09
  829.     }
  830. }
  831. function Scene( duration )
  832. {
  833.     this.duration =3D duration;
  834. }
  835. function InitializeScenes()
  836. {
  837.     var objScene;                            =09
  838.     var sceneNumber =3D 0;                    =09
  839. =09
  840.     for ( sceneName in Scenes )
  841.     {
  842.         objScene =3D Scenes[sceneName];        =09
  843.         objScene.number =3D parseInt(sceneNumber);                =09
  844.         objScene.name =3D sceneName;                    =09
  845.         objScene.HTML =3D document.all[sceneName];    =09
  846.         SetVisibility( objScene.HTML, IE_HIDDEN );=09
  847.         if ( Project.rtReq =3D=3D RR_PAGE_BUTTONS )    =09
  848.             objScene.duration =3D DUR_FOREVER;
  849.         InitializePlayers( objScene );        =09
  850.     =09
  851.         if ( objScene.entryTrans =3D=3D null )
  852.         {
  853.             objScene.entryTrans =3D new Object();
  854.             objScene.entryTrans.type =3D NULL_TRANSITION;
  855.         }
  856.     =09
  857.         if ( objScene.Bhv !=3D null )
  858.             for ( var bhvIdx=3D0; (bhv=3DobjScene.Bhv[bhvIdx]) !=3D null; =
  859. bhvIdx++ )=09
  860.                 bhv.Initialize( objScene, bhv);
  861.         objScene.numBhv =3D bhvIdx;                                            =09
  862.         sceneArray[sceneNumber++] =3D objScene;=09
  863.     }
  864.     nScenes =3D sceneNumber;                    =09
  865. }
  866. function StopEverythingOnScenes( fPause )
  867. {
  868.     var objScene;                            =09
  869.     for ( sceneName in Scenes )
  870.     {
  871.         objScene =3D Scenes[sceneName];                    =09
  872.     =09
  873.     =09
  874.         if ( objScene.Bhv !=3D null )
  875.             for ( var bhvIdx=3D0; (bhv=3DobjScene.Bhv[bhvIdx]) !=3D null; =
  876. bhvIdx++ )=09
  877.                 bhv.StopEverything( bhv, fPause );
  878.         StopEverythingOnPlayers( objScene, fPause );        =09
  879.     }
  880.     return;
  881. }
  882. function ChangeScene( nextSceneNumber )
  883. {
  884.     var    previousScene =3D currentScene;                    =09
  885.     StopSceneTimers();                                    =09
  886.     currentScene =3D GetSceneFromNumber( nextSceneNumber );=09
  887.     currentScene.previousScene =3D previousScene;            =09
  888.     if ( currentScene.duration =3D=3D null )                =09
  889.         currentScene.duration =3D DEFAULT_SCENE_DURATION;    =09
  890. =09
  891.     if ( currentScene.Bhv !=3D null )
  892.         for ( var bhvIdx=3D0; bhvIdx<currentScene.numBhv; bhvIdx++ )=09
  893.         {
  894.             var bhv =3D currentScene.Bhv[bhvIdx]
  895.             if ( bhv =3D=3D null)                            =09
  896.                 continue;
  897.             var delay =3D bhv.delay
  898.             if        ( (delay =3D=3D null) || (delay =3D=3D DELAY_NONE) )=09
  899.                 bhv.Start( bhv );                                    =09
  900.             else if ( delay > 0 )                                =09
  901.                 StartOneShotTimer( bhv, bhv.delay, bhv.Start, TMR_SCENE );
  902.         }
  903.     StartScenePlayers( currentScene );                            =09
  904.     StartTransition( currentScene, currentScene.entryTrans, IE_VISIBLE, =
  905. SceneTransitionDone );=09
  906. =09
  907.     if ( currentScene.duration !=3D DUR_FOREVER )            =09
  908.         StartOneShotTimer( currentScene, currentScene.duration, SceneExit, =
  909. TMR_SCENE );
  910.     StatusChange();                                        =09
  911.     return;
  912. }
  913. function SceneTransitionDone( objScene )
  914. {
  915. =09
  916. =09
  917.     if ( currentScene.previousScene !=3D null )
  918.         SetVisibility( currentScene.previousScene.HTML, IE_HIDDEN );
  919. =09
  920.     if ( currentScene.Bhv !=3D null )
  921.         for ( bhvIdx=3D0; bhvIdx<currentScene.numBhv; bhvIdx++ )=09
  922.         {
  923.             var bhv =3D currentScene.Bhv[bhvIdx]
  924.             if ( bhv =3D=3D null)                            =09
  925.                 continue;
  926.             if ( bhv.delay =3D=3D DELAY_UNTIL_TRANSITION  )=09
  927.                 bhv.Start( bhv );                                =09
  928.         }
  929.     =09
  930.     StartScenePlayersAfterTransition( currentScene );=09
  931. }
  932. function SceneExit( thisScene, nextScene )
  933. {
  934.     var nextSceneNumber =3D nextScene =3D=3D null ? currentScene.number+1 : =
  935. nextScene.number;
  936.     var finalScene =3D (nextSceneNumber <=3D Project.stopScene) ? false : =
  937. true;
  938. =09
  939. =09
  940. =09
  941.     for ( playerName in currentScene.Players )
  942.     {
  943.         objPlayer =3D currentScene.Players[playerName];        =09
  944.         PlayerExitTransitionDone( objPlayer, finalScene );    =09
  945.     }
  946. =09
  947.     if ( currentScene.Bhv !=3D null )
  948.         for ( bhvIdx=3D0; bhvIdx<currentScene.numBhv; bhvIdx++ )=09
  949.         {
  950.             var bhv =3D currentScene.Bhv[bhvIdx]
  951.             if ( bhv =3D=3D null)                            =09
  952.                 continue;
  953.             if ( bhv.duration =3D=3D DUR_UNTIL_DONE  )        =09
  954.                 bhv.Stop( bhv );                        =09
  955.         }
  956. =09
  957. =09
  958.     if ( finalScene =3D=3D false )                    =09
  959.         ChangeScene( nextSceneNumber )            =09
  960.     else
  961.         ProjectComplete()                        =09
  962.     =09
  963. }
  964. function Player( delay, duration )
  965. {
  966.     this.delay =3D delay;
  967.     this.duration =3D duration;
  968. }
  969. function InitializePlayers( objScene )
  970. {
  971.     var objPlayer;                        =09
  972.     var    playerNumber =3D 0;                =09
  973.     for ( playerName in objScene.Players )
  974.     {
  975.         objPlayer =3D objScene.Players[playerName];        =09
  976.         objPlayer.number =3D playerNumber;                =09
  977.         objPlayer.name =3D playerName;                    =09
  978.         objPlayer.HTML =3D document.all[playerName];        =09
  979.         SetVisibility( objPlayer.HTML, IE_HIDDEN );        =09
  980.         objPlayer.position =3D new Position(objPlayer);    =09
  981.     =09
  982.         if ( objPlayer.delay =3D=3D null )                    =09
  983.             objPlayer.delay =3D DEFAULT_PLAYER_DELAY;        =09
  984.     =09
  985.     =09
  986.         if        ( objPlayer.entryTrans =3D=3D null )
  987.         {
  988.             objPlayer.entryTrans =3D new Object();
  989.             objPlayer.entryTrans.type =3D NULL_TRANSITION;
  990.         }=20
  991.     =09
  992.         else if ((objPlayer.entryTrans !=3D null) &&            =09
  993.             (GetPlayerTypeFromName(objPlayer.name) =3D=3D PLAYER_TEXT))
  994.         {
  995.             if ( (objPlayer.entryTrans.type =3D=3D TEXT_FLYIN) || =
  996. (objPlayer.entryTrans.type =3D=3D TEXT_TYPEWRITER) )
  997.                 if ( InitializeTextFlyin( objPlayer ) =3D=3D false )
  998.                     objPlayer.entryTrans.type =3D null;                            =09
  999.         }
  1000.     =09
  1001.         if ( objPlayer.exitTrans =3D=3D null )
  1002.         {
  1003.             objPlayer.exitTrans =3D new Object();
  1004.             objPlayer.exitTrans.type =3D NULL_TRANSITION;
  1005.         }
  1006.     =09
  1007.         if ( objPlayer.Bhv !=3D null )
  1008.         {
  1009.             for ( bhvIdx=3D0; (bhv=3DobjPlayer.Bhv[bhvIdx]) !=3D null; bhvIdx++ )    =
  1010.  
  1011.                 bhv.Initialize( objPlayer, bhv);
  1012.             objPlayer.numBhv =3D bhvIdx;                                    =09
  1013.         }
  1014.         else
  1015.             objPlayer.numBhv =3D 0;
  1016.         playerNumber ++;                =09
  1017.     }=09
  1018. }
  1019. function StopEverythingOnPlayers( objScene, fPause )
  1020. {
  1021.     var objPlayer;                        =09
  1022.     for ( playerName in objScene.Players )
  1023.     {
  1024.         objPlayer =3D objScene.Players[playerName];        =09
  1025.     =09
  1026.     =09
  1027.         if ( objPlayer.Bhv !=3D null )
  1028.         {
  1029.             for ( bhvIdx=3D0; (bhv=3DobjPlayer.Bhv[bhvIdx]) !=3D null; bhvIdx++ )    =
  1030.  
  1031.                 bhv.StopEverything( bhv, fPause );
  1032.         }
  1033.         DisableTrigger( objPlayer );                    =09
  1034.     }=09
  1035.     return;
  1036. }
  1037. function StartScenePlayers( objScene )
  1038. {
  1039. =09
  1040.     for ( playerName in objScene.Players )
  1041.     {
  1042.         objPlayer =3D objScene.Players[playerName];        =09
  1043.     =09
  1044.     =09
  1045.     =09
  1046.         if        ( objPlayer.delay =3D=3D DELAY_NONE )        =09
  1047.             StartPlayer( objPlayer )                    =09
  1048.         else if ( objPlayer.delay    > 0 )                =09
  1049.             StartOneShotTimer( objPlayer, objPlayer.delay, StartPlayer, =
  1050. TMR_SCENE);
  1051.     }
  1052. }
  1053. function StartScenePlayersAfterTransition( objScene )
  1054. {
  1055. =09
  1056.     for ( playerName in objScene.Players )
  1057.     {
  1058.         objPlayer =3D objScene.Players[playerName];        =09
  1059.         if ( objPlayer.delay =3D=3D DELAY_UNTIL_TRANSITION )=09
  1060.             StartPlayer( objPlayer )                    =09
  1061.     }
  1062. }
  1063. function StartPlayer( objPlayer )
  1064. {
  1065. =09
  1066.     if ( objPlayer.Bhv !=3D null )
  1067.         for ( bhvIdx=3D0; bhvIdx<objPlayer.numBhv; bhvIdx++ )=09
  1068.         {
  1069.             var bhv =3D objPlayer.Bhv[bhvIdx]
  1070.             if ( bhv =3D=3D null)                            =09
  1071.                 continue;
  1072.             var delay =3D bhv.delay
  1073.             if        ( (delay =3D=3D null) || (delay =3D=3D DELAY_NONE) )=09
  1074.                 bhv.Start( bhv );                                =09
  1075.             else if ( delay > 0 )                                =09
  1076.                 StartOneShotTimer( bhv, bhv.delay, bhv.Start, TMR_SCENE );
  1077.         }
  1078. =09
  1079.     StartTransition( objPlayer, objPlayer.entryTrans, IE_VISIBLE, =
  1080. PlayerEntryTransitionDone );
  1081. =09
  1082. =09
  1083.     if ( objPlayer.duration > 0 )
  1084.         StartOneShotTimer( objPlayer, objPlayer.duration, PlayerExit, =
  1085. TMR_SCENE );                                =09
  1086. }
  1087. function PlayerEntryTransitionDone( objPlayer )
  1088. {
  1089. =09
  1090.     if ( objPlayer.Bhv !=3D null )
  1091.         for ( bhvIdx=3D0; bhvIdx<objPlayer.numBhv; bhvIdx++ )=09
  1092.         {
  1093.             var bhv =3D objPlayer.Bhv[bhvIdx]
  1094.             if ( bhv =3D=3D null)                            =09
  1095.                 continue;
  1096.             if ( bhv.delay =3D=3D DELAY_UNTIL_TRANSITION  )=09
  1097.                 bhv.Start( bhv );                                =09
  1098.         }
  1099. =09
  1100.     if ( objPlayer.Triggers !=3D null )
  1101.         EnableTrigger( objPlayer );
  1102. }
  1103. function PlayerExit( objPlayer )
  1104. {
  1105. =09
  1106.     StartTransition( objPlayer, objPlayer.exitTrans, IE_HIDDEN, =
  1107. PlayerExitTransitionDone );
  1108. }
  1109. function PlayerExitTransitionDone( objPlayer, finalScene )
  1110. {
  1111. =09
  1112.     if ( objPlayer.Bhv !=3D null )
  1113.         for ( bhvIdx=3D0; bhvIdx<objPlayer.numBhv; bhvIdx++ )=09
  1114.         {
  1115.             var bhv =3D objPlayer.Bhv[bhvIdx]
  1116.             if ( bhv =3D=3D null)                            =09
  1117.                 continue;
  1118.             if ( bhv.duration =3D=3D DUR_UNTIL_DONE  )        =09
  1119.                 bhv.Stop( bhv );                        =09
  1120.         }
  1121. =09
  1122.     if ( (finalScene =3D=3D null) || (finalScene =3D=3D false) )
  1123.         SetVisibility( objPlayer.HTML, IE_HIDDEN );        =09
  1124. =09
  1125. =09
  1126. =09
  1127.     if ( (sys !=3D "Netscape") && (objPlayer.HTML.Preview !=3D null) )
  1128.         SetVisibility( objPlayer.HTML, IE_VISIBLE );=20
  1129.     return;
  1130. }
  1131. function Trigger( trigType, trigBhv, player, scene )
  1132. {
  1133.     this.triggerType =3D trigType;
  1134.     this.triggerBhv =3D trigBhv;
  1135.     this.player =3D player;
  1136.     this.nextSceneNum =3D scene;
  1137. }
  1138. function EnableTrigger( objPlayer )
  1139. {
  1140.     if ( sys !=3D "Netscape" )                                =09
  1141.     {
  1142.         objPlayer.HTML.style.cursor=3D"hand";                    =09
  1143.         for ( trx in objPlayer.Triggers )                    =09
  1144.         {
  1145.             var    trigger =3D objPlayer.Triggers[trx];            =09
  1146.             if ( trigger.triggerType =3D=3D null )
  1147.                 trigger.triggerType =3D 0;                    =09
  1148.             var tt =3D trigger.triggerType;                    =09
  1149.             if            ( tt =3D=3D TT_ALL_MOUSE_EVENTS )                            =09
  1150.             {
  1151.                 objPlayer.HTML.onmousedown =3D EventProcessor;
  1152.                 objPlayer.HTML.onmouseup =3D EventProcessor;=09
  1153.                 objPlayer.HTML.onmouseover =3D EventProcessor;    =09
  1154.                 objPlayer.HTML.onmouseout =3D EventProcessor;
  1155.             }
  1156.             else if        ( tt =3D=3D TT_BUTTONDOWN )                =09
  1157.                 objPlayer.HTML.onmousedown =3D EventProcessor;
  1158.             else if        ( tt =3D=3D TT_BUTTONUP )        =09
  1159.                 objPlayer.HTML.onmouseup =3D EventProcessor;
  1160.             else if        ( tt =3D=3D TT_MOUSEOVER )        =09
  1161.                 objPlayer.HTML.onmouseover =3D EventProcessor;
  1162.             else if        ( tt =3D=3D TT_MOUSEOUT )        =09
  1163.                 objPlayer.HTML.onmouseout =3D EventProcessor;
  1164.         }
  1165.     }
  1166.     else                                        =09
  1167.     {
  1168.         for ( trx in objPlayer.Triggers )        =09
  1169.         {
  1170.             var    trigger =3D objPlayer.Triggers[trx];=09
  1171.             if ( trigger.triggerType =3D=3D null )
  1172.                 trigger.triggerType =3D 0;                    =09
  1173.             var tt =3D trigger.triggerType;                    =09
  1174.             if ( tt=3D=3D 0 )                                    =09
  1175.             {
  1176.                 objPlayer.HTML.NSLayer.captureEvents( Event.MOUSEUP | =
  1177. Event.MOUSEDOWN | Event.MOUSEOVER | Event.MOUSEOUT );
  1178.                 objPlayer.HTML.NSLayer.onMouseUp =3D EventProcessor;
  1179.                 objPlayer.HTML.NSLayer.onMouseDown =3D EventProcessor;
  1180.                 objPlayer.HTML.NSLayer.onMouseOver =3D EventProcessor;
  1181.                 objPlayer.HTML.NSLayer.onMouseOut =3D EventProcessor;
  1182.             }
  1183.             else if    ( tt =3D=3D TT_BUTTONUP )
  1184.             {
  1185.                 objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEUP);
  1186.                 objPlayer.HTML.NSLayer.onMouseUp =3D EventProcessor;
  1187.             }
  1188.             else if ( tt =3D=3D TT_BUTTONDOWN )
  1189.             {
  1190.                 objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEDOWN);
  1191.                 objPlayer.HTML.NSLayer.onMouseDown =3D EventProcessor;
  1192.             }
  1193.         }
  1194.     =09
  1195.     }
  1196. }
  1197. function DisableTrigger( objPlayer )
  1198. {
  1199.     if ( sys !=3D "Netscape" )            =09
  1200.     {
  1201.         objPlayer.HTML.onmousedown =3D null;
  1202.         objPlayer.HTML.onmouseup =3D null;=09
  1203.         objPlayer.HTML.onmouseover =3D null;    =09
  1204.         objPlayer.HTML.onmouseout =3D null;
  1205.     }
  1206.     else                                =09
  1207.         objPlayer.HTML.NSLayer.releaseEvents(Event.MOUSEUP | Event.MOUSEDOWN | =
  1208. Event.MOUSEOVER | Event.MOUSEOUT );
  1209. }
  1210. function EventProcessor( e )
  1211. {
  1212.     var trigger;                                =09
  1213.     var    type;                                    =09
  1214.     var    button;                                    =09
  1215.     var    eventType;                                =09
  1216.     var objPlayer;                                =09
  1217.     if ( (objPlayer =3D GetPlayerFromName(this.id)) =3D=3D null)=09
  1218.         return;
  1219.     if ( sys !=3D "Netscape" )                    =09
  1220.     {
  1221.         type =3D event.type;
  1222.         button =3D event.button;
  1223.     }
  1224.     else                                        =09
  1225.     {
  1226.         type =3D e.type;
  1227.         button =3D e.which;
  1228.     }
  1229. =09
  1230.     if (type =3D=3D "mousedown")
  1231.     {
  1232.         if ( button !=3D 1 )                    =09
  1233.             return;
  1234.         eventType =3D TT_BUTTONDOWN;
  1235.         if ( sys =3D=3D "Netscape" )            =09
  1236.         {
  1237.             objPlayer.HTML.NSLayer.releaseEvents(Event.MOUSEDOWN);
  1238.             objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEDOWN);
  1239.         }
  1240.     }
  1241.     else if (type =3D=3D "mouseup")
  1242.     {
  1243.         if ( button !=3D 1 )                    =09
  1244.             return;
  1245.         eventType =3D TT_BUTTONUP;
  1246.         if ( sys =3D=3D "Netscape" )            =09
  1247.         {
  1248.             objPlayer.HTML.NSLayer.releaseEvents(Event.MOUSEUP);
  1249.             objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEUP);
  1250.         }
  1251.     }
  1252.     else if (type =3D=3D "mouseover")
  1253.     {
  1254.         eventType =3D TT_MOUSEOVER;
  1255.     }
  1256.     else if (type =3D=3D "mouseout")
  1257.     {
  1258.         eventType =3D TT_MOUSEOUT;
  1259.     }
  1260.     var triggerArray =3D objPlayer.Triggers;        =09
  1261.     var trigger;                                =09
  1262. =09
  1263.     for ( var trx=3D0; (trigger=3DtriggerArray[trx]) !=3D null; trx++ )
  1264.     {
  1265.         if ( (trigger.triggerType =3D=3D 0) || (trigger.triggerType =3D=3D =
  1266. eventType) )
  1267.         {
  1268.         =09
  1269.         =09
  1270.         =09
  1271.             if        ( trigger.triggerBhv =3D=3D TB_PAGE_TURNER )
  1272.             {
  1273.             =09
  1274.             =09
  1275.                 if ( (trigger.nextSceneNum =3D=3D null) || (trigger.nextSceneNum =
  1276. =3D=3D "") )
  1277.                     SceneExit( currentScene );
  1278.                 else
  1279.                 {
  1280.                     if ( Scenes[trigger.nextSceneNum].number < currentScene.number )
  1281.                     {
  1282.                         for ( ii=3D0; ii<=3DcurrentScene.number; ii++ )
  1283.                             InitializePlayers( sceneArray[ii] );
  1284.                     }
  1285.                     SceneExit( currentScene, Scenes[trigger.nextSceneNum] );
  1286.                 }
  1287.             }
  1288.             else if    ( trigger.triggerBhv =3D=3D TB_START_PLAYER )
  1289.                 StartPlayer( GetPlayerFromName( trigger.player ) );            =09
  1290.             else=20
  1291.             {
  1292.             =09
  1293.                 var objTrigPlayer =3D GetPlayerFromName( trigger.player );    =09
  1294.                 var bhv =3D objTrigPlayer.Bhv[trigger.triggerBhv];            =09
  1295.                 bhv.Trigger( bhv, eventType );                                =09
  1296.             }  =09
  1297.         }
  1298.     }
  1299.     return;=09
  1300. }
  1301. function Transition( type, rate, flyFrom, flySubtype )
  1302. {
  1303.     this.type =3D type;
  1304.     this.rate =3D rate;
  1305.     this.flyFrom =3D flyFrom;
  1306.     this.flySubtype =3D flySubtype;
  1307. }
  1308. function StartTransition( transObj, trans, visibility, callback )
  1309. {
  1310.     var    playerType =3D GetObjectTypeFromName( transObj.name );    =09
  1311. =09
  1312. =09
  1313. =09
  1314.     if    ( ("Netscape" =3D=3D sys) ||=20
  1315.         ( (playerType =3D=3D OBJ_PLAYER) && (trans.type =3D=3D =
  1316. NULL_TRANSITION) ) )
  1317.     {
  1318.         SetVisibility( transObj.HTML, visibility );
  1319.         callback( transObj );
  1320.         return;
  1321.     }
  1322. =09
  1323. =09
  1324. =09
  1325. =09
  1326.     if ( ((trans.type =3D=3D TEXT_FLYIN) || (trans.type =3D=3D =
  1327. TEXT_TYPEWRITER)) && (visibility =3D=3D IE_VISIBLE) )
  1328.     {
  1329.         StartTextFlyin( transObj );
  1330.         return;
  1331.     }
  1332. =09
  1333.     if ( platform !=3D "Win32" )
  1334.     {
  1335.         SetVisibility( transObj.HTML, visibility );
  1336.         callback( transObj );
  1337.         return;
  1338.     }
  1339.     =09
  1340. =09
  1341. =09
  1342. =09
  1343. =09
  1344. =09
  1345.     if ( trans.type =3D=3D NULL_TRANSITION )
  1346.     {
  1347.         transObj.HTML.style.filter =3D "revealTrans(duration=3D0, =
  1348. transition=3D0)";
  1349.     }
  1350.     else    =09
  1351.     {
  1352.         duration =3D TRANSITION_RATES[trans.rate];
  1353.         transObj.HTML.style.filter =3D "revealTrans(duration=3D" + duration + =
  1354. ", transition=3D" + trans.type + ")";
  1355.     }
  1356.     stNoInput++;                                    =09
  1357.     transObj.HTML.filters(0).Apply();                =09
  1358. =09
  1359.     SetVisibility( transObj.HTML, visibility );        =09
  1360. =09
  1361.     transObj.HTML.filters(0).Play()                    =09
  1362.     transObj.HTML.onfilterchange =3D TransitionDoneEvent;=09
  1363. }
  1364. function TransitionDoneEvent( )
  1365. {
  1366.     var    type =3D GetObjectTypeFromName( event.srcElement.id );    =09
  1367.     stNoInput--;                                                =09
  1368.     if        ( type =3D=3D OBJ_SCENE )
  1369.     {
  1370.     =09
  1371.         if ( (currentScene !=3D null) && (event.srcElement.id =3D=3D =
  1372. currentScene.name) )
  1373.             SceneTransitionDone();
  1374.     }
  1375.     else if    ( type =3D=3D OBJ_PLAYER )        =09
  1376.     {
  1377.         var objPlayer =3D GetPlayerFromName( event.srcElement.id );
  1378.         if ( this.style.visibility =3D=3D IE_VISIBLE )                =09
  1379.             PlayerEntryTransitionDone( objPlayer ); =20
  1380.         else                                                    =09
  1381.             PlayerExitTransitionDone( objPlayer, false );
  1382.     }
  1383.     return;
  1384. }
  1385. function InitializeTextFlyin( objPlayer )
  1386. {
  1387.     if ( sys =3D=3D "Netscape" )                                    =09
  1388.         return false;
  1389.     var    transition =3D objPlayer.entryTrans;                        =09
  1390.     var    transUnits =3D transition.flySubtype;                        =09
  1391.     var    movePerTick    =3D parseInt(FLYIN_PER_TICK[transition.rate]);=09
  1392. =09
  1393.     var    transDirection =3D (transition.type =3D=3D TEXT_FLYIN) ? =
  1394. transition.flyFrom : FLYIN_TOP;    =09
  1395.     =09
  1396. =09
  1397.     if ( stProjState =3D=3D PS_UNINITIALIZED )
  1398.     {
  1399.         var    textHTML    =3D objPlayer.HTML;                =09
  1400.         var    oldInnerHTML    =3D textHTML.innerHTML;        =09
  1401.         var    newInnerHTML    =3D "";                        =09
  1402.     =09
  1403.         transition.textOrder =3D new Array();                =09
  1404.         textOrder =3D transition.textOrder;                =09
  1405. =09
  1406.     =09
  1407.     =09
  1408.     =09
  1409.     =09
  1410.         var flyinIdx =3D 0;                        =09
  1411.         var    flyinBuffer =3D "";
  1412.     =09
  1413.     =09
  1414.     =09
  1415.         var spanStyle =3D (transition.type =3D=3D TEXT_FLYIN) ? " =
  1416. style=3D'position:relative;visibility:hidden;'" : " =
  1417. style=3D'visibility:hidden;'";
  1418.         for ( var letterIdx=3D0; letterIdx<oldInnerHTML.length; )
  1419.         {
  1420.         =09
  1421.             tempID =3D objPlayer.name+"_tempID"+flyinIdx.toString();
  1422.             newInnerHTML +=3D "<span id=3D" + tempID + spanStyle + ">";
  1423.             while ( letterIdx<oldInnerHTML.length )
  1424.             {
  1425.             =09
  1426.             =09
  1427.             =09
  1428.                 if ( ( (charNext =3D oldInnerHTML.substring(letterIdx, letterIdx+1)) =
  1429. =3D=3D "<") || (charNext =3D=3D "&") )    =09
  1430.                 {
  1431.                     if ( charNext =3D=3D "<" )                                                                =09
  1432.                         endTagIdx =3D oldInnerHTML.indexOf( ">", letterIdx );=09
  1433.                     else
  1434.                         endTagIdx =3D oldInnerHTML.indexOf( ";", letterIdx );=09
  1435.                     var tagString =3D oldInnerHTML.substring( letterIdx, ++endTagIdx );
  1436.                     newInnerHTML +=3D tagString;
  1437.                     letterIdx =3D endTagIdx;                                            =09
  1438.                 =09
  1439.                     if ( ((tagString =3D=3D "</P>") || (tagString =3D=3D "<BR>")) &&
  1440.                         (transUnits !=3D FLYIN_BY_LETTER)    )                                    =09
  1441.                         break;
  1442.                 }
  1443.             =09
  1444.                 else
  1445.                 {
  1446.                     thisChar =3D oldInnerHTML.substring( letterIdx, ++letterIdx );
  1447.                     newInnerHTML +=3D thisChar;
  1448.                     if        ( transUnits =3D=3D FLYIN_BY_LETTER )        =09
  1449.                         break;                                        =09
  1450.                     else if    ( (transUnits =3D=3D FLYIN_BY_WORD ) && thisChar =3D=3D " " =
  1451. )    =09
  1452.                         break;
  1453.                 }
  1454.             }
  1455.             newInnerHTML +=3D "</span>"
  1456.             textOrder[flyinIdx] =3D new Object();
  1457.             textOrder[flyinIdx].name =3D tempID;                                    =09
  1458.             flyinIdx++;                                                            =09
  1459.         }
  1460.     =09
  1461.         if ( flyinIdx =3D=3D 0 )
  1462.             return false;
  1463.     =09
  1464.         textHTML.innerHTML =3D newInnerHTML;
  1465.         transition.numUnits =3D flyinIdx;                        =09
  1466.     }
  1467. =09
  1468. =09
  1469. =09
  1470.     textOrder =3D transition.textOrder;
  1471.     var currentEl =3D document.all[textOrder[0].name];    =09
  1472.     var currentOffset =3D currentEl.offsetLeft;=09
  1473.     var previousEl, previousOffset;
  1474.     for ( var count=3D0; count<transition.numUnits; count++ )        =09
  1475.     {
  1476.         previousOffset =3D currentOffset;                            =09
  1477.         previousEl =3D currentEl;
  1478.         textElName =3D textOrder[count].name;                    =09
  1479.         currentEl =3D document.all[textElName];
  1480.         SetVisibility( currentEl, IE_HIDDEN );
  1481.         currentOffset =3D currentEl.offsetTop;
  1482.     =09
  1483.     =09
  1484.     =09
  1485.     =09
  1486.     =09
  1487.     =09
  1488.         if ( currentOffset !=3D previousOffset )                                =09
  1489.             if ( previousEl.innerHTML =3D=3D " " )                                    =09
  1490.                 previousEl.innerHTML =3D "<br>";
  1491.         if ( transDirection =3D=3D FLYIN_ROTATE )        =09
  1492.             direction =3D count % FLYIN_ROTATE;            =09
  1493.         else
  1494.             direction =3D transDirection;
  1495.     =09
  1496.         if        ( direction =3D=3D FLYIN_LEFT )
  1497.         {
  1498.             tempPos =3D -(currentEl.offsetParent.offsetLeft + =
  1499. currentEl.offsetParent.offsetWidth);
  1500.             currentEl.style.posLeft =3D tempPos;                    =09
  1501.             textOrder[count].dx =3D -movePerTick;                    =09
  1502.             textOrder[count].dy =3D 0;
  1503.             textOrder[count].iterations =3D tempPos / (-movePerTick);=09
  1504.         }
  1505.         else if ( direction =3D=3D FLYIN_RIGHT )
  1506.         {
  1507.             tempPos =3D objPlayer.HTML.parentElement.offsetWidth - =
  1508. currentEl.offsetParent.offsetLeft;
  1509.             currentEl.style.posLeft =3D tempPos;
  1510.             textOrder[count].dx =3D movePerTick;                    =09
  1511.             textOrder[count].dy =3D 0;
  1512.             textOrder[count].iterations =3D tempPos / movePerTick;=09
  1513.         }
  1514.         else if    ( direction =3D=3D FLYIN_TOP )
  1515.         {
  1516.             tempPos =3D -(currentEl.offsetParent.style.posTop + =
  1517. currentEl.offsetParent.offsetHeight);
  1518.             currentEl.style.posTop =3D tempPos;
  1519.             textOrder[count].dx =3D 0;
  1520.             textOrder[count].dy =3D (-movePerTick);                =09
  1521.             textOrder[count].iterations =3D tempPos / (-movePerTick);=09
  1522.         }
  1523.         else if ( direction =3D=3D FLYIN_BOTTOM )
  1524.         {
  1525.             tempPos =3D objPlayer.HTML.parentElement.offsetHeight - =
  1526. currentEl.offsetParent.style.posTop;
  1527.             currentEl.style.posTop =3D tempPos;
  1528.             textOrder[count].dx =3D 0;
  1529.             textOrder[count].dy =3D movePerTick;                    =09
  1530.             textOrder[count].iterations =3D tempPos / movePerTick;=09
  1531.         }
  1532.     }
  1533. =09
  1534.     transition.charIdx =3D 0;                            =09
  1535.     transition.moveIdx =3D 0;                            =09
  1536.     textElName =3D transition.textOrder[0].name;
  1537.     transition.currentEl =3D document.all[textElName];=09
  1538.     SetVisibility( transition.currentEl, IE_VISIBLE );
  1539.     return true;
  1540. }
  1541. function StartTextFlyin( objPlayer )
  1542. {
  1543. =09
  1544.     SetVisibility( objPlayer.HTML, IE_VISIBLE );
  1545.     StartAnimationTimer( objPlayer, TextFlyinTick );
  1546. }
  1547. function TextFlyinTick( objPlayer )
  1548. {
  1549.     var    transition =3D objPlayer.entryTrans;                    =09
  1550.     var    spanObj =3D transition.textOrder[transition.charIdx];    =09
  1551.     var textEl =3D transition.currentEl;                        =09
  1552. =09
  1553. =09
  1554.     if ( ++transition.moveIdx < spanObj.iterations)            =09
  1555.     {
  1556.         textEl.style.posTop -=3D spanObj.dy;                    =09
  1557.         textEl.style.posLeft -=3D spanObj.dx;
  1558.         return false;                                        =09
  1559.     }
  1560.     =09
  1561. =09
  1562.     textEl.style.posTop =3D 0;                                =09
  1563.     textEl.style.posLeft =3D 0;
  1564.     =09
  1565. =09
  1566.     if ( (charIdx =3D ++transition.charIdx) >=3D =
  1567. transition.textOrder.length )=09
  1568.     {
  1569.         PlayerEntryTransitionDone( objPlayer );                =09
  1570.         return true;                                        =09
  1571.     }
  1572.     else
  1573.     {
  1574.         transition.moveIdx =3D 0;                                =09
  1575.         textElName =3D transition.textOrder[charIdx].name;
  1576.         transition.currentEl =3D document.all[textElName];    =09
  1577.         transition.currentEl.style.visibility =3D IE_VISIBLE;    =09
  1578.         return false;                                        =09
  1579.     }                                                        =09
  1580. }
  1581. var    SND_DUR_SCENE            =3D -1;=09
  1582. var    SND_DUR_PROJECT            =3D 0;=09
  1583. var ST_WAV                    =3D 1;=09
  1584. var    ST_MID                    =3D 2;=09
  1585. var    NAV_EXT                    =3D "nav"=09
  1586. var MidiTag                    =3D null;=09
  1587. function Sound( delay, duration, loop, soundType, tagName, fileName )
  1588. {
  1589. =09
  1590.     this.Initialize =3D InitializeSound;
  1591.     this.Start =3D StartSound;
  1592.     this.Trigger =3D StartSound;
  1593.     this.Stop =3D StopSound;
  1594.     this.StopEverything =3D StopEverythingOnSounds;
  1595. =09
  1596.     this.delay =3D delay;
  1597.     this.duration =3D duration;
  1598.     this.loop =3D loop;
  1599.     this.tagName =3D tagName;
  1600.     this.fileName =3D fileName;
  1601.     this.soundType =3D soundType;
  1602. }
  1603. function InitializeSound( objParent, objSound )
  1604. {
  1605.     if ( sys =3D=3D "Netscape" )
  1606.     {
  1607.         objSound.navLoop =3D (objSound.loop =3D=3D -1) ? true : false;
  1608.         objSound.html =3D document[objSound.tagName+NAV_EXT];
  1609.         return;
  1610.     }
  1611.     objSound.objParent =3D objParent;                =09
  1612.     objSound.html =3D document.all[objSound.tagName];=09
  1613.     objSound.fileName =3D objSound.html.soundsrc;    =09
  1614. =09
  1615. =09
  1616.     if (objSound.soundType =3D=3D ST_MID )
  1617.     {
  1618.         if ( MidiTag =3D=3D null )                    =09
  1619.             MidiTag =3D objSound.html;            =09
  1620.         else
  1621.             objSound.html =3D MidiTag;            =09
  1622.     }        =09
  1623. }
  1624. function StartSound( objSound )
  1625. {
  1626.     if ( sys =3D=3D "Netscape" )                    =09
  1627.     {
  1628.         if ( objSound.html !=3D null )            =09
  1629.             objSound.html.play(objSound.navLoop);
  1630.         return;
  1631.     }
  1632.     objSound.html.src =3D objSound.fileName;        =09
  1633.     objSound.html.loop =3D objSound.loop;            =09
  1634.     if ( objSound.soundType =3D=3D ST_WAV )        =09
  1635.         objSound.html.volume =3D 0;                    =09
  1636.     if ( objSound.duration > 0 )
  1637.         StartOneShotTimer( objSound, objSound.duration, objSound.Stop, =
  1638. TMR_PROJ );
  1639. }
  1640. function StopSound( objSound, fPause )
  1641. {
  1642.     if ( sys =3D=3D "Netscape" )                    =09
  1643.     {
  1644.         if ( objSound.html !=3D null )            =09
  1645.             objSound.html.stop();
  1646.         return;
  1647.     }
  1648.     objSound.html.loop =3D 0;
  1649.     objSound.html.src =3D "";                            =09
  1650.     if ( objSound.soundType =3D=3D ST_WAV )
  1651.         objSound.html.volume =3D -10000;
  1652. }
  1653. function StopEverythingOnSounds( objSound )
  1654. {
  1655.     StopSound( objSound, true );
  1656.     if ( (sys !=3D "Netscape") && (os =3D=3D "NT") )                =09
  1657.         objSound.html.volume =3D -500;                        =09
  1658. }
  1659. var    SND_DUR_SCENE            =3D -1;=09
  1660. var    SND_DUR_PROJECT            =3D 0;=09
  1661. function Swapper( idle, hover, click )
  1662. {
  1663. =09
  1664.     this.Initialize =3D InitializeSwap;
  1665.     this.Start =3D StartSwap;
  1666.     this.Trigger =3D TriggerSwap;
  1667.     this.Stop =3D StopSwap;
  1668.     this.StopEverything =3D StopSwap;
  1669. =09
  1670.     this.idle =3D idle;
  1671.     this.hover =3D hover;
  1672.     this.click =3D click;
  1673. }
  1674. function InitializeSwap( objParent, objSwap )
  1675. {
  1676.     if ( stProjState !=3D PS_UNINITIALIZED )            =09
  1677.         return;
  1678. =09
  1679.     var    idle    =3D objSwap.idle;                        =09
  1680.     var    hover    =3D objSwap.hover;
  1681.     var    click    =3D objSwap.click;
  1682. =09
  1683. =09
  1684. =09
  1685. =09
  1686. =09
  1687. =09
  1688. =09
  1689.     if ( (hover !=3D null) && (hover !=3D "") && (document.all[hover].src =
  1690. !=3D null) )
  1691.     {
  1692.         SetVisibility( document.all[hover], IE_HIDDEN );
  1693.         objSwap.srcHover =3D document.all[hover].src;
  1694.         document.all[hover].src =3D "";
  1695.     }
  1696.     else
  1697.         objSwap.srcHover =3D document.all[idle].src;
  1698.     if ( (click !=3D null) && (click !=3D "") && (document.all[click].src =
  1699. !=3D null) )
  1700.     {
  1701.         SetVisibility( document.all[click], IE_HIDDEN );
  1702.         objSwap.srcClick =3D document.all[click].src;
  1703.         document.all[click].src =3D "";
  1704.     }
  1705.     else
  1706.         objSwap.srcClick =3D document.all[idle].src;
  1707. =09
  1708.     objSwap.srcIdle =3D document.all[idle].src;
  1709. }
  1710. function StartSwap( objSwap )
  1711. {
  1712. =09
  1713. }
  1714. function TriggerSwap( objSwap, eventType )
  1715. {
  1716.     if ( eventType =3D=3D TT_BUTTONDOWN )
  1717.         document.all[objSwap.idle].src =3D objSwap.srcClick;
  1718.     else if ( eventType =3D=3D TT_BUTTONUP )
  1719.         document.all[objSwap.idle].src =3D objSwap.srcHover;
  1720.     else if ( eventType =3D=3D TT_MOUSEOVER )
  1721.         document.all[objSwap.idle].src =3D objSwap.srcHover;
  1722.     else if ( eventType =3D=3D TT_MOUSEOUT )
  1723.         document.all[objSwap.idle].src =3D objSwap.srcIdle;
  1724.     return;
  1725. }
  1726. function StopSwap( objSwap, fPause )
  1727. {
  1728.     if ( fPause )                        =09
  1729.         return;
  1730. }
  1731. var    PATH_PER_TICK =3D new Array(50,40,30,20,10);    =09
  1732. var    PE_STOP        =3D 0;                            =09
  1733. var    PE_AGAIN    =3D 1;                            =09
  1734. var    PE_REV        =3D 2;                            =09
  1735. var    PE_EXIT        =3D 3;                            =09
  1736. var    PD_FWD        =3D 1;
  1737. var    PD_BACK        =3D -1;
  1738. function Point( x, y, rate )
  1739. {
  1740.     this.x =3D x;
  1741.     this.y =3D y;
  1742.     this.rate =3D rate;
  1743. }
  1744. function Paths( delay, edgeEffect )
  1745. {
  1746. =09
  1747.     this.Initialize =3D InitializePathAnimation;
  1748.     this.Start =3D StartPathAnimation;
  1749.     this.Trigger =3D StartPathAnimation;
  1750.     this.Stop =3D StopPathAnimation;
  1751.     this.StopEverything =3D StopPathAnimation;
  1752. =09
  1753.     this.delay =3D delay;
  1754.     this.edgeEffect =3D edgeEffect;
  1755. }
  1756. function InitializePathAnimation( objPlayer, path )
  1757. {
  1758.     var    segment;                                =09
  1759.     var pathIndex;
  1760.     var totalDistance;                            =09
  1761.     var    distanceX;                                =09
  1762.     var    distanceY;
  1763.     var dx;                                        =09
  1764.     var    dy;
  1765.     var travelTime;                                =09
  1766.     var    remX;                                    =09
  1767.     var    remY;
  1768. =09
  1769.     if ( stProjState !=3D PS_UNINITIALIZED )
  1770.     {
  1771.         objPlayer.position.SetPosition( path[0].x, path[0].y );
  1772.         return;
  1773.     }
  1774.     path.objPlayer =3D objPlayer;                    =09
  1775.     halfWidth =3D Math.floor(objPlayer.HTML.offsetWidth/2);    =09
  1776.     halfHeight =3D Math.floor(objPlayer.HTML.offsetHeight/2);
  1777. =09
  1778. =09
  1779.     path[0].x -=3D halfWidth;
  1780.     path[0].y -=3D halfHeight;
  1781.     objPlayer.position.SetPosition( path[0].x, path[0].y );
  1782.     for ( pathIndex=3D0; path[pathIndex+1] !=3D null; pathIndex++ )=09
  1783.     {
  1784.         px =3D parseInt(pathIndex);                =09
  1785.         segment =3D path[px];                        =09
  1786.     =09
  1787.     =09
  1788.     =09
  1789.         path[px+1].x -=3D halfWidth;
  1790.         path[px+1].y -=3D halfHeight;
  1791.     =09
  1792.         distanceX =3D path[px+1].x - segment.x;    =09
  1793.         distanceY =3D path[px+1].y - segment.y;    =09
  1794.     =09
  1795.         totalDistance =3D Math.sqrt( (distanceX*distanceX) + =
  1796. (distanceY*distanceY) );
  1797.     =09
  1798.     =09
  1799.         travelTime =3D Math.round(totalDistance / =
  1800. PATH_PER_TICK[segment.rate]);
  1801.     =09
  1802.     =09
  1803.         if ( distanceX > 0 )                        =09
  1804.             dx =3D Math.floor( distanceX / travelTime );=09
  1805.         else if ( distanceX < 0 )                    =09
  1806.             dx =3D Math.ceil( distanceX / travelTime );=09
  1807.         else
  1808.             dx =3D 0;
  1809.     =09
  1810.     =09
  1811.     =09
  1812.     =09
  1813.         remX =3D distanceX % travelTime;
  1814.     =09
  1815.         if ( distanceY > 0 )                        =09
  1816.             dy =3D Math.floor( distanceY / travelTime );
  1817.         else if ( distanceY < 0 )
  1818.             dy =3D Math.ceil( distanceY / travelTime );
  1819.         else
  1820.             dy =3D 0;
  1821.         remY =3D distanceY % travelTime;
  1822.         segment.number =3D px;                        =09
  1823.         segment.ticks =3D 0;
  1824.         segment.travelTime =3D travelTime;
  1825.         segment.dx =3D dx;
  1826.         segment.dy =3D dy;
  1827.         segment.remX =3D remX;
  1828.         segment.remY =3D remY;
  1829.     }
  1830.     path.numSegs =3D parseInt(pathIndex);                =09
  1831.     path.dir =3D PD_FWD;                                        =09
  1832.     return;
  1833. }
  1834. function StartPathAnimation( path )
  1835. {
  1836.     path.currentSegment =3D path[0];    =09
  1837.     path.currentSegment.ticks =3D 0;    =09
  1838.     path.cntSegs =3D 0;                                =09
  1839. =09
  1840. =09
  1841.     if ( path.dir =3D=3D PD_BACK )                            =09
  1842.     {
  1843.         for ( var ii=3D0; ii<path.numSegs; ii++ )            =09
  1844.         {
  1845.             path[ii].dx *=3D -1;
  1846.             path[ii].dy *=3D -1;
  1847.             path[ii].remX *=3D -1;
  1848.             path[ii].remY *=3D -1;
  1849.         }
  1850.         path.dir =3D PD_FWD;                                =09
  1851.     }
  1852.     StartAnimationTimer( path, PathAnimationTick );
  1853. }
  1854. function StopPathAnimation( path, fPause )
  1855. {
  1856.     return;
  1857. }
  1858. function PathAnimationTick( path )
  1859. {
  1860.     var    objPlayer =3D path.objPlayer;            =09
  1861.     var segment =3D path.currentSegment;        =09
  1862.     var    currentPosition =3D objPlayer.position;=09
  1863.     if ( ++segment.ticks <=3D segment.travelTime )    =09
  1864.     {
  1865.         newX =3D currentPosition.x + segment.dx;        =09
  1866.         if ( segment.ticks <=3D Math.abs(segment.remX) )=09
  1867.             segment.remX > 0 ? newX++ : newX--;
  1868.         newY =3D currentPosition.y + segment.dy;        =09
  1869.         if ( segment.ticks <=3D Math.abs(segment.remY) )=09
  1870.             segment.remY > 0 ? newY++ : newY--;
  1871.         currentPosition.SetPosition( newX, newY );=09
  1872.         return false;                            =09
  1873.     }
  1874. =09
  1875. =09
  1876.     if ( ++path.cntSegs < path.numSegs )
  1877.     {
  1878.     =09
  1879.         path.currentSegment =3D path[segment.number+path.dir];    =09
  1880.         path.currentSegment.ticks =3D 0;                            =09
  1881.             =09
  1882.         return false;
  1883.     }
  1884.     =09
  1885. =09
  1886.     if            ( path.edgeEffect =3D=3D PE_AGAIN )    =09
  1887.     {
  1888.     =09
  1889.         objPlayer.position.SetPosition( path[0].x, path[0].y );
  1890.     =09
  1891.         path.currentSegment =3D path[0];                =09
  1892.         path.currentSegment.ticks =3D 0;                =09
  1893.         path.cntSegs =3D 0;                            =09
  1894.         return false;                                =09
  1895.     }                        =09
  1896.     else if        ( path.edgeEffect =3D=3D PE_REV )        =09
  1897.     {
  1898.         path.dir *=3D -1;                                =09
  1899.     =09
  1900.         for ( var ii=3D0; ii<path.numSegs; ii++ )
  1901.         {
  1902.             path[ii].dx *=3D -1;
  1903.             path[ii].dy *=3D -1;
  1904.             path[ii].remX *=3D -1;
  1905.             path[ii].remY *=3D -1;
  1906.         }
  1907.         path.currentSegment.ticks =3D 0;                =09
  1908.         path.cntSegs =3D 0;                            =09
  1909.         return false;
  1910.     }
  1911.     else if        ( path.edgeEffect =3D=3D PE_EXIT )
  1912.     {
  1913.         PlayerExit( objPlayer );
  1914.         return true;
  1915.     }
  1916.     else
  1917.         return true;                                =09
  1918. }
  1919. var    GROW_PER_TICK =3D new Array(20,14,8,4,1);    =09
  1920. function Size( zoom, rate )
  1921. {
  1922.     this.zoom =3D zoom;
  1923.     this.rate =3D rate;
  1924. }
  1925. function Grows( delay )
  1926. {
  1927. =09
  1928.     this.Initialize =3D InitializeGrowAnimation;
  1929.     this.Start =3D StartGrowAnimation;
  1930.     this.Trigger =3D StartGrowAnimation;
  1931.     this.Stop =3D StopGrowAnimation;
  1932.     this.StopEverything =3D StopGrowAnimation;
  1933. =09
  1934.     this.delay =3D delay;
  1935. }
  1936. function InitializeGrowAnimation( objPlayer, grow )
  1937. {
  1938.     if ( sys =3D=3D "Netscape" )
  1939.         return;
  1940.     var    child =3D objPlayer.HTML.children[0];                    =09
  1941.     var playerType =3D GetPlayerTypeFromName( objPlayer.name );=09
  1942. =09
  1943. =09
  1944. =09
  1945.     if ( stProjState =3D=3D PS_UNINITIALIZED )
  1946.     {
  1947.         grow.realWidth =3D child.width;
  1948.         grow.realHeight =3D child.height;
  1949.     }
  1950.     if ( (playerType =3D=3D PLAYER_TEXT) || sys =3D=3D "Netscape" )=09
  1951.     {
  1952.         grow =3D null;                                        =09
  1953.         return;
  1954.     }
  1955.     grow.objPlayer =3D objPlayer;                                =09
  1956. =09
  1957.     grow.currentSegment =3D grow[0];                            =09
  1958.     grow.currentGrowth =3D grow.currentSegment.zoom;            =09
  1959. =09
  1960. =09
  1961. =09
  1962.     child.width *=3D (grow.currentSegment.zoom / 100);        =09
  1963.     child.height *=3D (grow.currentSegment.zoom / 100);
  1964. =09
  1965.     for ( var growIndex=3D0; grow[growIndex] !=3D null; growIndex++ )=09
  1966.     {
  1967.         gx =3D parseInt(growIndex);                =09
  1968.         segment =3D grow[gx];                        =09
  1969.         if ( grow[gx+1] =3D=3D null )                =09
  1970.         {
  1971.             grow.finalSegment =3D grow[gx-1];        =09
  1972.             break;                                =09
  1973.         }
  1974.     =09
  1975.         growth =3D grow[gx+1].zoom - segment.zoom;                =09
  1976.         if ( growth >=3D 0 )                                        =09
  1977.             growthFactor =3D GROW_PER_TICK[segment.rate];            =09
  1978.         else
  1979.             growthFactor =3D -(GROW_PER_TICK[segment.rate]);
  1980.     =09
  1981.         growthTicks =3D growth / growthFactor;        =09
  1982.     =09
  1983.         segment.number =3D gx;                        =09
  1984.         segment.growth =3D growth;
  1985.         segment.growthFactor =3D growthFactor;
  1986.         segment.growthTicks =3D growthTicks;
  1987.         segment.currentTicks =3D 0;
  1988.     }
  1989. }
  1990. function StartGrowAnimation( grow )
  1991. {=09
  1992.     if ( sys =3D=3D "Netscape" )
  1993.         return;
  1994.     grow.currentSegment =3D grow[0];                        =09
  1995.     grow.currentTicks =3D 0;
  1996.     StartAnimationTimer( grow, GrowAnimationTick );
  1997. }
  1998. function StopGrowAnimation( grow, fPause )
  1999. {
  2000.     return;
  2001. }
  2002. function GrowAnimationTick( grow )
  2003. {
  2004.     if ( sys =3D=3D "Netscape" )
  2005.         return true;                                    =09
  2006.     var    objPlayer =3D grow.objPlayer;                        =09
  2007.     var    child =3D objPlayer.HTML.children[0];                =09
  2008.     var segment =3D grow.currentSegment;                    =09
  2009.     grow.currentGrowth +=3D segment.growthFactor;            =09
  2010.     child.width =3D grow.realWidth*(grow.currentGrowth/100);=09
  2011.     child.height =3D grow.realHeight*(grow.currentGrowth/100);
  2012.     if ( ++grow.currentTicks <=3D segment.growthTicks )    =09
  2013.         return false;                                    =09
  2014.     if ( grow.currentSegment =3D=3D grow.finalSegment )        =09
  2015.         return true;                                    =09
  2016.     grow.currentSegment =3D grow[ segment.number+1 ];        =09
  2017.     grow.currentTicks =3D 0;
  2018.     return false;                                        =09
  2019. }
  2020. function Timer()
  2021. {
  2022.     if ( Project.tickRate =3D=3D null )        =09
  2023.         this.tickRate =3D DEFAULT_TICK_RATE;
  2024.     else
  2025.         this.tickRate =3D Project.tickRate;
  2026.     this.oneShots =3D new Array();
  2027.     this.animations =3D new Array();
  2028.     this.tickCounter =3D 0;                        =09
  2029.     this.ticksPerSecond =3D 1000 / (this.tickRate);=09
  2030.     this.timerID =3D null;
  2031.     this.StartTicking =3D StartTicking;            =09
  2032.     this.StopTicking =3D StopTicking;
  2033. =09
  2034. }
  2035. function StartTicking()
  2036. {
  2037.     if ( this.timerID =3D=3D null )
  2038.         this.timerID =3D setInterval( "TimerTick()", this.tickRate );
  2039. }
  2040. function StopTicking()
  2041. {
  2042.     if ( this.timerID !=3D null )
  2043.         clearInterval( this.timerID );
  2044.     this.timerID =3D null;
  2045. }
  2046. function TimerTick()
  2047. {
  2048.     var timerEvent;
  2049. =09
  2050.     for ( var ii=3D0; ii<tickTimer.animations.length; ii++ )    =09
  2051.     {
  2052.         if ( (timerEvent=3DtickTimer.animations[ii]) =3D=3D null )=09
  2053.             continue;                                        =09
  2054.         if ( timerEvent.callback( timerEvent.callbackObj ) =3D=3D true )=09
  2055.             tickTimer.animations[ii] =3D null;                =09
  2056.     }
  2057. =09
  2058.     if ( (++tickTimer.tickCounter % tickTimer.ticksPerSecond) =3D=3D 0 )=09
  2059.     {
  2060.     =09
  2061.         var length =3D tickTimer.oneShots.length;                =09
  2062.         for ( var ii=3D0; ii<length && (tickTimer!=3Dnull); ii++ )=09
  2063.         {
  2064.             if ( (timerEvent=3DtickTimer.oneShots[ii]) =3D=3D null )=09
  2065.                 continue;                                    =09
  2066.         =09
  2067.             if ( timerEvent.time <=3D tickTimer.tickCounter )    =09
  2068.             {
  2069.                 tickTimer.oneShots[ii] =3D null;                =09
  2070.                 timerEvent.callback( timerEvent.callbackObj );=09
  2071.             }
  2072.         }
  2073.     }
  2074.     return;
  2075. }
  2076. function StartOneShotTimer( obj, time, callback, type )
  2077. {
  2078.     var    timerIndex;                                =09
  2079.     var timerEvent =3D new Object();                =09
  2080. =09
  2081.     timerEvent.callbackObj =3D obj;                =09
  2082.     timerEvent.callback =3D callback;                =09
  2083.     timerEvent.type =3D type;                        =09
  2084. =09
  2085. =09
  2086.     timerEvent.time =3D tickTimer.tickCounter + (time * =
  2087. tickTimer.ticksPerSecond);
  2088.     for ( timerIndex=3D0; tickTimer.oneShots[timerIndex]!=3Dnull; =
  2089. timerIndex++ );=09
  2090.     tickTimer.oneShots[timerIndex] =3D timerEvent;=09
  2091.     return;
  2092. }
  2093. function StartAnimationTimer( obj, callback )
  2094. {
  2095.     var timerIndex;=20
  2096.     timerEvent =3D new Object();
  2097.     timerEvent.callbackObj =3D obj;                =09
  2098.     timerEvent.callback =3D callback;                =09
  2099.     for ( timerIndex=3D0; tickTimer.animations[timerIndex]!=3Dnull; =
  2100. timerIndex++);=09
  2101.     tickTimer.animations[timerIndex] =3D timerEvent;
  2102. }
  2103. function StopSceneTimers()
  2104. {
  2105.     for (var ii=3D0; ii<tickTimer.oneShots.length; ii++)=09
  2106.     {
  2107.         if ( tickTimer.oneShots[ii] =3D=3D null )        =09
  2108.             continue;
  2109.         if ( tickTimer.oneShots[ii].type =3D=3D TMR_SCENE )
  2110.             tickTimer.oneShots[ii] =3D null;            =09
  2111.     }
  2112. =09
  2113.     for (var ii=3D0; ii<tickTimer.animations.length; ii++)
  2114.         tickTimer.animations[ii] =3D null;
  2115. }
  2116. =09
  2117. function KillTimer()
  2118. {
  2119.     if ( tickTimer !=3D null )                    =09
  2120.     {
  2121.         window.clearTimeout( tickTimer.timerID);=09
  2122.         tickTimer =3D null;                        =09
  2123.     }
  2124. }
  2125. function SetColor(el, color)=20
  2126. {
  2127.     if ( el.style =3D=3D null )                =09
  2128.         return;
  2129. =09
  2130.     el.style.backgroundColor =3D color;    =09
  2131.     if ("Netscape"=3D=3Dsys)=20
  2132.         el.NSLayer.bgColor =3D color;        =09
  2133. }
  2134. function SetZIndex(el, zindex)=20
  2135. {
  2136.     if ( el.style =3D=3D null )                =09
  2137.         return;
  2138. =09
  2139.     el.style.zIndex =3D zindex;            =09
  2140.     if ("Netscape"=3D=3Dsys)=20
  2141.         el.NSLayer.zIndex =3D zindex        =09
  2142. }
  2143. function SetVisibility(el, val)=20
  2144. {
  2145.     if ( el.style =3D=3D null )                =09
  2146.         return;
  2147.     el.style.visibility =3D val;            =09
  2148.        =20
  2149.     if ( "Netscape"=3D=3Dsys )                =09
  2150.     {
  2151.         if        ( val =3D=3D IE_HIDDEN )
  2152.             el.NSLayer.visibility =3D NAV_HIDDEN;
  2153.         else if ( val =3D=3D IE_VISIBLE )
  2154.             el.NSLayer.visibility =3D NAV_VISIBLE;
  2155.         else if ( val =3D=3D IE_INHERIT )
  2156.             el.NSLayer.visibility =3D NAV_INHERIT;
  2157.         else
  2158.             el.NSLayer.visibility =3D "";
  2159.     }
  2160. }
  2161. function Position( obj )
  2162. {
  2163.     this.object =3D obj;                        =09
  2164.     this.x =3D obj.HTML.style.pixelLeft;        =09
  2165.     this.y =3D obj.HTML.style.pixelTop;        =09
  2166.     this.SetPosition =3D SetPosition;
  2167. }
  2168. function SetPosition( newX, newY )=20
  2169. {
  2170.     var el =3D this.object.HTML;                =09
  2171.     if ( el.style =3D=3D null )                    =09
  2172.         return;
  2173.                 =09
  2174.     el.style.pixelTop =3D newY;    =09
  2175.     el.style.pixelLeft =3D newX;
  2176.     this.x =3D newX;                            =09
  2177.     this.y =3D newY;
  2178.     if ( "Netscape"=3D=3Dsys )                    =09
  2179.     {
  2180.         el.NSLayer.top =3D parseInt( newY );
  2181.         el.NSLayer.left =3D parseInt( newX );
  2182.         el.offsetTop =3D el.NSLayer.top;
  2183.         el.offsetLeft =3D el.NSLayer.left;
  2184.     }
  2185. }
  2186. function SetContent(el, content)=20
  2187. {
  2188.     if ( el.style =3D=3D null )                    =09
  2189.         return;
  2190.     if ( "Netscape"=3D=3Dsys )                    =09
  2191.     {
  2192.         el.NSLayer.document.open();            =09
  2193.         el.NSLayer.document.write(content);    =09
  2194.         el.NSLayer.document.close();        =09
  2195.     }
  2196.     else                                    =09
  2197.         el.innerHTML=3Dcontent;
  2198. }
  2199. function SetupButtons()
  2200. {
  2201.     var rtn =3D false;                    =09
  2202.     if ( document.all.Pause !=3D null )
  2203.     {
  2204.         document.all.Pause.onclick =3D Pause;
  2205.         strPause =3D document.all.Pause.value.split( '/' );
  2206.         document.all.Pause.value =3D strPause[0];
  2207.     }
  2208.     if (document.all.Stop !=3D null )
  2209.         document.all.Stop.onclick =3D Stop;
  2210.     if ( document.all.Forward !=3D null )
  2211.         document.all.Forward.onclick =3D Forward;
  2212.     if ( document.all.Backward !=3D null )
  2213.         document.all.Backward.onclick =3D Backward;
  2214.     if ( document.all.Webpage !=3D null )
  2215.         document.all.Webpage.onclick =3D GotoWebpage;
  2216.     if ( document.all.SceneStatus !=3D null )
  2217.         formStatus =3D document.all.SceneStatus;
  2218.     if ( document.all.Start !=3D null )
  2219.     {
  2220.         document.all.Start.onclick =3D Start;
  2221.         strPlay =3D document.all.Start.value.split( '/' );
  2222.         document.all.Start.value =3D strPlay[0];
  2223.         rtn =3D true;
  2224.     }
  2225.     else
  2226.         rtn =3D false;
  2227.     if ( document.all.NavigationButtons !=3D null )
  2228.         SetVisibility( document.all.NavigationButtons, IE_VISIBLE );
  2229.     return rtn;
  2230. }
  2231. function Start()
  2232. {
  2233.     if ( stNoInput )                                    =09
  2234.         return;
  2235.     if ( stButtons =3D=3D true )                            =09
  2236.     {
  2237.         document.all.Start.value =3D strPlay[1];
  2238.         if ( document.all.Pause !=3D null )
  2239.         {
  2240.             document.all.Pause.value =3D strPause[0];
  2241.         }
  2242.     }
  2243.     if            ( (stProjState =3D=3D PS_RUNNING) || (stProjState =3D=3D =
  2244. PS_PAUSED) )=09
  2245.     {
  2246.         ProjectShutdown();
  2247.         ProjectInitialize();
  2248.     }
  2249.     else if        ( stProjState !=3D PS_INITIALIZED )    =09
  2250.         ProjectInitialize();
  2251.     ProjectStart();                                    =09
  2252. }
  2253. function Pause()
  2254. {
  2255. =09
  2256.     if ( stProjState =3D=3D PS_PAUSED )                    =09
  2257.     {
  2258.         tickTimer.StartTicking();                    =09
  2259.         if ( document.all.Pause !=3D null )
  2260.         {
  2261.             document.all.Pause.value =3D strPause[0];
  2262.         }
  2263.         stProjState =3D PS_RUNNING;
  2264.         StatusChange();                                =09
  2265.     }
  2266.     else
  2267.     {
  2268.         if ( tickTimer !=3D null )                    =09
  2269.             tickTimer.StopTicking();                =09
  2270.         if    ( stProjState !=3D PS_RUNNING )            =09
  2271.             return;
  2272.         stProjState =3D PS_PAUSED;
  2273.         if ( document.all.Pause !=3D null )
  2274.         {
  2275.             document.all.Pause.value =3D strPause[1];
  2276.         }
  2277.         StopEverythingOnScenes( true );                =09
  2278.         StatusChange();                                =09
  2279.     }
  2280. }
  2281. function Stop()
  2282. {
  2283.     if ( stNoInput )                                    =09
  2284.         return;
  2285.     location.reload();
  2286. }
  2287. function Forward()
  2288. {
  2289.     if ( stNoInput )                                    =09
  2290.         return;
  2291. =09
  2292.     if ( stProjState !=3D PS_RUNNING )
  2293.         return;
  2294.     SceneExit( currentScene );                =09
  2295. }
  2296. function Backward()
  2297. {
  2298.     if ( stNoInput )                                    =09
  2299.         return;
  2300.     var nextScene;
  2301. =09
  2302. =09
  2303. =09
  2304.     if        ( stProjState =3D=3D PS_COMPLETE )
  2305.         nextScene =3D Project.stopScene;
  2306.     else if ( stProjState !=3D PS_RUNNING )
  2307.         return;
  2308.     else
  2309.         nextScene =3D (currentScene.number =3D=3D 0) ? 0 : currentScene.number =
  2310. - 1;
  2311.     ProjectShutdown();
  2312.     ProjectInitialize();
  2313.     ProjectStart( nextScene );            =09
  2314. }
  2315. function GotoWebpage()
  2316. {
  2317.     window.open( Project.webpage);                    =09
  2318. }
  2319. function StatusChange( )
  2320. {
  2321.     var        stsPage =3D null;                =09
  2322.     var        stsState =3D null;            =09
  2323.     if        ( stProjState =3D=3D PS_UNINITIALIZED )
  2324.     {
  2325.         stsState =3D "Initializing";
  2326.         stsPage =3D ""
  2327.     }
  2328.     else if ( stProjState =3D=3D PS_INITIALIZED )
  2329.     {
  2330.         stsState =3D "Ready";
  2331.         stsPage =3D "";
  2332.     }
  2333.     else if    ( stProjState =3D=3D PS_RUNNING )
  2334.     {
  2335.         stsState =3D "Playing";
  2336.         stsPage =3D (currentScene.number+1) + " / " + nScenes;
  2337.     }
  2338.     else if    ( stProjState =3D=3D PS_PAUSED )
  2339.         stsState =3D "Paused";
  2340.     else if    ( stProjState =3D=3D PS_COMPLETE )
  2341.         stsState =3D "Complete";
  2342. =09
  2343.     if ( (formStatus !=3D null) && (stsPage !=3D null) )
  2344.         formStatus.value =3D stsPage;
  2345. =09
  2346.     if ( stsState !=3D null )
  2347.         top.status =3D stsState;=20
  2348. }
  2349. function GetSceneFromNumber( sceneNum )
  2350. {
  2351.     return sceneArray[sceneNum];    =09
  2352. }
  2353. function GetPlayerFromName( playerName )
  2354. {
  2355.     var objPlayer;
  2356. =09
  2357. =09
  2358.     if ( (currentScene) && (currentScene.Players !=3Dnull) && ((objPlayer =
  2359. =3D currentScene.Players[playerName]) !=3D null) )                                                            =09
  2360.         return objPlayer;                    =09
  2361. =09
  2362.     var objScene;
  2363.     for ( sceneName in Scenes )                    =09
  2364.     {
  2365.         objScene =3D Scenes[sceneName];
  2366.         if ( objScene.Players !=3D null )
  2367.         {
  2368.             objPlayer =3D objScene.Players[playerName];
  2369.             if ( objPlayer !=3D null )
  2370.                 return objPlayer;                    =09
  2371.         }
  2372.     }=09
  2373.         =09
  2374.     return null;                                =09
  2375. }
  2376. function GetObjectTypeFromName( nameString )
  2377. {
  2378.     var type =3D nameString.substr(0,1);    =09
  2379.     if        ( type =3D=3D NAME_SCENE )        =09
  2380.         return OBJ_SCENE;
  2381.     else if    ( type =3D=3D NAME_PLAYER )        =09
  2382.         return OBJ_PLAYER;
  2383. }
  2384. function GetPlayerTypeFromName( nameString )
  2385. {
  2386.     var type =3D nameString.substr(1,1);    =09
  2387.     if        ( type =3D=3D PLAYER_NAME_IMAGE )    =09
  2388.         return PLAYER_IMAGE;
  2389.     else if    ( type =3D=3D PLAYER_NAME_DRAW )    =09
  2390.         return PLAYER_DRAW;
  2391.     else if    ( type =3D=3D PLAYER_NAME_TEXT )    =09
  2392.         return PLAYER_TEXT;
  2393. }
  2394. function resetGifAnimation()
  2395. {
  2396.     var temp =3D document.all["img1"].src;
  2397.     document.all["img1"].src =3D temp;
  2398. }
  2399. Project =3D new Project(50, 0, 1, 2, 1, 0, =
  2400. "http://home-publishing.com/SKU/V3Pub.asp");
  2401. Scenes =3D new Object();
  2402. Scenes.Sx1 =3D new Scene( 8 );
  2403. Scenes.Sx1.entryTrans =3D new Transition( 9, 2, 0, 0 );
  2404. Scenes.Sx1.Bhv =3D new Array();
  2405. Scenes.Sx1.Bhv[0] =3D new Sound( 0, 0, -1, 1, "AW78", =
  2406. "cid:03f901bd7de5$91e48fa0$1fde389d@a-lingra.dns.microsoft.com" );
  2407. Scenes.Sx1.Players =3D new Object();
  2408. Scenes.Sx1.Players.PI8 =3D new Player( 0, -1 );
  2409. Scenes.Sx1.Players.PT21 =3D new Player( -1, 2 );
  2410. Scenes.Sx1.Players.PT21.Bhv =3D new Array();
  2411. Scenes.Sx1.Players.PT21.Bhv[0] =3D new Paths( -1, 0 );
  2412. Scenes.Sx1.Players.PT21.Bhv[0][0] =3D new Point( 683, 105, 2 );
  2413. Scenes.Sx1.Players.PT21.Bhv[0][1] =3D new Point( 270, 106, 2 );
  2414. Scenes.Sx1.Players.PT21.exitTrans =3D new Transition( 12, 2, 0, 0 );
  2415. Scenes.Sx13 =3D new Scene( 6 );
  2416. Scenes.Sx13.entryTrans =3D new Transition( -1, 0, 0, 0 );
  2417. Scenes.Sx13.Players =3D new Object();
  2418. Scenes.Sx13.Players.PI16 =3D new Player( 1, -1 );
  2419. Scenes.Sx13.Players.PI16.entryTrans =3D new Transition( 12, 2, 0, 0 );
  2420. Scenes.Sx13.Players.PI66 =3D new Player( 0, 1 );
  2421. Scenes.Sx13.Players.PI66.exitTrans =3D new Transition( 12, 2, 0, 0 );
  2422. Scenes.Sx13.Players.PT20 =3D new Player( 0, -1 );
  2423. Scenes.Sx13.Players.PT20.entryTrans =3D new Transition( 101, 3, 2, 3 );
  2424.  
  2425. </SCRIPT>
  2426. </BODY></HTML>
  2427.  
  2428. ------=_NextPart_001_1921_01BDBE6D.FF0740A0--
  2429.  
  2430. ------=_NextPart_000_1920_01BDBE6D.FF0740A0
  2431. Content-Type: image/gif
  2432. Content-Transfer-Encoding: base64
  2433. Content-ID: <03fd01bd7de6$d3497a40$1fde389d@a-lingra.dns.microsoft.com>
  2434. X-Content-Source: X:\v3Contnt\clipmed\mmclips\j770_779\j0077103.gif
  2435. X-Global-Moniker: :HALLMARK\MAIN\j0077103.gif
  2436.  
  2437. R0lGODlhOgIsAff/AAAAAIAAAACAAICAAAAAgIAAgACAgMDAwAAAAAAAAAQEBAgICAwMDBERERYW
  2438. FhwcHCIiIikpKVVVVU1NTUJCQjk5Of98gP9QUNYAk8zs/+/Wxufn1q2pkDMAAGYAAJkAAMwAAAAz
  2439. ADMzAGYzAJkzAMwzAP8zAABmADNmAGZmAJlmAMxmAP9mAACZADOZAGaZAJmZAMyZAP+ZAADMADPM
  2440. AGbMAJnMAMzMAP/MAGb/AJn/AMz/AAAAMzMAM2YAM5kAM8wAM/8AMwAzMzMzM2YzM5kzM8wzM/8z
  2441. MwBmMzNmM2ZmM5lmM8xmM/9mMwCZMzOZM2aZM5mZM8yZM/+ZMwDMMzPMM2bMM5nMM8zMM//MMzP/
  2442. M2b/M5n/M8z/M///MwAAZjMAZmYAZpkAZswAZv8AZgAzZjMzZmYzZpkzZswzZv8zZgBmZjNmZmZm
  2443. ZplmZsxmZgCZZjOZZmaZZpmZZsyZZv+ZZgDMZjPMZpnMZszMZv/MZgD/ZjP/Zpn/Zsz/Zv8AzMwA
  2444. /wCZmZkzmZkAmcwAmQAAmTMzmWYAmcwzmf8AmQBmmTNmmWYzmZlmmcxmmf8zmTOZmWaZmZmZmcyZ
  2445. mf+ZmQDMmTPMmWbMZpnMmczMmf/MmQD/mTP/mWbMmZn/mcz/mf//mQAAzDMAmWYAzJkAzMwAzAAz
  2446. mTMzzGYzzJkzzMwzzP8zzABmzDNmzGZmmZlmzMxmzP9mmQCZzDOZzGaZzJmZzMyZzP+ZzADMzDPM
  2447. zGbMzJnMzMzMzP/MzAD/zDP/zGb/mZn/zMz/zP//zDMAzGYA/5kA/wAzzDMz/2Yz/5kz/8wz//8z
  2448. /wBm/zNm/2ZmzJlm/8xm//9mzACZ/zOZ/2aZ/5mZ/8yZ//+Z/wDM/zPM/2bM/5nM/8zM///M/zP/
  2449. /2b/zJn//8z///9mZmb/Zv//ZmZm//9m/2b//6UAIV9fX3d3d4aGhpaWlsvLy7KystfX193d3ePj
  2450. 4+rq6vHx8fj4+AAAAKCgpICAgP8AAAD/AP//AAAA//8A/wD//////ywAAAAAOgIsAUAI/wBhCBxI
  2451. sKDBgwgTKlzIsKHDhxAjSpxIsaLFixgzatzIsaPHjyBDihxJsqTJkyhTqlzJsqXLlzBjypxJs6bN
  2452. mzhz6tzJs6fPn0CDCh1KtKjRo0iTKl3KtKnTp1CjSp1KtarVq1izat3KtavXr2DDih1LtqzZs2jT
  2453. ql3Ltq3bt3Djyp1Lt67du3jz6t3Lt6/fv4ADCx5MuLDhw4gTK17MuLHjx5AjS55MubLly5gza97M
  2454. ubPnz6BDix5NurTp06hTq17NurXr17Bjy55Nu7bt27hz697Nu7fv38CDCx9OvLjx48iTK1/OvLnz
  2455. 59CjS59Ovbr169iza9/Ovbv37+DDi/8fT768+fPo06tfz769+/fw48ufT7++/fv48+vfz7+///8A
  2456. BijggAQWaOCBCCao4IIMNujggxBGKOGEFFZo4YUYZqjhhhx26OGHIIYo4ogklmjiiSimqOKKLLbo
  2457. 4oswxijjjDTWaOONOOao44489ujjj0AGKeSQRBZp5JFIJqnkkkw26eSTUEYp5ZRUVmnllVhmqeWW
  2458. XHbp5ZdghinmmGSWaeaZaKap5ppstunmm3DGKeecdNZp55145qnnnnz26eefgAYq6KCEFmrooYgm
  2459. quiijDbq6KOQRirppJRWaumlmGaq6aacdurpp6CGKuqopJZq6qmopqrqqqy26uqrsMbAKuustNZq
  2460. 66245qrrrrz26uuvwAYr7LDEFmvsscgmq+yyzDbr7LPQRivttNRWa+212Gar7bbcduvtt+CGK+64
  2461. 5JZr7rnopqvuuuy26+678MYr77z01mvvvfjmq+++/Pbr778AByzwwAQXbPDBCCes8MIMN+zwwxBH
  2462. LPHEFFds8cUYZ6zxxhx37PHHIIcs8sgkl2zyySinrPLKLLfs8sswxyzzzDTXbPPNOOes88489+zz
  2463. z0AHLfTQRBdt9NFI0xYQADs=
  2464.  
  2465. ------=_NextPart_000_1920_01BDBE6D.FF0740A0
  2466. Content-Type: image/gif
  2467. Content-Transfer-Encoding: base64
  2468. Content-ID: <191201bdbea8$aa7a0af0$d55d389d@scottst2.dns.microsoft.com>
  2469. X-Content-Source: C:\TEMP\IMG584.GIF
  2470.  
  2471. R0lGODlhOgIsAff/AP39/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2472. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2473. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2474. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2475. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2476. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2477. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2478. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2479. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2480. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2481. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2482. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2483. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2484. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP39/SH5BAEBAP8ALAAAAAA6AiwB
  2485. QAiuAP8JHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOKHEmypMmTKFOqXMmypcuX
  2486. MGPKnEmzps2bOHPq3Mmzp8+fQIMKHUq0qNGjSJMqXcq0qdOnUKNKnUq1qtWrWLNq3cq1q9evYMOK
  2487. HUu2rNmzaNOqXcu2rdu3cOPKnUu3rt27ePPq3cu3r9+/gAMLHky4sOHDiBMrXsy4sePHkCNLnky5
  2488. suXLmDNrSN7MubPnz6BDix5NurTp06hTq17NurXr17Bjy55Nu7bt27hz697Nu7fv38CDCx9OvLjx
  2489. 48iTK1/OvLnz59CjS59Ovbr169izaznfzr279+/gw4sfT768+fPo06tfz769+/fw48ufT7++/fv4
  2490. 8+vfz7+///8ABijggAQWaOCBCCao4IIzDDbo4IMQRijhhBRWaOGFGGao4YYcdujhhyCGKOKIJJZo
  2491. 4okopqjiiiy26OKLMMYo44w0LtZo44045qjjjjz26OOPQAYp5JBEFmnkkUgmqeSSTDbp5JNQRinl
  2492. lFRWaeWVWGYpqeWWXHbp5ZdghinmmGSWaeaZaKap5ppstunmm3DGKeecdNZp55145qkm55589unn
  2493. n4AGKuighBZq6KGIJqrooow26uijkEYq6aSUVmrppZgkZqrpppx26umnoIYq6qiklmrqqaimquqq
  2494. rLbq6quwxirrrLTWIWrrrbjmquuuvPbq66/ABivssMQWa+yxyCar7LLMNuvssx/QRivttNRWa+21
  2495. 2Gar7bbcduvtt+CGK+645JZr7rnoHqar7rrstuvuu/DGK++89NZr77345qvvvvz26++/AB0HLPDA
  2496. BBds8MEIJ6zwwgw37PDDEEcs8cQUV2zxxRsYZ6zxxhx37PHHIIcs8sgkl2zyySinrPLKLLca7PLL
  2497. MMcs88w012zzzTjnrPPOPPfs889ABy0L9NBEF2300UjTFhAAOw==
  2498.  
  2499. ------=_NextPart_000_1920_01BDBE6D.FF0740A0
  2500. Content-Type: image/gif
  2501. Content-Transfer-Encoding: 7bit
  2502. Content-ID: <040401bd7de7$40c34ba0$1fde389d@a-lingra.dns.microsoft.com>
  2503. X-Content-Source: X:\v3Contnt\clipmed\animatn\j760_769\j0076491.gif
  2504. X-Global-Moniker: :HALLMARK\MAIN\j0076491.gif
  2505.  
  2506.  
  2507. ------=_NextPart_000_1920_01BDBE6D.FF0740A0
  2508. Content-Type: image/gif
  2509. Content-Transfer-Encoding: base64
  2510. Content-ID: <191501bdbea8$ab0b7580$d55d389d@scottst2.dns.microsoft.com>
  2511. X-Content-Source: C:\TEMP\IMG585.GIF
  2512.  
  2513. R0lGODlhOgIsAff/AP39/QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2514. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2515. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2516. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2517. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2518. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2519. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2520. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2521. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2522. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2523. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2524. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2525. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2526. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP39/SH5BAEBAP8ALAAAAAA6AiwB
  2527. QAiuAP8JHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEOKHEmypMmTKFOqXMmypcuX
  2528. MGPKnEmzps2bOHPq3Mmzp8+fQIMKHUq0qNGjSJMqXcq0qdOnUKNKnUq1qtWrWLNq3cq1q9evYMOK
  2529. HUu2rNmzaNOqXcu2rdu3cOPKnUu3rt27ePPq3cu3r9+/gAMLHky4sOHDiBMrXsy4sePHkCNLnky5
  2530. suXLmDNrSN7MubPnz6BDix5NurTp06hTq17NurXr17Bjy55Nu7bt27hz697Nu7fv38CDCx9OvLjx
  2531. 48iTK1/OvLnz59CjS59Ovbr169izaznfzr279+/gw4sfT768+fPo06tfz769+/fw48ufT7++/fv4
  2532. 8+vfz7+///8ABijggAQWaOCBCCao4IIzDDbo4IMQRijhhBRWaOGFGGao4YYcdujhhyCGKOKIJJZo
  2533. 4okopqjiiiy26OKLMMYo44w0LtZo44045qjjjjz26OOPQAYp5JBEFmnkkUgmqeSSTDbp5JNQRinl
  2534. lFRWaeWVWGYpqeWWXHbp5ZdghinmmGSWaeaZaKap5ppstunmm3DGKeecdNZp55145qkm55589unn
  2535. n4AGKuighBZq6KGIJqrooow26uijkEYq6aSUVmrppZgkZqrpppx26umnoIYq6qiklmrqqaimquqq
  2536. rLbq6quwxirrrLTWIWrrrbjmquuuvPbq66/ABivssMQWa+yxyCar7LLMNuvssx/QRivttNRWa+21
  2537. 2Gar7bbcduvtt+CGK+645JZr7rnoHqar7rrstuvuu/DGK++89NZr77345qvvvvz26++/AB0HLPDA
  2538. BBds8MEIJ6zwwgw37PDDEEcs8cQUV2zxxRsYZ6zxxhx37PHHIIcs8sgkl2zyySinrPLKLLca7PLL
  2539. MMcs88w012zzzTjnrPPOPPfs889ABy0L9NBEF2300UjTFhAAOw==
  2540.  
  2541. ------=_NextPart_000_1920_01BDBE6D.FF0740A0
  2542. Content-Type: image/gif
  2543. Content-Transfer-Encoding: 7bit
  2544. Content-ID: <03fa01bd7de6$a82b4500$1fde389d@a-lingra.dns.microsoft.com>
  2545. X-Content-Source: X:\v3Contnt\clipmed\mmclips\j770_779\j0077104.gif
  2546. X-Global-Moniker: :HALLMARK\MAIN\j0077104.gif
  2547.  
  2548.  
  2549. ------=_NextPart_000_1920_01BDBE6D.FF0740A0
  2550. Content-Type: audio/wav
  2551. Content-Transfer-Encoding: 7bit
  2552. Content-ID: <03f901bd7de5$91e48fa0$1fde389d@a-lingra.dns.microsoft.com>
  2553. X-Content-Source: X:\v3Contnt\clipmed\sound\WAV_v2\toytrl04.wav
  2554. X-Global-Moniker: :HOMESNMM\MAIN\TOYTRL04.WAV
  2555.  
  2556.  
  2557. ------=_NextPart_000_1920_01BDBE6D.FF0740A0
  2558. Content-Type: application/x-font
  2559. Content-Transfer-Encoding: 7bit
  2560. Content-ID: <191e01bdbea8$ab426400$d55d389d@scottst2.dns.microsoft.com>
  2561. X-Content-Source: Andy.eot
  2562.  
  2563.  
  2564. ------=_NextPart_000_1920_01BDBE6D.FF0740A0--
  2565.