home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Graphics Studio Greetings / Microsoft_Graphics_Studio_Greetings_Microsoft_1998.iso / mhp / template / mgd2051.mtu / mgd2051.MTU
Text File  |  1998-08-12  |  64KB  |  2,106 lines

  1. MIME-Version: 1.0
  2. Content-Type: multipart/related;
  3.     boundary="----=_NextPart_000_0E9F_01BDBE4D.BB06B4A0";
  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_0E9F_01BDBE4D.BB06B4A0
  11. Content-Type: multipart/alternative;
  12.     boundary="----=_NextPart_001_0EA0_01BDBE4D.BB06B4A0"
  13.  
  14.  
  15. ------=_NextPart_001_0EA0_01BDBE4D.BB06B4A0
  16. Content-Type: text/plain;
  17.     charset="iso-8859-1"
  18. Content-Transfer-Encoding: 7bit
  19.  
  20.    To wish you luck,
  21.  Guy, 
  22. just our little version of "The Wave"!       
  23.  
  24. ------=_NextPart_001_0EA0_01BDBE4D.BB06B4A0
  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: 301px; LEFT: 10px; OVERFLOW: hidden; POSITION: absolute; TOP: =
  53. 30px; VISIBILITY: hidden; WIDTH: 571px; Z-INDEX: 100
  54. }
  55. .PD2 {
  56.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  57. 0px; HEIGHT: 300px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: =
  58. inherit; WIDTH: 570px; Z-INDEX: 50
  59. }
  60. .Ix3 {
  61.     BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; =
  62. BORDER-RIGHT: 0px; BORDER-TOP: 0px; LEFT: 0px; POSITION: absolute; TOP: =
  63. 0px; VISIBILITY: inherit; Z-INDEX: 51
  64. }
  65. .PI7 {
  66.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  67. 0px; HEIGHT: 236px; LEFT: 5px; POSITION: absolute; TOP: 59px; =
  68. VISIBILITY: hidden; WIDTH: 275px; Z-INDEX: 100
  69. }
  70. .Ix8 {
  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. .PT11 {
  76.     BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
  77. 0px; HEIGHT: 139px; LEFT: 281px; PADDING-BOTTOM: 9px; PADDING-LEFT: 9px; =
  78. PADDING-RIGHT: 9px; PADDING-TOP: 9px; POSITION: absolute; TEXT-ALIGN: =
  79. center; TOP: 29px; VISIBILITY: hidden; WIDTH: 288px; Z-INDEX: 110
  80. }
  81. DIV {
  82.     FONT-FAMILY: Times New Roman
  83. }
  84. </STYLE>
  85.  
  86. <STYLE id=3DFontStyleSheet>@font-face {
  87.     font-family: Maiandra GD;
  88.     src:url(cid:0e9d01bdbe88$675008d0$d55d389d@scottst2.dns.microsoft.com);
  89. }
  90. </STYLE>
  91.  
  92. </HEAD>
  93. <BODY background=3D"" bgColor=3D#c0c0c0 leftMargin=3D0 topMargin=3D0>
  94. <DIV class=3DPreCreateRule id=3DNavigationButtons style=3D"VISIBILITY: =
  95. hidden">
  96. <FORM name=3DNavigationButtonsForm><INPUT name=3DStart type=3Dbutton =
  97. value=3D"Play  >/Replay >"><INPUT name=3DBackward type=3Dbutton =
  98. value=3D"Back  <<"><INPUT name=3DForward type=3Dbutton value=3D"Forward  =
  99. >>"><INPUT name=3DWebpage type=3Dbutton value=3DAbout...><INPUT =
  100. name=3DSceneStatus type=3Dbutton value=3D" Loading... "></FORM></DIV>=20
  101. <DIV class=3DDocClientData id=3DDocClientData Themes =3D=20
  102. " <AR|ARS1| =
  103. <TT|TTa5|TTb0|TTc30844|TTd5|TTe0|TTf30845|TTg5|TTh0|TTi30847|>|>|"=20
  104. lclJ =3D null lclFrench =3D null lclZ =3D null lclEnglish =3D 1 skuOE =
  105. =3D null skuGWDelux=20
  106. =3D 1 skuGW =3D 1 KeyWords =3D null OutputStyle =3D=20
  107. "simple greeting  (one to two scenes)" ProjectType =3D "multimedia =
  108. greeting"=20
  109. AOPTable =3D=20
  110. " <AR|ARS1| <AP|APa{guid =
  111. {A3649D6E-5058-11CF-9E27-00AA00BBB8AF}}|APbGreetings Workshop|>|>|"=20
  112. GW_NextID =3D 12>
  113. <DIV class=3DSx1 id=3DSx1 PageEffect =3D=20
  114. " <PE| <TR|TRa1|TRb1|TRc2|TRd1|TRe2|>|PEa1|PEb6|>|" SoundPaths =3D " =
  115. <AR|ARS0|>|"=20
  116. PageName =3D PD2>
  117. <DIV class=3DPD2 id=3DPD2 PolyPath =3D=20
  118. 1,6,0.286865,137.319,0,300,570,300,570,0,0.286865,0,0.286865,137.319,2,16=
  119. 777215,0,=20
  120. NoBackground =3D 1><IMG class=3DIx3 id=3DIx3 name=3DIx3=20
  121. src=3D"cid:0e9901bdbe88$6716d060$d55d389d@scottst2.dns.microsoft.com"></D=
  122. IV>=20
  123. <DIV class=3DPI7 id=3DPI7 SoundPaths =3D " <AR|ARS0|>|" ImageType =3D 1 =
  124. ClipPathInfo =3D=20
  125. " =
  126. <CP|CPa8A80000090300000000000000C000000000000642000000030300000000000000C=
  127. 00000000000064000001000000A38414C4C4D41425B4C5D41494E4C500FFFFDAED0000000=
  128. 0000000000000000000000000000000000000000008B9D1172F201D112B4400AA007AB4FF=
  129. C00000002600460013004300030063009300F500E20076009600660000000000000000000=
  130. 00000000000000036F6E64756E647D322D4D454469647F627026556273796F6E6020303E2=
  131. 0303E20303E213836323C2350303E20303E20313E2139373832202E616D656D37454E4542=
  132. 51445F425E3D0A0C3354595C454029646D344F636354797C6563586565647E3E205275634=
  133. 27561647562557C65602B7D0A09005F435944594F4E4A302162637F6C6574756D0A0D7D0A=
  134. 0E244F63634C69656E6474416471602B7D0A090C4546445A302030787B302F465542564C4=
  135. F475A3028696464656E6B30205F435944594F4E4A302162637F6C6574756B30245F405A30=
  136. 223030787B302659435942494C4944595A3026796379626C656D0A0D7D0A0E22557E64796=
  137. D65635362796074744966702B7D0A090C4546445A302D2332303030787B30205F43594459=
  138. 4F4E4A302162637F6C6574756B30245F405A302D2332303030787B302659435942494C494=
  139. 4595A3028696464656E6D0A0D7D0A0E235F657E64654C656D656E6473744966702B7D0A09=
  140. 0C4546445A302D2332303030787B30205F435944594F4E4A302162637F6C6574756B30245=
  141. F405A302D2332303030787B302659435942494C4944595A3028696464656E6D0A0D7D0A0E=
  142. 235871302B7D0A090845494748445A3023303130787B302C4546445A30213030787B302F4=
  143. 65542564C4F475A3028696464656E6B30205F435944594F4E4A302162637F6C6574756B30=
  144. 245F405A30233030787B302659435942494C4944595A3028696464656E6B3027594444584=
  145. A3025373130787B302A5D294E4445485A302130303D0A0D7D0A0E205442302B7D0A09024F=
  146. 425445425D224F44545F4D4A302030787B30224F425445425D2C4546445A302030787B302=
  147. 24F425445425D22594748445A302030787B30224F425445425D245F405A302030787B3028=
  148. 45494748445A3023303030787B302C4546445A302030787B30205F435944594F4E4A30216=
  149. 2637F6C6574756B30245F405A302030787B302659435942494C4944595A30296E68656279=
  150. 647B3027594444584A3025373030787B302A5D294E4445485A3025303D0A0D7D0A0E29487=
  151. 3302B7D0A090241434B47425F455E444D234F4C4F425A30232666666666666B30224F4254=
  152. 45425D224F44545F4D4A302030787B30224F425445425D2C4546445A302030787B30224F4=
  153. 25445425D22594748445A302030787B30224F425445425D245F405A302030787B302C4546=
  154. 445A302030787B30205F435944594F4E4A302162637F6C6574756B30245F405A302030787=
  155. B302659435942494C4944595A30296E68656279647B302A5D294E4445485A3025313D0A0D=
  156. 7D0A0E205947302B7D0A09024F425445425D224F44545F4D4A302030787B30224F4254454=
  157. 25D2C4546445A302030787B30224F425445425D22594748445A302030787B30224F425445=
  158. 425D245F405A302030787B302845494748445A3022333630787B302C4546445A302530787=
  159. B30205F435944594F4E4A302162637F6C6574756B30245F405A30253930787B3026594359=
  160. 42494C4944595A3028696464656E6B3027594444584A3022373530787B302A5D294E44454=
  161. 85A302130303D0A0D7D0A0E294878302B7D0A09024F425445425D224F44545F4D4A302030=
  162. 787B30224F425445425D2C4546445A302030787B30224F425445425D22594748445A30203=
  163. 0787B30224F425445425D245F405A302030787B302C4546445A302030787B30205F435944=
  164. 594F4E4A302162637F6C6574756B30245F405A302030787B302659435942494C4944595A3=
  165. 0296E68656279647B302A5D294E4445485A302130313D0A0D7D0A0E20545131302B7D0A09=
  166. 024F425445425D224F44545F4D4A302030787B30224F425445425D2C4546445A302030787=
  167. B30224F425445425D22594748445A302030787B30224F425445425D245F405A302030787B=
  168. 302845494748445A3021333930787B302C4546445A3022383130787B3020514444494E474=
  169. D224F44545F4D4A302930787B3020514444494E474D2C4546445A302930787B3020514444=
  170. 494E474D22594748445A302930787B3020514444494E474D245F405A302930787B30205F4=
  171. 35944594F4E4A302162637F6C6574756B30245548545D214C49474E4A3023656E6475627B=
  172. 30245F405A30223930787B302659435942494C4944595A3028696464656E6B30275944445=
  173. 84A3022383830787B302A5D294E4445485A302131303D0A0D7D0A0C3F2354595C454E3D0A=
  174. 0D0A0C3354595C454029646D364F6E647354797C6563586565647E30466F6E647D2661636=
  175. 5602B7D0A09066F6E647D26616D696C697A302D4169616E6462716027444B3D0A09037273=
  176. 6A35727C682369646A3133363730313264626469393421626934643166303425623534633=
  177. 8393460416D2D61627B6075713E246E637E2D6963627F637F66647E236F6D692B3D0A0D7D=
  178. 0A0C3F2354595C454E3D0A0D0A0C3F284541444E3D0A0C324F4449502261636B67627F657=
  179. E646D3222202267634F6C6F627D33236033603360302C6566647D416277696E6D3030247F=
  180. 607D416277696E6D303E3D0A0C34494650236C6163737D30527563427561647562557C656=
  181. 029646D3E416679676164796F6E624574747F6E63702374797C656D322659435942494C49=
  182. 44595A3028696464656E622E3D0A0C364F425D402E616D656D3E416679676164796F6E624=
  183. 574747F6E63764F627D6E3C394E405554502E616D656D335471627470247970756D326574=
  184. 747F6E6026716C65756D32205C616970202E3F2255607C6169702E322E3C394E405554502=
  185. E616D656D305165737560247970756D326574747F6E6026716C65756D3220516573756020=
  186. 2C7C7F234F6E64796E6575622E3C394E405554502E616D656D3241636B677162746|CPbX:=
  187. \v3Contnt\clipmed\animatn\b140_149\Bd14069_.gif|CPccid:045b01bd6a3b$54e2b=
  188. 400$e0dd389d@a-markpu.dns.microsoft.com|CPdBd14069_.gif|>|"=20
  189. TravelEffectOptions =3D " <TE|TEa0|TEb2|TEc0|TEd0|>|" EntranceEffect =3D =
  190.  
  191. " <EE| =
  192. <TR|TRa7|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc0|EEd100|EEf0|EEg1|>|"=20
  193. ExitEffect =3D=20
  194. " <EE| =
  195. <TR|TRa0|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc100|EEd0|EEf0|EEg0|>|"=20
  196. ButtonEvent =3D=20
  197. " <BE|BEa0|BEb| <CP|CPaNIL|CPb|CPc|CPd|>| <CP|CPaNIL|CPb|CPc|CPd|>| =
  198. <CP|CPaNIL|CPb|CPc|CPd|>|>|"><IMG=20
  199. class=3DIx8 height=3D236 id=3DIx8 name=3DIx8=20
  200. src=3D"cid:045b01bd6a3b$54e2b400$e0dd389d@a-markpu.dns.microsoft.com"=20
  201. width=3D275></DIV>=20
  202. <DIV class=3DPT11 id=3DPT11 SoundPaths =3D " <AR|ARS0|>|" =
  203. TravelEffectOptions =3D=20
  204. " <TE|TEa0|TEb2|TEc0|TEd0|>|" EntranceEffect =3D=20
  205. " <EE| =
  206. <TR|TRa0|TRb2|TRc0|TRd1|TRe2|>|EEa1|EEb0|EEc0|EEd100|EEf1|EEg2|>|"=20
  207. ExitEffect =3D=20
  208. " <EE| =
  209. <TR|TRa0|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc100|EEd0|EEf0|EEg0|>|"=20
  210. ButtonEvent =3D=20
  211. " <BE|BEa0|BEc| <CP|CPaNIL|CPb|CPc|CPd|>| <CP|CPaNIL|CPb|CPc|CPd|>| =
  212. <CP|CPaNIL|CPb|CPc|CPd|>|>|"=20
  213. AnimationPath =3D=20
  214. " <AR|ARS3| <PT|PTa425|PTb370|>| <PT|PTa425|PTb98|>| =
  215. <PT|PTa425|PTb98|>|>|"><FONT=20
  216. color=3D#000000 face=3D"Maiandra GD" size=3D5><STRONG>To wish you =
  217. luck,<BR> Guy,=20
  218. <BR>just our little version of "The=20
  219. Wave"!</STRONG></FONT></DIV></DIV></DIV>   =20
  220. <DIV class=3DSoundElementsDiv id=3DSoundElementsDiv> </DIV> 
  221. <SCRIPT id=3DRuntimeScript language=3DJavaScript>
  222. if ( navigator.appVersion.substring(0,1) < 4 )
  223.  alert("Sorry but your Web browser needs to be updated. You must have at =
  224. least a version 4.0 browser to view this project.");
  225. if ( navigator.appName !=3D "Netscape" )                                            =09
  226. {                                                                                    =09
  227.     document.body.background =3D "";                                                =09
  228.     for ( var ii=3D0; ii<document.all.length; ii++ )                                    =09
  229.         if ((document.all.item(ii).id).indexOf("Sx") !=3D -1)                        =09
  230.             document.all.item(ii).style.filter=3D"revealTrans(duration=3D0, =
  231. transition=3D0)";        =09
  232. }                                                                                    =09
  233.  
  234. var    OBJ_SCENE        =3D 0;        =09
  235. var    OBJ_PLAYER        =3D 1;        =09
  236. var PLAYER_IMAGE    =3D 0;        =09
  237. var    PLAYER_TEXT        =3D 1;        =09
  238. var PLAYER_DRAW        =3D 2;        =09
  239. var    NAME_SCENE        =3D "S"        =09
  240. var    NAME_PLAYER        =3D "P"        =09
  241. var    PLAYER_NAME_IMAGE    =3D "I"    =09
  242. var    PLAYER_NAME_TEXT    =3D "T"
  243. var PLAYER_NAME_DRAW    =3D "D"
  244. var    IE_VISIBLE            =3D "visible";
  245. var    IE_HIDDEN            =3D "hidden";
  246. var    IE_INHERIT            =3D "inherit";
  247. var    NAV_VISIBLE            =3D "show";
  248. var    NAV_HIDDEN            =3D "hide";
  249. var    NAV_INHERIT            =3D "inherit";
  250. var    DEFAULT_TICK_RATE        =3D 100;    =09
  251. var DEFAULT_SCENE_DURATION    =3D 10000;=09
  252. var    DEFAULT_PLAYER_DELAY    =3D 0;    =09
  253. var    TMR_PROJ                =3D 0;    =09
  254. var    TMR_SCENE                =3D 1;    =09
  255. var    RR_NONE                    =3D 0;    =09
  256. var    RR_PAGE_BUTTONS            =3D 1;    =09
  257. var    RR_FULL_RUNTIME            =3D 2;    =09
  258. var    DUR_FOREVER                =3D -1;    =09
  259. var    DELAY_NONE                =3D 0;    =09
  260. var    DELAY_UNTIL_TRANSITION    =3D -1;    =09
  261. var    DELAY_UNTIL_TRIGGER        =3D -2;    =09
  262. var    DUR_UNTIL_DONE            =3D -1;    =09
  263. var TT_ALL_MOUSE_EVENTS    =3D 0;    =09
  264. var    TT_BUTTONDOWN            =3D 1;    =09
  265. var    TT_BUTTONUP                =3D 2;    =09
  266. var    TT_MOUSEOVER            =3D 3;    =09
  267. var    TT_MOUSEOUT                =3D 4;    =09
  268. var    TB_PAGE_TURNER            =3D -1;    =09
  269. var    TB_START_PLAYER            =3D -2;    =09
  270. var NULL_TRANSITION            =3D -1;
  271. var    TEXT_FLYIN                =3D 101;
  272. var TEXT_TYPEWRITER        =3D 102;
  273. var    FLYIN_TOP                =3D 0;
  274. var    FLYIN_BOTTOM            =3D 1;
  275. var    FLYIN_LEFT                =3D 2;
  276. var    FLYIN_RIGHT                =3D 3;
  277. var    FLYIN_ROTATE            =3D 4;
  278. var    FLYIN_BY_LETTER            =3D 1;
  279. var    FLYIN_BY_WORD            =3D 2;
  280. var    FLYIN_BY_LINE            =3D 3;
  281. var    FLYIN_PER_TICK =3D new Array (200, 160, 120, 80, 40);    =09
  282. var    TRANSITION_RATES =3D new Array(1,2,3,4,5);            =09
  283. var    PS_UNINITIALIZED    =3D 0;
  284. var PS_INITIALIZED        =3D 1;
  285. var    PS_RUNNING            =3D 2;
  286. var PS_PAUSED            =3D 3;
  287. var PS_COMPLETE            =3D 4;
  288. var    sceneArray        =3D new Array();=09
  289. var currentScene    =3D null;        =09
  290. var nScenes            =3D 0;        =09
  291. var stProjState =3D PS_UNINITIALIZED;=09
  292. var stButtons    =3D false;        =09
  293. var    stNoInput    =3D 0;            =09
  294. var strPause =3D new Array( "" );
  295. var strPlay =3D new Array( "" );
  296. var    formStatus =3D null;
  297. var    tickTimer        =3D null;        =09
  298. var sys            =3D navigator.appName;                                    =09
  299. var vers        =3D navigator.appVersion.substring(0,1);                    =09
  300. var os            =3D navigator.appVersion.indexOf("NT") >=3D 0 ? "NT" : "95";=09
  301. var    platform    =3D navigator.platform;                                    =09
  302. window.onload =3D PreSetup;
  303. window.onerror =3D Error;
  304. function Error()
  305. {
  306.     alert("There has been an unidentified error in this file's script. You =
  307. may be able to fix this problem by refreshing your browser.");
  308.     return true;
  309. }
  310. function Project( tickRate, startScene, stopScene, rtReq, autoStart, =
  311. delay, webpage )
  312. {
  313.     this.tickRate =3D tickRate;
  314.     this.startScene =3D startScene;
  315.     this.stopScene =3D stopScene;
  316.     this.rtReq =3D rtReq;
  317.     this.autoStart =3D autoStart;
  318.     this.delay =3D delay;
  319.     this.webpage =3D webpage;
  320. }
  321. function PreSetup()
  322. {
  323.     if ( (Project.delay !=3D null) && (Project.delay !=3D 0) )        =09
  324.     {
  325.         setTimeout( "Setup();", Project.delay*1000 );=20
  326.         return;
  327.     }
  328. =09
  329.     Setup();
  330. }
  331. function Setup()=20
  332. { =20
  333.     stNoInput++;                            =09
  334.     if ( vers < 4 ) return;                    =09
  335.     if ( sys =3D=3D "Netscape" )                =09
  336.     {
  337.         document.all =3D new Array;            =09
  338.         Extract(document);                    =09
  339.     =09
  340.         document.body =3D new Object;
  341.         document.body.clientWidth =3D window.innerWidth;
  342.         document.body.clientHeight =3D window.innerHeight;
  343.         document.body.scrollTop =3D window.pageXOffset;=20
  344.         document.body.scrollLeft =3D window.pageYOffset;
  345.     }
  346.     stButtons =3D SetupButtons();                =09
  347.     ProjectInitialize();                    =09
  348.     stNoInput--;                            =09
  349.     if ( (stButtons =3D=3D false) || (Project.autoStart =3D=3D true) )=09
  350.         Start();                                            =09
  351. }
  352. function ProjectInitialize()
  353. {
  354. =09
  355.     tickTimer =3D new Timer();
  356. =09
  357. =09
  358.     InitializeScenes();
  359. =09
  360.     tickTimer.StartTicking();                            =09
  361. =09
  362.     if ( Project.startScene =3D=3D null )        =09
  363.         Project.startScene =3D 0;                =09
  364.     stProjState =3D PS_INITIALIZED;            =09
  365. =09
  366. }
  367. function ProjectStart( startScene )
  368. {
  369.     stProjState =3D PS_RUNNING;
  370.     if ( startScene !=3D null )
  371.         ChangeScene( startScene );
  372.     else
  373.         ChangeScene( Project.startScene );
  374. }
  375. function ProjectComplete()
  376. {
  377.     if ( Project.rtReq =3D=3D RR_PAGE_BUTTONS )    =09
  378.         return;                                =09
  379.     ProjectShutdown();
  380.     StatusChange();                            =09
  381. }
  382. function ProjectShutdown()
  383. {
  384.     KillTimer();                                    =09
  385.     StopEverythingOnScenes( false );
  386.     currentScene =3D null;
  387.     stProjState =3D PS_COMPLETE;                        =09
  388. }
  389. function Extract( obj )
  390. {
  391. =09
  392. =09
  393.     for (var intLayer =3D 0; intLayer< obj.layers.length; intLayer++)=09
  394.     {
  395.         var el =3D obj.layers[intLayer];        =09
  396.         document.all[el.id] =3D new Object    =09
  397.         var newEl =3D document.all[el.id];    =09
  398.     =09
  399.         newEl.id =3D el.id;                            =09
  400.         newEl.style =3D new Object;                    =09
  401.         newEl.style.pixelTop =3D parseInt(el.top);
  402.         newEl.style.pixelLeft =3D parseInt(el.left);
  403.         if (null!=3Del.clip)=20
  404.         {
  405.             newEl.offsetWidth =3D el.clip.width;    =09
  406.             newEl.offsetHeight =3D el.clip.height
  407.         }
  408.     =09
  409.         if        ( el.visibility =3D=3D NAV_HIDDEN )
  410.             newEl.style.visibility =3D IE_HIDDEN;
  411.         else if ( el.visibility =3D=3D NAV_VISIBLE )
  412.             newEl.style.visibility =3D IE_VISIBLE;
  413.         else if    ( el.visibility =3D=3D NAV_INHERIT )
  414.             newEl.style.visibility =3D IE_INHERIT;
  415.         else
  416.             newEl.style.visibility =3D "";
  417.     =09
  418.         newEl.style.zIndex =3D el.zIndex;
  419.         newEl.style.backgroundColor =3D el.bgColor;
  420.         newEl.style.backgroundImage =3D "url("+el.background+")";
  421.         newEl.NSLayer =3D el;                        =09
  422.     =09
  423.     =09
  424.     =09
  425.         for (var intLoop =3D 0; intLoop< el.document.images.length; intLoop++)
  426.         {
  427.             var image =3D el.document.images[intLoop]    =09
  428.             var    imageName =3D image.name;                =09
  429.             if ( imageName =3D=3D null )                =09
  430.                 continue;                            =09
  431.         =09
  432.             document.all[imageName] =3D image;        =09
  433.             document.images[imageName] =3D image;        =09
  434.         }
  435.     =09
  436.         for (var intLoop =3D 0; intLoop< el.document.forms.length; intLoop++)=20
  437.         {
  438.             var form =3D el.document.forms[intLoop];    =09
  439.             var formName =3D form.name;                =09
  440.             if ( formName =3D=3D null )
  441.                 continue;
  442.             document.all[formName] =3D form;            =09
  443.             document.forms[formName] =3D form;        =09
  444.         =09
  445.             for ( var innerLoop =3D 0; innerLoop < form.elements.length; =
  446. innerLoop++)
  447.             {
  448.                 var element =3D form.elements[innerLoop]=09
  449.                 var elementName =3D element.name;
  450.                 if ( elementName =3D=3D null )            =09
  451.                     continue;
  452.                 document.all[elementName] =3D element;=09
  453.             }
  454.         }
  455.         if ( el.layers.length > 0 )                =09
  456.             Extract(el)                            =09
  457.     }
  458. }
  459. function Scene( duration )
  460. {
  461.     this.duration =3D duration;
  462. }
  463. function InitializeScenes()
  464. {
  465.     var objScene;                            =09
  466.     var sceneNumber =3D 0;                    =09
  467. =09
  468.     for ( sceneName in Scenes )
  469.     {
  470.         objScene =3D Scenes[sceneName];        =09
  471.         objScene.number =3D parseInt(sceneNumber);                =09
  472.         objScene.name =3D sceneName;                    =09
  473.         objScene.HTML =3D document.all[sceneName];    =09
  474.         SetVisibility( objScene.HTML, IE_HIDDEN );=09
  475.         if ( Project.rtReq =3D=3D RR_PAGE_BUTTONS )    =09
  476.             objScene.duration =3D DUR_FOREVER;
  477.         InitializePlayers( objScene );        =09
  478.     =09
  479.         if ( objScene.entryTrans =3D=3D null )
  480.         {
  481.             objScene.entryTrans =3D new Object();
  482.             objScene.entryTrans.type =3D NULL_TRANSITION;
  483.         }
  484.     =09
  485.         if ( objScene.Bhv !=3D null )
  486.             for ( var bhvIdx=3D0; (bhv=3DobjScene.Bhv[bhvIdx]) !=3D null; =
  487. bhvIdx++ )=09
  488.                 bhv.Initialize( objScene, bhv);
  489.         objScene.numBhv =3D bhvIdx;                                            =09
  490.         sceneArray[sceneNumber++] =3D objScene;=09
  491.     }
  492.     nScenes =3D sceneNumber;                    =09
  493. }
  494. function StopEverythingOnScenes( fPause )
  495. {
  496.     var objScene;                            =09
  497.     for ( sceneName in Scenes )
  498.     {
  499.         objScene =3D Scenes[sceneName];                    =09
  500.     =09
  501.     =09
  502.         if ( objScene.Bhv !=3D null )
  503.             for ( var bhvIdx=3D0; (bhv=3DobjScene.Bhv[bhvIdx]) !=3D null; =
  504. bhvIdx++ )=09
  505.                 bhv.StopEverything( bhv, fPause );
  506.         StopEverythingOnPlayers( objScene, fPause );        =09
  507.     }
  508.     return;
  509. }
  510. function ChangeScene( nextSceneNumber )
  511. {
  512.     var    previousScene =3D currentScene;                    =09
  513.     StopSceneTimers();                                    =09
  514.     currentScene =3D GetSceneFromNumber( nextSceneNumber );=09
  515.     currentScene.previousScene =3D previousScene;            =09
  516.     if ( currentScene.duration =3D=3D null )                =09
  517.         currentScene.duration =3D DEFAULT_SCENE_DURATION;    =09
  518. =09
  519.     if ( currentScene.Bhv !=3D null )
  520.         for ( var bhvIdx=3D0; bhvIdx<currentScene.numBhv; bhvIdx++ )=09
  521.         {
  522.             var bhv =3D currentScene.Bhv[bhvIdx]
  523.             if ( bhv =3D=3D null)                            =09
  524.                 continue;
  525.             var delay =3D bhv.delay
  526.             if        ( (delay =3D=3D null) || (delay =3D=3D DELAY_NONE) )=09
  527.                 bhv.Start( bhv );                                    =09
  528.             else if ( delay > 0 )                                =09
  529.                 StartOneShotTimer( bhv, bhv.delay, bhv.Start, TMR_SCENE );
  530.         }
  531.     StartScenePlayers( currentScene );                            =09
  532.     StartTransition( currentScene, currentScene.entryTrans, IE_VISIBLE, =
  533. SceneTransitionDone );=09
  534. =09
  535.     if ( currentScene.duration !=3D DUR_FOREVER )            =09
  536.         StartOneShotTimer( currentScene, currentScene.duration, SceneExit, =
  537. TMR_SCENE );
  538.     StatusChange();                                        =09
  539.     return;
  540. }
  541. function SceneTransitionDone( objScene )
  542. {
  543. =09
  544. =09
  545.     if ( currentScene.previousScene !=3D null )
  546.         SetVisibility( currentScene.previousScene.HTML, IE_HIDDEN );
  547. =09
  548.     if ( currentScene.Bhv !=3D null )
  549.         for ( bhvIdx=3D0; bhvIdx<currentScene.numBhv; bhvIdx++ )=09
  550.         {
  551.             var bhv =3D currentScene.Bhv[bhvIdx]
  552.             if ( bhv =3D=3D null)                            =09
  553.                 continue;
  554.             if ( bhv.delay =3D=3D DELAY_UNTIL_TRANSITION  )=09
  555.                 bhv.Start( bhv );                                =09
  556.         }
  557.     =09
  558.     StartScenePlayersAfterTransition( currentScene );=09
  559. }
  560. function SceneExit( thisScene, nextScene )
  561. {
  562.     var nextSceneNumber =3D nextScene =3D=3D null ? currentScene.number+1 : =
  563. nextScene.number;
  564.     var finalScene =3D (nextSceneNumber <=3D Project.stopScene) ? false : =
  565. true;
  566. =09
  567. =09
  568. =09
  569.     for ( playerName in currentScene.Players )
  570.     {
  571.         objPlayer =3D currentScene.Players[playerName];        =09
  572.         PlayerExitTransitionDone( objPlayer, finalScene );    =09
  573.     }
  574. =09
  575.     if ( currentScene.Bhv !=3D null )
  576.         for ( bhvIdx=3D0; bhvIdx<currentScene.numBhv; bhvIdx++ )=09
  577.         {
  578.             var bhv =3D currentScene.Bhv[bhvIdx]
  579.             if ( bhv =3D=3D null)                            =09
  580.                 continue;
  581.             if ( bhv.duration =3D=3D DUR_UNTIL_DONE  )        =09
  582.                 bhv.Stop( bhv );                        =09
  583.         }
  584. =09
  585. =09
  586.     if ( finalScene =3D=3D false )                    =09
  587.         ChangeScene( nextSceneNumber )            =09
  588.     else
  589.         ProjectComplete()                        =09
  590.     =09
  591. }
  592. function Player( delay, duration )
  593. {
  594.     this.delay =3D delay;
  595.     this.duration =3D duration;
  596. }
  597. function InitializePlayers( objScene )
  598. {
  599.     var objPlayer;                        =09
  600.     var    playerNumber =3D 0;                =09
  601.     for ( playerName in objScene.Players )
  602.     {
  603.         objPlayer =3D objScene.Players[playerName];        =09
  604.         objPlayer.number =3D playerNumber;                =09
  605.         objPlayer.name =3D playerName;                    =09
  606.         objPlayer.HTML =3D document.all[playerName];        =09
  607.         SetVisibility( objPlayer.HTML, IE_HIDDEN );        =09
  608.         objPlayer.position =3D new Position(objPlayer);    =09
  609.     =09
  610.         if ( objPlayer.delay =3D=3D null )                    =09
  611.             objPlayer.delay =3D DEFAULT_PLAYER_DELAY;        =09
  612.     =09
  613.     =09
  614.         if        ( objPlayer.entryTrans =3D=3D null )
  615.         {
  616.             objPlayer.entryTrans =3D new Object();
  617.             objPlayer.entryTrans.type =3D NULL_TRANSITION;
  618.         }=20
  619.     =09
  620.         else if ((objPlayer.entryTrans !=3D null) &&            =09
  621.             (GetPlayerTypeFromName(objPlayer.name) =3D=3D PLAYER_TEXT))
  622.         {
  623.             if ( (objPlayer.entryTrans.type =3D=3D TEXT_FLYIN) || =
  624. (objPlayer.entryTrans.type =3D=3D TEXT_TYPEWRITER) )
  625.                 if ( InitializeTextFlyin( objPlayer ) =3D=3D false )
  626.                     objPlayer.entryTrans.type =3D null;                            =09
  627.         }
  628.     =09
  629.         if ( objPlayer.exitTrans =3D=3D null )
  630.         {
  631.             objPlayer.exitTrans =3D new Object();
  632.             objPlayer.exitTrans.type =3D NULL_TRANSITION;
  633.         }
  634.     =09
  635.         if ( objPlayer.Bhv !=3D null )
  636.         {
  637.             for ( bhvIdx=3D0; (bhv=3DobjPlayer.Bhv[bhvIdx]) !=3D null; bhvIdx++ )    =
  638.  
  639.                 bhv.Initialize( objPlayer, bhv);
  640.             objPlayer.numBhv =3D bhvIdx;                                    =09
  641.         }
  642.         else
  643.             objPlayer.numBhv =3D 0;
  644.         playerNumber ++;                =09
  645.     }=09
  646. }
  647. function StopEverythingOnPlayers( objScene, fPause )
  648. {
  649.     var objPlayer;                        =09
  650.     for ( playerName in objScene.Players )
  651.     {
  652.         objPlayer =3D objScene.Players[playerName];        =09
  653.     =09
  654.     =09
  655.         if ( objPlayer.Bhv !=3D null )
  656.         {
  657.             for ( bhvIdx=3D0; (bhv=3DobjPlayer.Bhv[bhvIdx]) !=3D null; bhvIdx++ )    =
  658.  
  659.                 bhv.StopEverything( bhv, fPause );
  660.         }
  661.         DisableTrigger( objPlayer );                    =09
  662.     }=09
  663.     return;
  664. }
  665. function StartScenePlayers( objScene )
  666. {
  667. =09
  668.     for ( playerName in objScene.Players )
  669.     {
  670.         objPlayer =3D objScene.Players[playerName];        =09
  671.     =09
  672.     =09
  673.     =09
  674.         if        ( objPlayer.delay =3D=3D DELAY_NONE )        =09
  675.             StartPlayer( objPlayer )                    =09
  676.         else if ( objPlayer.delay    > 0 )                =09
  677.             StartOneShotTimer( objPlayer, objPlayer.delay, StartPlayer, =
  678. TMR_SCENE);
  679.     }
  680. }
  681. function StartScenePlayersAfterTransition( objScene )
  682. {
  683. =09
  684.     for ( playerName in objScene.Players )
  685.     {
  686.         objPlayer =3D objScene.Players[playerName];        =09
  687.         if ( objPlayer.delay =3D=3D DELAY_UNTIL_TRANSITION )=09
  688.             StartPlayer( objPlayer )                    =09
  689.     }
  690. }
  691. function StartPlayer( objPlayer )
  692. {
  693. =09
  694.     if ( objPlayer.Bhv !=3D null )
  695.         for ( bhvIdx=3D0; bhvIdx<objPlayer.numBhv; bhvIdx++ )=09
  696.         {
  697.             var bhv =3D objPlayer.Bhv[bhvIdx]
  698.             if ( bhv =3D=3D null)                            =09
  699.                 continue;
  700.             var delay =3D bhv.delay
  701.             if        ( (delay =3D=3D null) || (delay =3D=3D DELAY_NONE) )=09
  702.                 bhv.Start( bhv );                                =09
  703.             else if ( delay > 0 )                                =09
  704.                 StartOneShotTimer( bhv, bhv.delay, bhv.Start, TMR_SCENE );
  705.         }
  706. =09
  707.     StartTransition( objPlayer, objPlayer.entryTrans, IE_VISIBLE, =
  708. PlayerEntryTransitionDone );
  709. =09
  710. =09
  711.     if ( objPlayer.duration > 0 )
  712.         StartOneShotTimer( objPlayer, objPlayer.duration, PlayerExit, =
  713. TMR_SCENE );                                =09
  714. }
  715. function PlayerEntryTransitionDone( objPlayer )
  716. {
  717. =09
  718.     if ( objPlayer.Bhv !=3D null )
  719.         for ( bhvIdx=3D0; bhvIdx<objPlayer.numBhv; bhvIdx++ )=09
  720.         {
  721.             var bhv =3D objPlayer.Bhv[bhvIdx]
  722.             if ( bhv =3D=3D null)                            =09
  723.                 continue;
  724.             if ( bhv.delay =3D=3D DELAY_UNTIL_TRANSITION  )=09
  725.                 bhv.Start( bhv );                                =09
  726.         }
  727. =09
  728.     if ( objPlayer.Triggers !=3D null )
  729.         EnableTrigger( objPlayer );
  730. }
  731. function PlayerExit( objPlayer )
  732. {
  733. =09
  734.     StartTransition( objPlayer, objPlayer.exitTrans, IE_HIDDEN, =
  735. PlayerExitTransitionDone );
  736. }
  737. function PlayerExitTransitionDone( objPlayer, finalScene )
  738. {
  739. =09
  740.     if ( objPlayer.Bhv !=3D null )
  741.         for ( bhvIdx=3D0; bhvIdx<objPlayer.numBhv; bhvIdx++ )=09
  742.         {
  743.             var bhv =3D objPlayer.Bhv[bhvIdx]
  744.             if ( bhv =3D=3D null)                            =09
  745.                 continue;
  746.             if ( bhv.duration =3D=3D DUR_UNTIL_DONE  )        =09
  747.                 bhv.Stop( bhv );                        =09
  748.         }
  749. =09
  750.     if ( (finalScene =3D=3D null) || (finalScene =3D=3D false) )
  751.         SetVisibility( objPlayer.HTML, IE_HIDDEN );        =09
  752. =09
  753. =09
  754. =09
  755.     if ( (sys !=3D "Netscape") && (objPlayer.HTML.Preview !=3D null) )
  756.         SetVisibility( objPlayer.HTML, IE_VISIBLE );=20
  757.     return;
  758. }
  759. function Trigger( trigType, trigBhv, player, scene )
  760. {
  761.     this.triggerType =3D trigType;
  762.     this.triggerBhv =3D trigBhv;
  763.     this.player =3D player;
  764.     this.nextSceneNum =3D scene;
  765. }
  766. function EnableTrigger( objPlayer )
  767. {
  768.     if ( sys !=3D "Netscape" )                                =09
  769.     {
  770.         objPlayer.HTML.style.cursor=3D"hand";                    =09
  771.         for ( trx in objPlayer.Triggers )                    =09
  772.         {
  773.             var    trigger =3D objPlayer.Triggers[trx];            =09
  774.             if ( trigger.triggerType =3D=3D null )
  775.                 trigger.triggerType =3D 0;                    =09
  776.             var tt =3D trigger.triggerType;                    =09
  777.             if            ( tt =3D=3D TT_ALL_MOUSE_EVENTS )                            =09
  778.             {
  779.                 objPlayer.HTML.onmousedown =3D EventProcessor;
  780.                 objPlayer.HTML.onmouseup =3D EventProcessor;=09
  781.                 objPlayer.HTML.onmouseover =3D EventProcessor;    =09
  782.                 objPlayer.HTML.onmouseout =3D EventProcessor;
  783.             }
  784.             else if        ( tt =3D=3D TT_BUTTONDOWN )                =09
  785.                 objPlayer.HTML.onmousedown =3D EventProcessor;
  786.             else if        ( tt =3D=3D TT_BUTTONUP )        =09
  787.                 objPlayer.HTML.onmouseup =3D EventProcessor;
  788.             else if        ( tt =3D=3D TT_MOUSEOVER )        =09
  789.                 objPlayer.HTML.onmouseover =3D EventProcessor;
  790.             else if        ( tt =3D=3D TT_MOUSEOUT )        =09
  791.                 objPlayer.HTML.onmouseout =3D EventProcessor;
  792.         }
  793.     }
  794.     else                                        =09
  795.     {
  796.         for ( trx in objPlayer.Triggers )        =09
  797.         {
  798.             var    trigger =3D objPlayer.Triggers[trx];=09
  799.             if ( trigger.triggerType =3D=3D null )
  800.                 trigger.triggerType =3D 0;                    =09
  801.             var tt =3D trigger.triggerType;                    =09
  802.             if ( tt=3D=3D 0 )                                    =09
  803.             {
  804.                 objPlayer.HTML.NSLayer.captureEvents( Event.MOUSEUP | =
  805. Event.MOUSEDOWN | Event.MOUSEOVER | Event.MOUSEOUT );
  806.                 objPlayer.HTML.NSLayer.onMouseUp =3D EventProcessor;
  807.                 objPlayer.HTML.NSLayer.onMouseDown =3D EventProcessor;
  808.                 objPlayer.HTML.NSLayer.onMouseOver =3D EventProcessor;
  809.                 objPlayer.HTML.NSLayer.onMouseOut =3D EventProcessor;
  810.             }
  811.             else if    ( tt =3D=3D TT_BUTTONUP )
  812.             {
  813.                 objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEUP);
  814.                 objPlayer.HTML.NSLayer.onMouseUp =3D EventProcessor;
  815.             }
  816.             else if ( tt =3D=3D TT_BUTTONDOWN )
  817.             {
  818.                 objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEDOWN);
  819.                 objPlayer.HTML.NSLayer.onMouseDown =3D EventProcessor;
  820.             }
  821.         }
  822.     =09
  823.     }
  824. }
  825. function DisableTrigger( objPlayer )
  826. {
  827.     if ( sys !=3D "Netscape" )            =09
  828.     {
  829.         objPlayer.HTML.onmousedown =3D null;
  830.         objPlayer.HTML.onmouseup =3D null;=09
  831.         objPlayer.HTML.onmouseover =3D null;    =09
  832.         objPlayer.HTML.onmouseout =3D null;
  833.     }
  834.     else                                =09
  835.         objPlayer.HTML.NSLayer.releaseEvents(Event.MOUSEUP | Event.MOUSEDOWN | =
  836. Event.MOUSEOVER | Event.MOUSEOUT );
  837. }
  838. function EventProcessor( e )
  839. {
  840.     var trigger;                                =09
  841.     var    type;                                    =09
  842.     var    button;                                    =09
  843.     var    eventType;                                =09
  844.     var objPlayer;                                =09
  845.     if ( (objPlayer =3D GetPlayerFromName(this.id)) =3D=3D null)=09
  846.         return;
  847.     if ( sys !=3D "Netscape" )                    =09
  848.     {
  849.         type =3D event.type;
  850.         button =3D event.button;
  851.     }
  852.     else                                        =09
  853.     {
  854.         type =3D e.type;
  855.         button =3D e.which;
  856.     }
  857. =09
  858.     if (type =3D=3D "mousedown")
  859.     {
  860.         if ( button !=3D 1 )                    =09
  861.             return;
  862.         eventType =3D TT_BUTTONDOWN;
  863.         if ( sys =3D=3D "Netscape" )            =09
  864.         {
  865.             objPlayer.HTML.NSLayer.releaseEvents(Event.MOUSEDOWN);
  866.             objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEDOWN);
  867.         }
  868.     }
  869.     else if (type =3D=3D "mouseup")
  870.     {
  871.         if ( button !=3D 1 )                    =09
  872.             return;
  873.         eventType =3D TT_BUTTONUP;
  874.         if ( sys =3D=3D "Netscape" )            =09
  875.         {
  876.             objPlayer.HTML.NSLayer.releaseEvents(Event.MOUSEUP);
  877.             objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEUP);
  878.         }
  879.     }
  880.     else if (type =3D=3D "mouseover")
  881.     {
  882.         eventType =3D TT_MOUSEOVER;
  883.     }
  884.     else if (type =3D=3D "mouseout")
  885.     {
  886.         eventType =3D TT_MOUSEOUT;
  887.     }
  888.     var triggerArray =3D objPlayer.Triggers;        =09
  889.     var trigger;                                =09
  890. =09
  891.     for ( var trx=3D0; (trigger=3DtriggerArray[trx]) !=3D null; trx++ )
  892.     {
  893.         if ( (trigger.triggerType =3D=3D 0) || (trigger.triggerType =3D=3D =
  894. eventType) )
  895.         {
  896.         =09
  897.         =09
  898.         =09
  899.             if        ( trigger.triggerBhv =3D=3D TB_PAGE_TURNER )
  900.             {
  901.             =09
  902.             =09
  903.                 if ( (trigger.nextSceneNum =3D=3D null) || (trigger.nextSceneNum =
  904. =3D=3D "") )
  905.                     SceneExit( currentScene );
  906.                 else
  907.                 {
  908.                     if ( Scenes[trigger.nextSceneNum].number < currentScene.number )
  909.                     {
  910.                         for ( ii=3D0; ii<=3DcurrentScene.number; ii++ )
  911.                             InitializePlayers( sceneArray[ii] );
  912.                     }
  913.                     SceneExit( currentScene, Scenes[trigger.nextSceneNum] );
  914.                 }
  915.             }
  916.             else if    ( trigger.triggerBhv =3D=3D TB_START_PLAYER )
  917.                 StartPlayer( GetPlayerFromName( trigger.player ) );            =09
  918.             else=20
  919.             {
  920.             =09
  921.                 var objTrigPlayer =3D GetPlayerFromName( trigger.player );    =09
  922.                 var bhv =3D objTrigPlayer.Bhv[trigger.triggerBhv];            =09
  923.                 bhv.Trigger( bhv, eventType );                                =09
  924.             }  =09
  925.         }
  926.     }
  927.     return;=09
  928. }
  929. function Transition( type, rate, flyFrom, flySubtype )
  930. {
  931.     this.type =3D type;
  932.     this.rate =3D rate;
  933.     this.flyFrom =3D flyFrom;
  934.     this.flySubtype =3D flySubtype;
  935. }
  936. function StartTransition( transObj, trans, visibility, callback )
  937. {
  938.     var    playerType =3D GetObjectTypeFromName( transObj.name );    =09
  939. =09
  940. =09
  941. =09
  942.     if    ( ("Netscape" =3D=3D sys) ||=20
  943.         ( (playerType =3D=3D OBJ_PLAYER) && (trans.type =3D=3D =
  944. NULL_TRANSITION) ) )
  945.     {
  946.         SetVisibility( transObj.HTML, visibility );
  947.         callback( transObj );
  948.         return;
  949.     }
  950. =09
  951. =09
  952. =09
  953. =09
  954.     if ( ((trans.type =3D=3D TEXT_FLYIN) || (trans.type =3D=3D =
  955. TEXT_TYPEWRITER)) && (visibility =3D=3D IE_VISIBLE) )
  956.     {
  957.         StartTextFlyin( transObj );
  958.         return;
  959.     }
  960. =09
  961.     if ( platform !=3D "Win32" )
  962.     {
  963.         SetVisibility( transObj.HTML, visibility );
  964.         callback( transObj );
  965.         return;
  966.     }
  967.     =09
  968. =09
  969. =09
  970. =09
  971. =09
  972. =09
  973.     if ( trans.type =3D=3D NULL_TRANSITION )
  974.     {
  975.         transObj.HTML.style.filter =3D "revealTrans(duration=3D0, =
  976. transition=3D0)";
  977.     }
  978.     else    =09
  979.     {
  980.         duration =3D TRANSITION_RATES[trans.rate];
  981.         transObj.HTML.style.filter =3D "revealTrans(duration=3D" + duration + =
  982. ", transition=3D" + trans.type + ")";
  983.     }
  984.     stNoInput++;                                    =09
  985.     transObj.HTML.filters(0).Apply();                =09
  986. =09
  987.     SetVisibility( transObj.HTML, visibility );        =09
  988. =09
  989.     transObj.HTML.filters(0).Play()                    =09
  990.     transObj.HTML.onfilterchange =3D TransitionDoneEvent;=09
  991. }
  992. function TransitionDoneEvent( )
  993. {
  994.     var    type =3D GetObjectTypeFromName( event.srcElement.id );    =09
  995.     stNoInput--;                                                =09
  996.     if        ( type =3D=3D OBJ_SCENE )
  997.     {
  998.     =09
  999.         if ( (currentScene !=3D null) && (event.srcElement.id =3D=3D =
  1000. currentScene.name) )
  1001.             SceneTransitionDone();
  1002.     }
  1003.     else if    ( type =3D=3D OBJ_PLAYER )        =09
  1004.     {
  1005.         var objPlayer =3D GetPlayerFromName( event.srcElement.id );
  1006.         if ( this.style.visibility =3D=3D IE_VISIBLE )                =09
  1007.             PlayerEntryTransitionDone( objPlayer ); =20
  1008.         else                                                    =09
  1009.             PlayerExitTransitionDone( objPlayer, false );
  1010.     }
  1011.     return;
  1012. }
  1013. function InitializeTextFlyin( objPlayer )
  1014. {
  1015.     if ( sys =3D=3D "Netscape" )                                    =09
  1016.         return false;
  1017.     var    transition =3D objPlayer.entryTrans;                        =09
  1018.     var    transUnits =3D transition.flySubtype;                        =09
  1019.     var    movePerTick    =3D parseInt(FLYIN_PER_TICK[transition.rate]);=09
  1020. =09
  1021.     var    transDirection =3D (transition.type =3D=3D TEXT_FLYIN) ? =
  1022. transition.flyFrom : FLYIN_TOP;    =09
  1023.     =09
  1024. =09
  1025.     if ( stProjState =3D=3D PS_UNINITIALIZED )
  1026.     {
  1027.         var    textHTML    =3D objPlayer.HTML;                =09
  1028.         var    oldInnerHTML    =3D textHTML.innerHTML;        =09
  1029.         var    newInnerHTML    =3D "";                        =09
  1030.     =09
  1031.         transition.textOrder =3D new Array();                =09
  1032.         textOrder =3D transition.textOrder;                =09
  1033. =09
  1034.     =09
  1035.     =09
  1036.     =09
  1037.     =09
  1038.         var flyinIdx =3D 0;                        =09
  1039.         var    flyinBuffer =3D "";
  1040.     =09
  1041.     =09
  1042.     =09
  1043.         var spanStyle =3D (transition.type =3D=3D TEXT_FLYIN) ? " =
  1044. style=3D'position:relative;visibility:hidden;'" : " =
  1045. style=3D'visibility:hidden;'";
  1046.         for ( var letterIdx=3D0; letterIdx<oldInnerHTML.length; )
  1047.         {
  1048.         =09
  1049.             tempID =3D objPlayer.name+"_tempID"+flyinIdx.toString();
  1050.             newInnerHTML +=3D "<span id=3D" + tempID + spanStyle + ">";
  1051.             while ( letterIdx<oldInnerHTML.length )
  1052.             {
  1053.             =09
  1054.             =09
  1055.             =09
  1056.                 if ( ( (charNext =3D oldInnerHTML.substring(letterIdx, letterIdx+1)) =
  1057. =3D=3D "<") || (charNext =3D=3D "&") )    =09
  1058.                 {
  1059.                     if ( charNext =3D=3D "<" )                                                                =09
  1060.                         endTagIdx =3D oldInnerHTML.indexOf( ">", letterIdx );=09
  1061.                     else
  1062.                         endTagIdx =3D oldInnerHTML.indexOf( ";", letterIdx );=09
  1063.                     var tagString =3D oldInnerHTML.substring( letterIdx, ++endTagIdx );
  1064.                     newInnerHTML +=3D tagString;
  1065.                     letterIdx =3D endTagIdx;                                            =09
  1066.                 =09
  1067.                     if ( ((tagString =3D=3D "</P>") || (tagString =3D=3D "<BR>")) &&
  1068.                         (transUnits !=3D FLYIN_BY_LETTER)    )                                    =09
  1069.                         break;
  1070.                 }
  1071.             =09
  1072.                 else
  1073.                 {
  1074.                     thisChar =3D oldInnerHTML.substring( letterIdx, ++letterIdx );
  1075.                     newInnerHTML +=3D thisChar;
  1076.                     if        ( transUnits =3D=3D FLYIN_BY_LETTER )        =09
  1077.                         break;                                        =09
  1078.                     else if    ( (transUnits =3D=3D FLYIN_BY_WORD ) && thisChar =3D=3D " " =
  1079. )    =09
  1080.                         break;
  1081.                 }
  1082.             }
  1083.             newInnerHTML +=3D "</span>"
  1084.             textOrder[flyinIdx] =3D new Object();
  1085.             textOrder[flyinIdx].name =3D tempID;                                    =09
  1086.             flyinIdx++;                                                            =09
  1087.         }
  1088.     =09
  1089.         if ( flyinIdx =3D=3D 0 )
  1090.             return false;
  1091.     =09
  1092.         textHTML.innerHTML =3D newInnerHTML;
  1093.         transition.numUnits =3D flyinIdx;                        =09
  1094.     }
  1095. =09
  1096. =09
  1097. =09
  1098.     textOrder =3D transition.textOrder;
  1099.     var currentEl =3D document.all[textOrder[0].name];    =09
  1100.     var currentOffset =3D currentEl.offsetLeft;=09
  1101.     var previousEl, previousOffset;
  1102.     for ( var count=3D0; count<transition.numUnits; count++ )        =09
  1103.     {
  1104.         previousOffset =3D currentOffset;                            =09
  1105.         previousEl =3D currentEl;
  1106.         textElName =3D textOrder[count].name;                    =09
  1107.         currentEl =3D document.all[textElName];
  1108.         SetVisibility( currentEl, IE_HIDDEN );
  1109.         currentOffset =3D currentEl.offsetTop;
  1110.     =09
  1111.     =09
  1112.     =09
  1113.     =09
  1114.     =09
  1115.     =09
  1116.         if ( currentOffset !=3D previousOffset )                                =09
  1117.             if ( previousEl.innerHTML =3D=3D " " )                                    =09
  1118.                 previousEl.innerHTML =3D "<br>";
  1119.         if ( transDirection =3D=3D FLYIN_ROTATE )        =09
  1120.             direction =3D count % FLYIN_ROTATE;            =09
  1121.         else
  1122.             direction =3D transDirection;
  1123.     =09
  1124.         if        ( direction =3D=3D FLYIN_LEFT )
  1125.         {
  1126.             tempPos =3D -(currentEl.offsetParent.offsetLeft + =
  1127. currentEl.offsetParent.offsetWidth);
  1128.             currentEl.style.posLeft =3D tempPos;                    =09
  1129.             textOrder[count].dx =3D -movePerTick;                    =09
  1130.             textOrder[count].dy =3D 0;
  1131.             textOrder[count].iterations =3D tempPos / (-movePerTick);=09
  1132.         }
  1133.         else if ( direction =3D=3D FLYIN_RIGHT )
  1134.         {
  1135.             tempPos =3D objPlayer.HTML.parentElement.offsetWidth - =
  1136. currentEl.offsetParent.offsetLeft;
  1137.             currentEl.style.posLeft =3D tempPos;
  1138.             textOrder[count].dx =3D movePerTick;                    =09
  1139.             textOrder[count].dy =3D 0;
  1140.             textOrder[count].iterations =3D tempPos / movePerTick;=09
  1141.         }
  1142.         else if    ( direction =3D=3D FLYIN_TOP )
  1143.         {
  1144.             tempPos =3D -(currentEl.offsetParent.style.posTop + =
  1145. currentEl.offsetParent.offsetHeight);
  1146.             currentEl.style.posTop =3D tempPos;
  1147.             textOrder[count].dx =3D 0;
  1148.             textOrder[count].dy =3D (-movePerTick);                =09
  1149.             textOrder[count].iterations =3D tempPos / (-movePerTick);=09
  1150.         }
  1151.         else if ( direction =3D=3D FLYIN_BOTTOM )
  1152.         {
  1153.             tempPos =3D objPlayer.HTML.parentElement.offsetHeight - =
  1154. currentEl.offsetParent.style.posTop;
  1155.             currentEl.style.posTop =3D tempPos;
  1156.             textOrder[count].dx =3D 0;
  1157.             textOrder[count].dy =3D movePerTick;                    =09
  1158.             textOrder[count].iterations =3D tempPos / movePerTick;=09
  1159.         }
  1160.     }
  1161. =09
  1162.     transition.charIdx =3D 0;                            =09
  1163.     transition.moveIdx =3D 0;                            =09
  1164.     textElName =3D transition.textOrder[0].name;
  1165.     transition.currentEl =3D document.all[textElName];=09
  1166.     SetVisibility( transition.currentEl, IE_VISIBLE );
  1167.     return true;
  1168. }
  1169. function StartTextFlyin( objPlayer )
  1170. {
  1171. =09
  1172.     SetVisibility( objPlayer.HTML, IE_VISIBLE );
  1173.     StartAnimationTimer( objPlayer, TextFlyinTick );
  1174. }
  1175. function TextFlyinTick( objPlayer )
  1176. {
  1177.     var    transition =3D objPlayer.entryTrans;                    =09
  1178.     var    spanObj =3D transition.textOrder[transition.charIdx];    =09
  1179.     var textEl =3D transition.currentEl;                        =09
  1180. =09
  1181. =09
  1182.     if ( ++transition.moveIdx < spanObj.iterations)            =09
  1183.     {
  1184.         textEl.style.posTop -=3D spanObj.dy;                    =09
  1185.         textEl.style.posLeft -=3D spanObj.dx;
  1186.         return false;                                        =09
  1187.     }
  1188.     =09
  1189. =09
  1190.     textEl.style.posTop =3D 0;                                =09
  1191.     textEl.style.posLeft =3D 0;
  1192.     =09
  1193. =09
  1194.     if ( (charIdx =3D ++transition.charIdx) >=3D =
  1195. transition.textOrder.length )=09
  1196.     {
  1197.         PlayerEntryTransitionDone( objPlayer );                =09
  1198.         return true;                                        =09
  1199.     }
  1200.     else
  1201.     {
  1202.         transition.moveIdx =3D 0;                                =09
  1203.         textElName =3D transition.textOrder[charIdx].name;
  1204.         transition.currentEl =3D document.all[textElName];    =09
  1205.         transition.currentEl.style.visibility =3D IE_VISIBLE;    =09
  1206.         return false;                                        =09
  1207.     }                                                        =09
  1208. }
  1209. var    SND_DUR_SCENE            =3D -1;=09
  1210. var    SND_DUR_PROJECT            =3D 0;=09
  1211. var ST_WAV                    =3D 1;=09
  1212. var    ST_MID                    =3D 2;=09
  1213. var    NAV_EXT                    =3D "nav"=09
  1214. var MidiTag                    =3D null;=09
  1215. function Sound( delay, duration, loop, soundType, tagName, fileName )
  1216. {
  1217. =09
  1218.     this.Initialize =3D InitializeSound;
  1219.     this.Start =3D StartSound;
  1220.     this.Trigger =3D StartSound;
  1221.     this.Stop =3D StopSound;
  1222.     this.StopEverything =3D StopEverythingOnSounds;
  1223. =09
  1224.     this.delay =3D delay;
  1225.     this.duration =3D duration;
  1226.     this.loop =3D loop;
  1227.     this.tagName =3D tagName;
  1228.     this.fileName =3D fileName;
  1229.     this.soundType =3D soundType;
  1230. }
  1231. function InitializeSound( objParent, objSound )
  1232. {
  1233.     if ( sys =3D=3D "Netscape" )
  1234.     {
  1235.         objSound.navLoop =3D (objSound.loop =3D=3D -1) ? true : false;
  1236.         objSound.html =3D document[objSound.tagName+NAV_EXT];
  1237.         return;
  1238.     }
  1239.     objSound.objParent =3D objParent;                =09
  1240.     objSound.html =3D document.all[objSound.tagName];=09
  1241.     objSound.fileName =3D objSound.html.soundsrc;    =09
  1242. =09
  1243. =09
  1244.     if (objSound.soundType =3D=3D ST_MID )
  1245.     {
  1246.         if ( MidiTag =3D=3D null )                    =09
  1247.             MidiTag =3D objSound.html;            =09
  1248.         else
  1249.             objSound.html =3D MidiTag;            =09
  1250.     }        =09
  1251. }
  1252. function StartSound( objSound )
  1253. {
  1254.     if ( sys =3D=3D "Netscape" )                    =09
  1255.     {
  1256.         if ( objSound.html !=3D null )            =09
  1257.             objSound.html.play(objSound.navLoop);
  1258.         return;
  1259.     }
  1260.     objSound.html.src =3D objSound.fileName;        =09
  1261.     objSound.html.loop =3D objSound.loop;            =09
  1262.     if ( objSound.soundType =3D=3D ST_WAV )        =09
  1263.         objSound.html.volume =3D 0;                    =09
  1264.     if ( objSound.duration > 0 )
  1265.         StartOneShotTimer( objSound, objSound.duration, objSound.Stop, =
  1266. TMR_PROJ );
  1267. }
  1268. function StopSound( objSound, fPause )
  1269. {
  1270.     if ( sys =3D=3D "Netscape" )                    =09
  1271.     {
  1272.         if ( objSound.html !=3D null )            =09
  1273.             objSound.html.stop();
  1274.         return;
  1275.     }
  1276.     objSound.html.loop =3D 0;
  1277.     objSound.html.src =3D "";                            =09
  1278.     if ( objSound.soundType =3D=3D ST_WAV )
  1279.         objSound.html.volume =3D -10000;
  1280. }
  1281. function StopEverythingOnSounds( objSound )
  1282. {
  1283.     StopSound( objSound, true );
  1284.     if ( (sys !=3D "Netscape") && (os =3D=3D "NT") )                =09
  1285.         objSound.html.volume =3D -500;                        =09
  1286. }
  1287. var    SND_DUR_SCENE            =3D -1;=09
  1288. var    SND_DUR_PROJECT            =3D 0;=09
  1289. function Swapper( idle, hover, click )
  1290. {
  1291. =09
  1292.     this.Initialize =3D InitializeSwap;
  1293.     this.Start =3D StartSwap;
  1294.     this.Trigger =3D TriggerSwap;
  1295.     this.Stop =3D StopSwap;
  1296.     this.StopEverything =3D StopSwap;
  1297. =09
  1298.     this.idle =3D idle;
  1299.     this.hover =3D hover;
  1300.     this.click =3D click;
  1301. }
  1302. function InitializeSwap( objParent, objSwap )
  1303. {
  1304.     if ( stProjState !=3D PS_UNINITIALIZED )            =09
  1305.         return;
  1306. =09
  1307.     var    idle    =3D objSwap.idle;                        =09
  1308.     var    hover    =3D objSwap.hover;
  1309.     var    click    =3D objSwap.click;
  1310. =09
  1311. =09
  1312. =09
  1313. =09
  1314. =09
  1315. =09
  1316. =09
  1317.     if ( (hover !=3D null) && (hover !=3D "") && (document.all[hover].src =
  1318. !=3D null) )
  1319.     {
  1320.         SetVisibility( document.all[hover], IE_HIDDEN );
  1321.         objSwap.srcHover =3D document.all[hover].src;
  1322.         document.all[hover].src =3D "";
  1323.     }
  1324.     else
  1325.         objSwap.srcHover =3D document.all[idle].src;
  1326.     if ( (click !=3D null) && (click !=3D "") && (document.all[click].src =
  1327. !=3D null) )
  1328.     {
  1329.         SetVisibility( document.all[click], IE_HIDDEN );
  1330.         objSwap.srcClick =3D document.all[click].src;
  1331.         document.all[click].src =3D "";
  1332.     }
  1333.     else
  1334.         objSwap.srcClick =3D document.all[idle].src;
  1335. =09
  1336.     objSwap.srcIdle =3D document.all[idle].src;
  1337. }
  1338. function StartSwap( objSwap )
  1339. {
  1340. =09
  1341. }
  1342. function TriggerSwap( objSwap, eventType )
  1343. {
  1344.     if ( eventType =3D=3D TT_BUTTONDOWN )
  1345.         document.all[objSwap.idle].src =3D objSwap.srcClick;
  1346.     else if ( eventType =3D=3D TT_BUTTONUP )
  1347.         document.all[objSwap.idle].src =3D objSwap.srcHover;
  1348.     else if ( eventType =3D=3D TT_MOUSEOVER )
  1349.         document.all[objSwap.idle].src =3D objSwap.srcHover;
  1350.     else if ( eventType =3D=3D TT_MOUSEOUT )
  1351.         document.all[objSwap.idle].src =3D objSwap.srcIdle;
  1352.     return;
  1353. }
  1354. function StopSwap( objSwap, fPause )
  1355. {
  1356.     if ( fPause )                        =09
  1357.         return;
  1358. }
  1359. var    PATH_PER_TICK =3D new Array(50,40,30,20,10);    =09
  1360. var    PE_STOP        =3D 0;                            =09
  1361. var    PE_AGAIN    =3D 1;                            =09
  1362. var    PE_REV        =3D 2;                            =09
  1363. var    PE_EXIT        =3D 3;                            =09
  1364. var    PD_FWD        =3D 1;
  1365. var    PD_BACK        =3D -1;
  1366. function Point( x, y, rate )
  1367. {
  1368.     this.x =3D x;
  1369.     this.y =3D y;
  1370.     this.rate =3D rate;
  1371. }
  1372. function Paths( delay, edgeEffect )
  1373. {
  1374. =09
  1375.     this.Initialize =3D InitializePathAnimation;
  1376.     this.Start =3D StartPathAnimation;
  1377.     this.Trigger =3D StartPathAnimation;
  1378.     this.Stop =3D StopPathAnimation;
  1379.     this.StopEverything =3D StopPathAnimation;
  1380. =09
  1381.     this.delay =3D delay;
  1382.     this.edgeEffect =3D edgeEffect;
  1383. }
  1384. function InitializePathAnimation( objPlayer, path )
  1385. {
  1386.     var    segment;                                =09
  1387.     var pathIndex;
  1388.     var totalDistance;                            =09
  1389.     var    distanceX;                                =09
  1390.     var    distanceY;
  1391.     var dx;                                        =09
  1392.     var    dy;
  1393.     var travelTime;                                =09
  1394.     var    remX;                                    =09
  1395.     var    remY;
  1396. =09
  1397.     if ( stProjState !=3D PS_UNINITIALIZED )
  1398.     {
  1399.         objPlayer.position.SetPosition( path[0].x, path[0].y );
  1400.         return;
  1401.     }
  1402.     path.objPlayer =3D objPlayer;                    =09
  1403.     halfWidth =3D Math.floor(objPlayer.HTML.offsetWidth/2);    =09
  1404.     halfHeight =3D Math.floor(objPlayer.HTML.offsetHeight/2);
  1405. =09
  1406. =09
  1407.     path[0].x -=3D halfWidth;
  1408.     path[0].y -=3D halfHeight;
  1409.     objPlayer.position.SetPosition( path[0].x, path[0].y );
  1410.     for ( pathIndex=3D0; path[pathIndex+1] !=3D null; pathIndex++ )=09
  1411.     {
  1412.         px =3D parseInt(pathIndex);                =09
  1413.         segment =3D path[px];                        =09
  1414.     =09
  1415.     =09
  1416.     =09
  1417.         path[px+1].x -=3D halfWidth;
  1418.         path[px+1].y -=3D halfHeight;
  1419.     =09
  1420.         distanceX =3D path[px+1].x - segment.x;    =09
  1421.         distanceY =3D path[px+1].y - segment.y;    =09
  1422.     =09
  1423.         totalDistance =3D Math.sqrt( (distanceX*distanceX) + =
  1424. (distanceY*distanceY) );
  1425.     =09
  1426.     =09
  1427.         travelTime =3D Math.round(totalDistance / =
  1428. PATH_PER_TICK[segment.rate]);
  1429.     =09
  1430.     =09
  1431.         if ( distanceX > 0 )                        =09
  1432.             dx =3D Math.floor( distanceX / travelTime );=09
  1433.         else if ( distanceX < 0 )                    =09
  1434.             dx =3D Math.ceil( distanceX / travelTime );=09
  1435.         else
  1436.             dx =3D 0;
  1437.     =09
  1438.     =09
  1439.     =09
  1440.     =09
  1441.         remX =3D distanceX % travelTime;
  1442.     =09
  1443.         if ( distanceY > 0 )                        =09
  1444.             dy =3D Math.floor( distanceY / travelTime );
  1445.         else if ( distanceY < 0 )
  1446.             dy =3D Math.ceil( distanceY / travelTime );
  1447.         else
  1448.             dy =3D 0;
  1449.         remY =3D distanceY % travelTime;
  1450.         segment.number =3D px;                        =09
  1451.         segment.ticks =3D 0;
  1452.         segment.travelTime =3D travelTime;
  1453.         segment.dx =3D dx;
  1454.         segment.dy =3D dy;
  1455.         segment.remX =3D remX;
  1456.         segment.remY =3D remY;
  1457.     }
  1458.     path.numSegs =3D parseInt(pathIndex);                =09
  1459.     path.dir =3D PD_FWD;                                        =09
  1460.     return;
  1461. }
  1462. function StartPathAnimation( path )
  1463. {
  1464.     path.currentSegment =3D path[0];    =09
  1465.     path.currentSegment.ticks =3D 0;    =09
  1466.     path.cntSegs =3D 0;                                =09
  1467. =09
  1468. =09
  1469.     if ( path.dir =3D=3D PD_BACK )                            =09
  1470.     {
  1471.         for ( var ii=3D0; ii<path.numSegs; ii++ )            =09
  1472.         {
  1473.             path[ii].dx *=3D -1;
  1474.             path[ii].dy *=3D -1;
  1475.             path[ii].remX *=3D -1;
  1476.             path[ii].remY *=3D -1;
  1477.         }
  1478.         path.dir =3D PD_FWD;                                =09
  1479.     }
  1480.     StartAnimationTimer( path, PathAnimationTick );
  1481. }
  1482. function StopPathAnimation( path, fPause )
  1483. {
  1484.     return;
  1485. }
  1486. function PathAnimationTick( path )
  1487. {
  1488.     var    objPlayer =3D path.objPlayer;            =09
  1489.     var segment =3D path.currentSegment;        =09
  1490.     var    currentPosition =3D objPlayer.position;=09
  1491.     if ( ++segment.ticks <=3D segment.travelTime )    =09
  1492.     {
  1493.         newX =3D currentPosition.x + segment.dx;        =09
  1494.         if ( segment.ticks <=3D Math.abs(segment.remX) )=09
  1495.             segment.remX > 0 ? newX++ : newX--;
  1496.         newY =3D currentPosition.y + segment.dy;        =09
  1497.         if ( segment.ticks <=3D Math.abs(segment.remY) )=09
  1498.             segment.remY > 0 ? newY++ : newY--;
  1499.         currentPosition.SetPosition( newX, newY );=09
  1500.         return false;                            =09
  1501.     }
  1502. =09
  1503. =09
  1504.     if ( ++path.cntSegs < path.numSegs )
  1505.     {
  1506.     =09
  1507.         path.currentSegment =3D path[segment.number+path.dir];    =09
  1508.         path.currentSegment.ticks =3D 0;                            =09
  1509.             =09
  1510.         return false;
  1511.     }
  1512.     =09
  1513. =09
  1514.     if            ( path.edgeEffect =3D=3D PE_AGAIN )    =09
  1515.     {
  1516.     =09
  1517.         objPlayer.position.SetPosition( path[0].x, path[0].y );
  1518.     =09
  1519.         path.currentSegment =3D path[0];                =09
  1520.         path.currentSegment.ticks =3D 0;                =09
  1521.         path.cntSegs =3D 0;                            =09
  1522.         return false;                                =09
  1523.     }                        =09
  1524.     else if        ( path.edgeEffect =3D=3D PE_REV )        =09
  1525.     {
  1526.         path.dir *=3D -1;                                =09
  1527.     =09
  1528.         for ( var ii=3D0; ii<path.numSegs; ii++ )
  1529.         {
  1530.             path[ii].dx *=3D -1;
  1531.             path[ii].dy *=3D -1;
  1532.             path[ii].remX *=3D -1;
  1533.             path[ii].remY *=3D -1;
  1534.         }
  1535.         path.currentSegment.ticks =3D 0;                =09
  1536.         path.cntSegs =3D 0;                            =09
  1537.         return false;
  1538.     }
  1539.     else if        ( path.edgeEffect =3D=3D PE_EXIT )
  1540.     {
  1541.         PlayerExit( objPlayer );
  1542.         return true;
  1543.     }
  1544.     else
  1545.         return true;                                =09
  1546. }
  1547. var    GROW_PER_TICK =3D new Array(20,14,8,4,1);    =09
  1548. function Size( zoom, rate )
  1549. {
  1550.     this.zoom =3D zoom;
  1551.     this.rate =3D rate;
  1552. }
  1553. function Grows( delay )
  1554. {
  1555. =09
  1556.     this.Initialize =3D InitializeGrowAnimation;
  1557.     this.Start =3D StartGrowAnimation;
  1558.     this.Trigger =3D StartGrowAnimation;
  1559.     this.Stop =3D StopGrowAnimation;
  1560.     this.StopEverything =3D StopGrowAnimation;
  1561. =09
  1562.     this.delay =3D delay;
  1563. }
  1564. function InitializeGrowAnimation( objPlayer, grow )
  1565. {
  1566.     if ( sys =3D=3D "Netscape" )
  1567.         return;
  1568.     var    child =3D objPlayer.HTML.children[0];                    =09
  1569.     var playerType =3D GetPlayerTypeFromName( objPlayer.name );=09
  1570. =09
  1571. =09
  1572. =09
  1573.     if ( stProjState =3D=3D PS_UNINITIALIZED )
  1574.     {
  1575.         grow.realWidth =3D child.width;
  1576.         grow.realHeight =3D child.height;
  1577.     }
  1578.     if ( (playerType =3D=3D PLAYER_TEXT) || sys =3D=3D "Netscape" )=09
  1579.     {
  1580.         grow =3D null;                                        =09
  1581.         return;
  1582.     }
  1583.     grow.objPlayer =3D objPlayer;                                =09
  1584. =09
  1585.     grow.currentSegment =3D grow[0];                            =09
  1586.     grow.currentGrowth =3D grow.currentSegment.zoom;            =09
  1587. =09
  1588. =09
  1589. =09
  1590.     child.width *=3D (grow.currentSegment.zoom / 100);        =09
  1591.     child.height *=3D (grow.currentSegment.zoom / 100);
  1592. =09
  1593.     for ( var growIndex=3D0; grow[growIndex] !=3D null; growIndex++ )=09
  1594.     {
  1595.         gx =3D parseInt(growIndex);                =09
  1596.         segment =3D grow[gx];                        =09
  1597.         if ( grow[gx+1] =3D=3D null )                =09
  1598.         {
  1599.             grow.finalSegment =3D grow[gx-1];        =09
  1600.             break;                                =09
  1601.         }
  1602.     =09
  1603.         growth =3D grow[gx+1].zoom - segment.zoom;                =09
  1604.         if ( growth >=3D 0 )                                        =09
  1605.             growthFactor =3D GROW_PER_TICK[segment.rate];            =09
  1606.         else
  1607.             growthFactor =3D -(GROW_PER_TICK[segment.rate]);
  1608.     =09
  1609.         growthTicks =3D growth / growthFactor;        =09
  1610.     =09
  1611.         segment.number =3D gx;                        =09
  1612.         segment.growth =3D growth;
  1613.         segment.growthFactor =3D growthFactor;
  1614.         segment.growthTicks =3D growthTicks;
  1615.         segment.currentTicks =3D 0;
  1616.     }
  1617. }
  1618. function StartGrowAnimation( grow )
  1619. {=09
  1620.     if ( sys =3D=3D "Netscape" )
  1621.         return;
  1622.     grow.currentSegment =3D grow[0];                        =09
  1623.     grow.currentTicks =3D 0;
  1624.     StartAnimationTimer( grow, GrowAnimationTick );
  1625. }
  1626. function StopGrowAnimation( grow, fPause )
  1627. {
  1628.     return;
  1629. }
  1630. function GrowAnimationTick( grow )
  1631. {
  1632.     if ( sys =3D=3D "Netscape" )
  1633.         return true;                                    =09
  1634.     var    objPlayer =3D grow.objPlayer;                        =09
  1635.     var    child =3D objPlayer.HTML.children[0];                =09
  1636.     var segment =3D grow.currentSegment;                    =09
  1637.     grow.currentGrowth +=3D segment.growthFactor;            =09
  1638.     child.width =3D grow.realWidth*(grow.currentGrowth/100);=09
  1639.     child.height =3D grow.realHeight*(grow.currentGrowth/100);
  1640.     if ( ++grow.currentTicks <=3D segment.growthTicks )    =09
  1641.         return false;                                    =09
  1642.     if ( grow.currentSegment =3D=3D grow.finalSegment )        =09
  1643.         return true;                                    =09
  1644.     grow.currentSegment =3D grow[ segment.number+1 ];        =09
  1645.     grow.currentTicks =3D 0;
  1646.     return false;                                        =09
  1647. }
  1648. function Timer()
  1649. {
  1650.     if ( Project.tickRate =3D=3D null )        =09
  1651.         this.tickRate =3D DEFAULT_TICK_RATE;
  1652.     else
  1653.         this.tickRate =3D Project.tickRate;
  1654.     this.oneShots =3D new Array();
  1655.     this.animations =3D new Array();
  1656.     this.tickCounter =3D 0;                        =09
  1657.     this.ticksPerSecond =3D 1000 / (this.tickRate);=09
  1658.     this.timerID =3D null;
  1659.     this.StartTicking =3D StartTicking;            =09
  1660.     this.StopTicking =3D StopTicking;
  1661. =09
  1662. }
  1663. function StartTicking()
  1664. {
  1665.     if ( this.timerID =3D=3D null )
  1666.         this.timerID =3D setInterval( "TimerTick()", this.tickRate );
  1667. }
  1668. function StopTicking()
  1669. {
  1670.     if ( this.timerID !=3D null )
  1671.         clearInterval( this.timerID );
  1672.     this.timerID =3D null;
  1673. }
  1674. function TimerTick()
  1675. {
  1676.     var timerEvent;
  1677. =09
  1678.     for ( var ii=3D0; ii<tickTimer.animations.length; ii++ )    =09
  1679.     {
  1680.         if ( (timerEvent=3DtickTimer.animations[ii]) =3D=3D null )=09
  1681.             continue;                                        =09
  1682.         if ( timerEvent.callback( timerEvent.callbackObj ) =3D=3D true )=09
  1683.             tickTimer.animations[ii] =3D null;                =09
  1684.     }
  1685. =09
  1686.     if ( (++tickTimer.tickCounter % tickTimer.ticksPerSecond) =3D=3D 0 )=09
  1687.     {
  1688.     =09
  1689.         var length =3D tickTimer.oneShots.length;                =09
  1690.         for ( var ii=3D0; ii<length && (tickTimer!=3Dnull); ii++ )=09
  1691.         {
  1692.             if ( (timerEvent=3DtickTimer.oneShots[ii]) =3D=3D null )=09
  1693.                 continue;                                    =09
  1694.         =09
  1695.             if ( timerEvent.time <=3D tickTimer.tickCounter )    =09
  1696.             {
  1697.                 tickTimer.oneShots[ii] =3D null;                =09
  1698.                 timerEvent.callback( timerEvent.callbackObj );=09
  1699.             }
  1700.         }
  1701.     }
  1702.     return;
  1703. }
  1704. function StartOneShotTimer( obj, time, callback, type )
  1705. {
  1706.     var    timerIndex;                                =09
  1707.     var timerEvent =3D new Object();                =09
  1708. =09
  1709.     timerEvent.callbackObj =3D obj;                =09
  1710.     timerEvent.callback =3D callback;                =09
  1711.     timerEvent.type =3D type;                        =09
  1712. =09
  1713. =09
  1714.     timerEvent.time =3D tickTimer.tickCounter + (time * =
  1715. tickTimer.ticksPerSecond);
  1716.     for ( timerIndex=3D0; tickTimer.oneShots[timerIndex]!=3Dnull; =
  1717. timerIndex++ );=09
  1718.     tickTimer.oneShots[timerIndex] =3D timerEvent;=09
  1719.     return;
  1720. }
  1721. function StartAnimationTimer( obj, callback )
  1722. {
  1723.     var timerIndex;=20
  1724.     timerEvent =3D new Object();
  1725.     timerEvent.callbackObj =3D obj;                =09
  1726.     timerEvent.callback =3D callback;                =09
  1727.     for ( timerIndex=3D0; tickTimer.animations[timerIndex]!=3Dnull; =
  1728. timerIndex++);=09
  1729.     tickTimer.animations[timerIndex] =3D timerEvent;
  1730. }
  1731. function StopSceneTimers()
  1732. {
  1733.     for (var ii=3D0; ii<tickTimer.oneShots.length; ii++)=09
  1734.     {
  1735.         if ( tickTimer.oneShots[ii] =3D=3D null )        =09
  1736.             continue;
  1737.         if ( tickTimer.oneShots[ii].type =3D=3D TMR_SCENE )
  1738.             tickTimer.oneShots[ii] =3D null;            =09
  1739.     }
  1740. =09
  1741.     for (var ii=3D0; ii<tickTimer.animations.length; ii++)
  1742.         tickTimer.animations[ii] =3D null;
  1743. }
  1744. =09
  1745. function KillTimer()
  1746. {
  1747.     if ( tickTimer !=3D null )                    =09
  1748.     {
  1749.         window.clearTimeout( tickTimer.timerID);=09
  1750.         tickTimer =3D null;                        =09
  1751.     }
  1752. }
  1753. function SetColor(el, color)=20
  1754. {
  1755.     if ( el.style =3D=3D null )                =09
  1756.         return;
  1757. =09
  1758.     el.style.backgroundColor =3D color;    =09
  1759.     if ("Netscape"=3D=3Dsys)=20
  1760.         el.NSLayer.bgColor =3D color;        =09
  1761. }
  1762. function SetZIndex(el, zindex)=20
  1763. {
  1764.     if ( el.style =3D=3D null )                =09
  1765.         return;
  1766. =09
  1767.     el.style.zIndex =3D zindex;            =09
  1768.     if ("Netscape"=3D=3Dsys)=20
  1769.         el.NSLayer.zIndex =3D zindex        =09
  1770. }
  1771. function SetVisibility(el, val)=20
  1772. {
  1773.     if ( el.style =3D=3D null )                =09
  1774.         return;
  1775.     el.style.visibility =3D val;            =09
  1776.        =20
  1777.     if ( "Netscape"=3D=3Dsys )                =09
  1778.     {
  1779.         if        ( val =3D=3D IE_HIDDEN )
  1780.             el.NSLayer.visibility =3D NAV_HIDDEN;
  1781.         else if ( val =3D=3D IE_VISIBLE )
  1782.             el.NSLayer.visibility =3D NAV_VISIBLE;
  1783.         else if ( val =3D=3D IE_INHERIT )
  1784.             el.NSLayer.visibility =3D NAV_INHERIT;
  1785.         else
  1786.             el.NSLayer.visibility =3D "";
  1787.     }
  1788. }
  1789. function Position( obj )
  1790. {
  1791.     this.object =3D obj;                        =09
  1792.     this.x =3D obj.HTML.style.pixelLeft;        =09
  1793.     this.y =3D obj.HTML.style.pixelTop;        =09
  1794.     this.SetPosition =3D SetPosition;
  1795. }
  1796. function SetPosition( newX, newY )=20
  1797. {
  1798.     var el =3D this.object.HTML;                =09
  1799.     if ( el.style =3D=3D null )                    =09
  1800.         return;
  1801.                 =09
  1802.     el.style.pixelTop =3D newY;    =09
  1803.     el.style.pixelLeft =3D newX;
  1804.     this.x =3D newX;                            =09
  1805.     this.y =3D newY;
  1806.     if ( "Netscape"=3D=3Dsys )                    =09
  1807.     {
  1808.         el.NSLayer.top =3D parseInt( newY );
  1809.         el.NSLayer.left =3D parseInt( newX );
  1810.         el.offsetTop =3D el.NSLayer.top;
  1811.         el.offsetLeft =3D el.NSLayer.left;
  1812.     }
  1813. }
  1814. function SetContent(el, content)=20
  1815. {
  1816.     if ( el.style =3D=3D null )                    =09
  1817.         return;
  1818.     if ( "Netscape"=3D=3Dsys )                    =09
  1819.     {
  1820.         el.NSLayer.document.open();            =09
  1821.         el.NSLayer.document.write(content);    =09
  1822.         el.NSLayer.document.close();        =09
  1823.     }
  1824.     else                                    =09
  1825.         el.innerHTML=3Dcontent;
  1826. }
  1827. function SetupButtons()
  1828. {
  1829.     var rtn =3D false;                    =09
  1830.     if ( document.all.Pause !=3D null )
  1831.     {
  1832.         document.all.Pause.onclick =3D Pause;
  1833.         strPause =3D document.all.Pause.value.split( '/' );
  1834.         document.all.Pause.value =3D strPause[0];
  1835.     }
  1836.     if (document.all.Stop !=3D null )
  1837.         document.all.Stop.onclick =3D Stop;
  1838.     if ( document.all.Forward !=3D null )
  1839.         document.all.Forward.onclick =3D Forward;
  1840.     if ( document.all.Backward !=3D null )
  1841.         document.all.Backward.onclick =3D Backward;
  1842.     if ( document.all.Webpage !=3D null )
  1843.         document.all.Webpage.onclick =3D GotoWebpage;
  1844.     if ( document.all.SceneStatus !=3D null )
  1845.         formStatus =3D document.all.SceneStatus;
  1846.     if ( document.all.Start !=3D null )
  1847.     {
  1848.         document.all.Start.onclick =3D Start;
  1849.         strPlay =3D document.all.Start.value.split( '/' );
  1850.         document.all.Start.value =3D strPlay[0];
  1851.         rtn =3D true;
  1852.     }
  1853.     else
  1854.         rtn =3D false;
  1855.     if ( document.all.NavigationButtons !=3D null )
  1856.         SetVisibility( document.all.NavigationButtons, IE_VISIBLE );
  1857.     return rtn;
  1858. }
  1859. function Start()
  1860. {
  1861.     if ( stNoInput )                                    =09
  1862.         return;
  1863.     if ( stButtons =3D=3D true )                            =09
  1864.     {
  1865.         document.all.Start.value =3D strPlay[1];
  1866.         if ( document.all.Pause !=3D null )
  1867.         {
  1868.             document.all.Pause.value =3D strPause[0];
  1869.         }
  1870.     }
  1871.     if            ( (stProjState =3D=3D PS_RUNNING) || (stProjState =3D=3D =
  1872. PS_PAUSED) )=09
  1873.     {
  1874.         ProjectShutdown();
  1875.         ProjectInitialize();
  1876.     }
  1877.     else if        ( stProjState !=3D PS_INITIALIZED )    =09
  1878.         ProjectInitialize();
  1879.     ProjectStart();                                    =09
  1880. }
  1881. function Pause()
  1882. {
  1883. =09
  1884.     if ( stProjState =3D=3D PS_PAUSED )                    =09
  1885.     {
  1886.         tickTimer.StartTicking();                    =09
  1887.         if ( document.all.Pause !=3D null )
  1888.         {
  1889.             document.all.Pause.value =3D strPause[0];
  1890.         }
  1891.         stProjState =3D PS_RUNNING;
  1892.         StatusChange();                                =09
  1893.     }
  1894.     else
  1895.     {
  1896.         if ( tickTimer !=3D null )                    =09
  1897.             tickTimer.StopTicking();                =09
  1898.         if    ( stProjState !=3D PS_RUNNING )            =09
  1899.             return;
  1900.         stProjState =3D PS_PAUSED;
  1901.         if ( document.all.Pause !=3D null )
  1902.         {
  1903.             document.all.Pause.value =3D strPause[1];
  1904.         }
  1905.         StopEverythingOnScenes( true );                =09
  1906.         StatusChange();                                =09
  1907.     }
  1908. }
  1909. function Stop()
  1910. {
  1911.     if ( stNoInput )                                    =09
  1912.         return;
  1913.     location.reload();
  1914. }
  1915. function Forward()
  1916. {
  1917.     if ( stNoInput )                                    =09
  1918.         return;
  1919. =09
  1920.     if ( stProjState !=3D PS_RUNNING )
  1921.         return;
  1922.     SceneExit( currentScene );                =09
  1923. }
  1924. function Backward()
  1925. {
  1926.     if ( stNoInput )                                    =09
  1927.         return;
  1928.     var nextScene;
  1929. =09
  1930. =09
  1931. =09
  1932.     if        ( stProjState =3D=3D PS_COMPLETE )
  1933.         nextScene =3D Project.stopScene;
  1934.     else if ( stProjState !=3D PS_RUNNING )
  1935.         return;
  1936.     else
  1937.         nextScene =3D (currentScene.number =3D=3D 0) ? 0 : currentScene.number =
  1938. - 1;
  1939.     ProjectShutdown();
  1940.     ProjectInitialize();
  1941.     ProjectStart( nextScene );            =09
  1942. }
  1943. function GotoWebpage()
  1944. {
  1945.     window.open( Project.webpage);                    =09
  1946. }
  1947. function StatusChange( )
  1948. {
  1949.     var        stsPage =3D null;                =09
  1950.     var        stsState =3D null;            =09
  1951.     if        ( stProjState =3D=3D PS_UNINITIALIZED )
  1952.     {
  1953.         stsState =3D "Initializing";
  1954.         stsPage =3D ""
  1955.     }
  1956.     else if ( stProjState =3D=3D PS_INITIALIZED )
  1957.     {
  1958.         stsState =3D "Ready";
  1959.         stsPage =3D "";
  1960.     }
  1961.     else if    ( stProjState =3D=3D PS_RUNNING )
  1962.     {
  1963.         stsState =3D "Playing";
  1964.         stsPage =3D (currentScene.number+1) + " / " + nScenes;
  1965.     }
  1966.     else if    ( stProjState =3D=3D PS_PAUSED )
  1967.         stsState =3D "Paused";
  1968.     else if    ( stProjState =3D=3D PS_COMPLETE )
  1969.         stsState =3D "Complete";
  1970. =09
  1971.     if ( (formStatus !=3D null) && (stsPage !=3D null) )
  1972.         formStatus.value =3D stsPage;
  1973. =09
  1974.     if ( stsState !=3D null )
  1975.         top.status =3D stsState;=20
  1976. }
  1977. function GetSceneFromNumber( sceneNum )
  1978. {
  1979.     return sceneArray[sceneNum];    =09
  1980. }
  1981. function GetPlayerFromName( playerName )
  1982. {
  1983.     var objPlayer;
  1984. =09
  1985. =09
  1986.     if ( (currentScene) && (currentScene.Players !=3Dnull) && ((objPlayer =
  1987. =3D currentScene.Players[playerName]) !=3D null) )                                                            =09
  1988.         return objPlayer;                    =09
  1989. =09
  1990.     var objScene;
  1991.     for ( sceneName in Scenes )                    =09
  1992.     {
  1993.         objScene =3D Scenes[sceneName];
  1994.         if ( objScene.Players !=3D null )
  1995.         {
  1996.             objPlayer =3D objScene.Players[playerName];
  1997.             if ( objPlayer !=3D null )
  1998.                 return objPlayer;                    =09
  1999.         }
  2000.     }=09
  2001.         =09
  2002.     return null;                                =09
  2003. }
  2004. function GetObjectTypeFromName( nameString )
  2005. {
  2006.     var type =3D nameString.substr(0,1);    =09
  2007.     if        ( type =3D=3D NAME_SCENE )        =09
  2008.         return OBJ_SCENE;
  2009.     else if    ( type =3D=3D NAME_PLAYER )        =09
  2010.         return OBJ_PLAYER;
  2011. }
  2012. function GetPlayerTypeFromName( nameString )
  2013. {
  2014.     var type =3D nameString.substr(1,1);    =09
  2015.     if        ( type =3D=3D PLAYER_NAME_IMAGE )    =09
  2016.         return PLAYER_IMAGE;
  2017.     else if    ( type =3D=3D PLAYER_NAME_DRAW )    =09
  2018.         return PLAYER_DRAW;
  2019.     else if    ( type =3D=3D PLAYER_NAME_TEXT )    =09
  2020.         return PLAYER_TEXT;
  2021. }
  2022. function resetGifAnimation()
  2023. {
  2024.     var temp =3D document.all["img1"].src;
  2025.     document.all["img1"].src =3D temp;
  2026. }
  2027. Project =3D new Project(50, 0, 0, 2, 1, 0, =
  2028. "http://home-publishing.com/SKU/V3Pub.asp");
  2029. Scenes =3D new Object();
  2030. Scenes.Sx1 =3D new Scene( 6 );
  2031. Scenes.Sx1.entryTrans =3D new Transition( 9, 1, 0, 0 );
  2032. Scenes.Sx1.Players =3D new Object();
  2033. Scenes.Sx1.Players.PI7 =3D new Player( -1, -1 );
  2034. Scenes.Sx1.Players.PI7.entryTrans =3D new Transition( 12, 2, 0, 0 );
  2035. Scenes.Sx1.Players.PT11 =3D new Player( 1, -1 );
  2036. Scenes.Sx1.Players.PT11.Bhv =3D new Array();
  2037. Scenes.Sx1.Players.PT11.Bhv[0] =3D new Paths( 0, 0 );
  2038. Scenes.Sx1.Players.PT11.Bhv[0][0] =3D new Point( 425, 370, 2 );
  2039. Scenes.Sx1.Players.PT11.Bhv[0][1] =3D new Point( 425, 98, 2 );
  2040. Scenes.Sx1.Players.PT11.Bhv[0][2] =3D new Point( 425, 98, 2 );
  2041.  
  2042. </SCRIPT>
  2043.  </BODY></HTML>
  2044.  
  2045. ------=_NextPart_001_0EA0_01BDBE4D.BB06B4A0--
  2046.  
  2047. ------=_NextPart_000_0E9F_01BDBE4D.BB06B4A0
  2048. Content-Type: image/gif
  2049. Content-Transfer-Encoding: base64
  2050. Content-ID: <0e9901bdbe88$6716d060$d55d389d@scottst2.dns.microsoft.com>
  2051. X-Content-Source: C:\TEMP\IMG4CD.GIF
  2052.  
  2053. R0lGODlhOwItAff/AP39/f///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2054. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2055. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2056. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2057. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2058. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2059. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2060. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2061. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2062. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2063. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2064. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2065. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  2066. AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP39/SH5BAEBAP8ALAAAAAA7Ai0B
  2067. QAjSAAMIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEMm/CeypMmTKFOqXMmypcuX
  2068. MGMOJCmzps2bOHPq3Mmzp0uaPoMKHUq0qNGjSBUCTcq0qdOnUKNKnTm1qtWrWLNqxbh0q9evYMOK
  2069. Ddp1rNmzaNOqtVh2rdu3cON+bSu3rt27eH3Szcu3r9+/IPcCHky4sGGDgg8rXsw4buLGkCNL1vp4
  2070. suXLmI1Wzsy5s+eYmz+LHk3aY+jSqFOrbnh6tevXqlvDnk2bs+zauHMzbb6tu7dvv7x/Cx8ONzjx
  2071. 48jFGk/OvLnV5c6jS08Kfbr16z2rY9/OHXT37+CLag9PvjzH8ebTq5eIfr379wjbw58PXz79++nt
  2072. 498PXj///9j5B+CA0QlI4IHIGYjggr8pyOCDuDkI4YSvSUjhhahoWYjhhp9pyOGHmHkI4oiRiUji
  2073. iYqZiOKKg6nI4ot8uQjjjHXJSOONbtmI445n6cjjj2D5COSQWQlJ5JFTGYnkkk4pyeSTRzkJ5ZRC
  2074. SUnllTtZieWWNmnJ5ZcveQnmmCqJSeaZJZmJ5pp4prHpZpBvxkmZnHQ+V+edUamJ554j8elnlH8G
  2075. OpSegvpJaKF7HoronYouSmejjsb5z6SUVmrppZhmqummnHbq6aeghirqqKSWauqpqKaq6qqsturq
  2076. q7DGKiunkdbqna24sgRprmfuyuuYvv76ZbDCbklssVcei+yUTsou+2Szzi4JbbRHTkvtkNZe+2O2
  2077. 2u7Ibbc3fgvujOKO+2K55q6IbronrsvuiO6++2G88m5Ib70X3ovvhPru+2C//i4IcMAHDkzwgAYf
  2078. /Ehfwgrvx3DD9z0M8XwST/xexRavh3HG+XHs7MYekwdyyP2RXOzIJnOHcsoBsszryi5PB3PMBdJs
  2079. 68w2M4dzzgny7OjOPg8HdNBGDRJd6NBG64Z00hEy/efSTs8GddQVUp2o1XhOjXVqWm9dWtdejwZ2
  2080. 2B2SLanZb46NdmZqr31Z225PBnfcJdLdq91kzo33YkR6731Y334XBnjgLRJurOFYDo54X4ovnlfj
  2081. jt8FeeQ1Uv6s5UxOjvlbmm++VueepwV66D2Sjq3pQI6Oeliqrz6X697CjjZj67IXWTuNtN9up+7n
  2082. 8t677+oCH7zw7RJfvPHwIp+88vMy37zz9kIfvfT5Ul+99fxin732/3I43733AoMfvvgFk1+++Qij
  2083. n776C7PfvvsOwx+//BHTX7/9FOOfv/4X89+//xoDYAAF2DECmid3BjxNCQITmCYGisyB4VkgBD8i
  2084. wQl2pIIW3AgGM5iRDXLwIh78YEVCKMKJkLCEETkhCh+iwhWyxoU1g2FzWijDPtUwOTS8IWJ02DMe
  2085. EieHPhQ6CBCDOEQfFpGHR9RhEm+4xBo2UYZPhGEUXTjFFVYRhVcsYRZFuMUPdpGDX8xgGC04xgmW
  2086. EYJndGAaGTq4xgS20YBvJGAcBThHANbRf3fkXx71t0f89dF+f6RfIOU3SPgV0n2HZF8i1bdI9DXS
  2087. fI8kXyTFN0nwOlXSe5fkXia1t0nsddJ6n6ReKKU3SuiV0nmnZF4qlbdK5LXSeK8kXiyFN0vg1dJ3
  2088. t+RdLnW3y9v1snYWv5RdMGE3TNcVc3XHRF0yTbdM0v0jIAA7
  2089.  
  2090. ------=_NextPart_000_0E9F_01BDBE4D.BB06B4A0
  2091. Content-Type: image/gif
  2092. Content-Transfer-Encoding: 7bit
  2093. Content-ID: <045b01bd6a3b$54e2b400$e0dd389d@a-markpu.dns.microsoft.com>
  2094. X-Content-Source: X:\v3Contnt\clipmed\animatn\b140_149\Bd14069_.gif
  2095. X-Global-Moniker: :HALLMARK\MAIN\bd14069_.gif
  2096.  
  2097.  
  2098. ------=_NextPart_000_0E9F_01BDBE4D.BB06B4A0
  2099. Content-Type: application/x-font
  2100. Content-Transfer-Encoding: 7bit
  2101. Content-ID: <0e9d01bdbe88$675008d0$d55d389d@scottst2.dns.microsoft.com>
  2102. X-Content-Source: Maiandra GD.eot
  2103.  
  2104.  
  2105. ------=_NextPart_000_0E9F_01BDBE4D.BB06B4A0--
  2106.