home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Microsoft Graphics Studio Greetings
/
Microsoft_Graphics_Studio_Greetings_Microsoft_1998.iso
/
mhp
/
template
/
mgd2051.mtu
/
mgd2051.MTU
Wrap
Text File
|
1998-08-12
|
64KB
|
2,106 lines
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_NextPart_000_0E9F_01BDBE4D.BB06B4A0";
type="multipart/alternative"
X-MMEditor: 00.00.02.1994,MinSave
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
This is a multi-part message in MIME format.
------=_NextPart_000_0E9F_01BDBE4D.BB06B4A0
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_0EA0_01BDBE4D.BB06B4A0"
------=_NextPart_001_0EA0_01BDBE4D.BB06B4A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
To wish you luck,
Guy,
just our little version of "The Wave"!
------=_NextPart_001_0EA0_01BDBE4D.BB06B4A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Location:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MMEditor Version 00.00.02.1994,MinSave" =
name=3DGENERATOR>
<STYLE id=3DDocStyleSheet>.PreCreateRule {
POSITION: absolute
}
.DocClientData {
LEFT: 0px; OVERFLOW: hidden; POSITION: absolute; TOP: 20px; VISIBILITY: =
visible
}
.RuntimeScriptDiv {
LEFT: -3200px; POSITION: absolute; TOP: -3200px; VISIBILITY: hidden
}
.SoundElementsDiv {
LEFT: -3200px; POSITION: absolute; TOP: -3200px; VISIBILITY: hidden
}
.Sx1 {
HEIGHT: 301px; LEFT: 10px; OVERFLOW: hidden; POSITION: absolute; TOP: =
30px; VISIBILITY: hidden; WIDTH: 571px; Z-INDEX: 100
}
.PD2 {
BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
0px; HEIGHT: 300px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: =
inherit; WIDTH: 570px; Z-INDEX: 50
}
.Ix3 {
BACKGROUND-COLOR: #ffffff; BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; =
BORDER-RIGHT: 0px; BORDER-TOP: 0px; LEFT: 0px; POSITION: absolute; TOP: =
0px; VISIBILITY: inherit; Z-INDEX: 51
}
.PI7 {
BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
0px; HEIGHT: 236px; LEFT: 5px; POSITION: absolute; TOP: 59px; =
VISIBILITY: hidden; WIDTH: 275px; Z-INDEX: 100
}
.Ix8 {
BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
0px; LEFT: 0px; POSITION: absolute; TOP: 0px; VISIBILITY: inherit; =
Z-INDEX: 101
}
.PT11 {
BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-RIGHT: 0px; BORDER-TOP: =
0px; HEIGHT: 139px; LEFT: 281px; PADDING-BOTTOM: 9px; PADDING-LEFT: 9px; =
PADDING-RIGHT: 9px; PADDING-TOP: 9px; POSITION: absolute; TEXT-ALIGN: =
center; TOP: 29px; VISIBILITY: hidden; WIDTH: 288px; Z-INDEX: 110
}
DIV {
FONT-FAMILY: Times New Roman
}
</STYLE>
<STYLE id=3DFontStyleSheet>@font-face {
font-family: Maiandra GD;
src:url(cid:0e9d01bdbe88$675008d0$d55d389d@scottst2.dns.microsoft.com);
}
</STYLE>
</HEAD>
<BODY background=3D"" bgColor=3D#c0c0c0 leftMargin=3D0 topMargin=3D0>
<DIV class=3DPreCreateRule id=3DNavigationButtons style=3D"VISIBILITY: =
hidden">
<FORM name=3DNavigationButtonsForm><INPUT name=3DStart type=3Dbutton =
value=3D"Play >/Replay >"><INPUT name=3DBackward type=3Dbutton =
value=3D"Back <<"><INPUT name=3DForward type=3Dbutton value=3D"Forward =
>>"><INPUT name=3DWebpage type=3Dbutton value=3DAbout...><INPUT =
name=3DSceneStatus type=3Dbutton value=3D" Loading... "></FORM></DIV>=20
<DIV class=3DDocClientData id=3DDocClientData Themes =3D=20
" <AR|ARS1| =
<TT|TTa5|TTb0|TTc30844|TTd5|TTe0|TTf30845|TTg5|TTh0|TTi30847|>|>|"=20
lclJ =3D null lclFrench =3D null lclZ =3D null lclEnglish =3D 1 skuOE =
=3D null skuGWDelux=20
=3D 1 skuGW =3D 1 KeyWords =3D null OutputStyle =3D=20
"simple greeting (one to two scenes)" ProjectType =3D "multimedia =
greeting"=20
AOPTable =3D=20
" <AR|ARS1| <AP|APa{guid =
{A3649D6E-5058-11CF-9E27-00AA00BBB8AF}}|APbGreetings Workshop|>|>|"=20
GW_NextID =3D 12>
<DIV class=3DSx1 id=3DSx1 PageEffect =3D=20
" <PE| <TR|TRa1|TRb1|TRc2|TRd1|TRe2|>|PEa1|PEb6|>|" SoundPaths =3D " =
<AR|ARS0|>|"=20
PageName =3D PD2>
<DIV class=3DPD2 id=3DPD2 PolyPath =3D=20
1,6,0.286865,137.319,0,300,570,300,570,0,0.286865,0,0.286865,137.319,2,16=
777215,0,=20
NoBackground =3D 1><IMG class=3DIx3 id=3DIx3 name=3DIx3=20
src=3D"cid:0e9901bdbe88$6716d060$d55d389d@scottst2.dns.microsoft.com"></D=
IV>=20
<DIV class=3DPI7 id=3DPI7 SoundPaths =3D " <AR|ARS0|>|" ImageType =3D 1 =
ClipPathInfo =3D=20
" =
<CP|CPa8A80000090300000000000000C000000000000642000000030300000000000000C=
00000000000064000001000000A38414C4C4D41425B4C5D41494E4C500FFFFDAED0000000=
0000000000000000000000000000000000000000008B9D1172F201D112B4400AA007AB4FF=
C00000002600460013004300030063009300F500E20076009600660000000000000000000=
00000000000000036F6E64756E647D322D4D454469647F627026556273796F6E6020303E2=
0303E20303E213836323C2350303E20303E20313E2139373832202E616D656D37454E4542=
51445F425E3D0A0C3354595C454029646D344F636354797C6563586565647E3E205275634=
27561647562557C65602B7D0A09005F435944594F4E4A302162637F6C6574756D0A0D7D0A=
0E244F63634C69656E6474416471602B7D0A090C4546445A302030787B302F465542564C4=
F475A3028696464656E6B30205F435944594F4E4A302162637F6C6574756B30245F405A30=
223030787B302659435942494C4944595A3026796379626C656D0A0D7D0A0E22557E64796=
D65635362796074744966702B7D0A090C4546445A302D2332303030787B30205F43594459=
4F4E4A302162637F6C6574756B30245F405A302D2332303030787B302659435942494C494=
4595A3028696464656E6D0A0D7D0A0E235F657E64654C656D656E6473744966702B7D0A09=
0C4546445A302D2332303030787B30205F435944594F4E4A302162637F6C6574756B30245=
F405A302D2332303030787B302659435942494C4944595A3028696464656E6D0A0D7D0A0E=
235871302B7D0A090845494748445A3023303130787B302C4546445A30213030787B302F4=
65542564C4F475A3028696464656E6B30205F435944594F4E4A302162637F6C6574756B30=
245F405A30233030787B302659435942494C4944595A3028696464656E6B3027594444584=
A3025373130787B302A5D294E4445485A302130303D0A0D7D0A0E205442302B7D0A09024F=
425445425D224F44545F4D4A302030787B30224F425445425D2C4546445A302030787B302=
24F425445425D22594748445A302030787B30224F425445425D245F405A302030787B3028=
45494748445A3023303030787B302C4546445A302030787B30205F435944594F4E4A30216=
2637F6C6574756B30245F405A302030787B302659435942494C4944595A30296E68656279=
647B3027594444584A3025373030787B302A5D294E4445485A3025303D0A0D7D0A0E29487=
3302B7D0A090241434B47425F455E444D234F4C4F425A30232666666666666B30224F4254=
45425D224F44545F4D4A302030787B30224F425445425D2C4546445A302030787B30224F4=
25445425D22594748445A302030787B30224F425445425D245F405A302030787B302C4546=
445A302030787B30205F435944594F4E4A302162637F6C6574756B30245F405A302030787=
B302659435942494C4944595A30296E68656279647B302A5D294E4445485A3025313D0A0D=
7D0A0E205947302B7D0A09024F425445425D224F44545F4D4A302030787B30224F4254454=
25D2C4546445A302030787B30224F425445425D22594748445A302030787B30224F425445=
425D245F405A302030787B302845494748445A3022333630787B302C4546445A302530787=
B30205F435944594F4E4A302162637F6C6574756B30245F405A30253930787B3026594359=
42494C4944595A3028696464656E6B3027594444584A3022373530787B302A5D294E44454=
85A302130303D0A0D7D0A0E294878302B7D0A09024F425445425D224F44545F4D4A302030=
787B30224F425445425D2C4546445A302030787B30224F425445425D22594748445A30203=
0787B30224F425445425D245F405A302030787B302C4546445A302030787B30205F435944=
594F4E4A302162637F6C6574756B30245F405A302030787B302659435942494C4944595A3=
0296E68656279647B302A5D294E4445485A302130313D0A0D7D0A0E20545131302B7D0A09=
024F425445425D224F44545F4D4A302030787B30224F425445425D2C4546445A302030787=
B30224F425445425D22594748445A302030787B30224F425445425D245F405A302030787B=
302845494748445A3021333930787B302C4546445A3022383130787B3020514444494E474=
D224F44545F4D4A302930787B3020514444494E474D2C4546445A302930787B3020514444=
494E474D22594748445A302930787B3020514444494E474D245F405A302930787B30205F4=
35944594F4E4A302162637F6C6574756B30245548545D214C49474E4A3023656E6475627B=
30245F405A30223930787B302659435942494C4944595A3028696464656E6B30275944445=
84A3022383830787B302A5D294E4445485A302131303D0A0D7D0A0C3F2354595C454E3D0A=
0D0A0C3354595C454029646D364F6E647354797C6563586565647E30466F6E647D2661636=
5602B7D0A09066F6E647D26616D696C697A302D4169616E6462716027444B3D0A09037273=
6A35727C682369646A3133363730313264626469393421626934643166303425623534633=
8393460416D2D61627B6075713E246E637E2D6963627F637F66647E236F6D692B3D0A0D7D=
0A0C3F2354595C454E3D0A0D0A0C3F284541444E3D0A0C324F4449502261636B67627F657=
E646D3222202267634F6C6F627D33236033603360302C6566647D416277696E6D3030247F=
607D416277696E6D303E3D0A0C34494650236C6163737D30527563427561647562557C656=
029646D3E416679676164796F6E624574747F6E63702374797C656D322659435942494C49=
44595A3028696464656E622E3D0A0C364F425D402E616D656D3E416679676164796F6E624=
574747F6E63764F627D6E3C394E405554502E616D656D335471627470247970756D326574=
747F6E6026716C65756D32205C616970202E3F2255607C6169702E322E3C394E405554502=
E616D656D305165737560247970756D326574747F6E6026716C65756D3220516573756020=
2C7C7F234F6E64796E6575622E3C394E405554502E616D656D3241636B677162746|CPbX:=
\v3Contnt\clipmed\animatn\b140_149\Bd14069_.gif|CPccid:045b01bd6a3b$54e2b=
400$e0dd389d@a-markpu.dns.microsoft.com|CPdBd14069_.gif|>|"=20
TravelEffectOptions =3D " <TE|TEa0|TEb2|TEc0|TEd0|>|" EntranceEffect =3D =
" <EE| =
<TR|TRa7|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc0|EEd100|EEf0|EEg1|>|"=20
ExitEffect =3D=20
" <EE| =
<TR|TRa0|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc100|EEd0|EEf0|EEg0|>|"=20
ButtonEvent =3D=20
" <BE|BEa0|BEb| <CP|CPaNIL|CPb|CPc|CPd|>| <CP|CPaNIL|CPb|CPc|CPd|>| =
<CP|CPaNIL|CPb|CPc|CPd|>|>|"><IMG=20
class=3DIx8 height=3D236 id=3DIx8 name=3DIx8=20
src=3D"cid:045b01bd6a3b$54e2b400$e0dd389d@a-markpu.dns.microsoft.com"=20
width=3D275></DIV>=20
<DIV class=3DPT11 id=3DPT11 SoundPaths =3D " <AR|ARS0|>|" =
TravelEffectOptions =3D=20
" <TE|TEa0|TEb2|TEc0|TEd0|>|" EntranceEffect =3D=20
" <EE| =
<TR|TRa0|TRb2|TRc0|TRd1|TRe2|>|EEa1|EEb0|EEc0|EEd100|EEf1|EEg2|>|"=20
ExitEffect =3D=20
" <EE| =
<TR|TRa0|TRb2|TRc2|TRd1|TRe2|>|EEa0|EEb0|EEc100|EEd0|EEf0|EEg0|>|"=20
ButtonEvent =3D=20
" <BE|BEa0|BEc| <CP|CPaNIL|CPb|CPc|CPd|>| <CP|CPaNIL|CPb|CPc|CPd|>| =
<CP|CPaNIL|CPb|CPc|CPd|>|>|"=20
AnimationPath =3D=20
" <AR|ARS3| <PT|PTa425|PTb370|>| <PT|PTa425|PTb98|>| =
<PT|PTa425|PTb98|>|>|"><FONT=20
color=3D#000000 face=3D"Maiandra GD" size=3D5><STRONG>To wish you =
luck,<BR> Guy,=20
<BR>just our little version of "The=20
Wave"!</STRONG></FONT></DIV></DIV></DIV> =20
<DIV class=3DSoundElementsDiv id=3DSoundElementsDiv> </DIV>
<SCRIPT id=3DRuntimeScript language=3DJavaScript>
if ( navigator.appVersion.substring(0,1) < 4 )
alert("Sorry but your Web browser needs to be updated. You must have at =
least a version 4.0 browser to view this project.");
if ( navigator.appName !=3D "Netscape" ) =09
{ =09
document.body.background =3D ""; =09
for ( var ii=3D0; ii<document.all.length; ii++ ) =09
if ((document.all.item(ii).id).indexOf("Sx") !=3D -1) =09
document.all.item(ii).style.filter=3D"revealTrans(duration=3D0, =
transition=3D0)"; =09
} =09
var OBJ_SCENE =3D 0; =09
var OBJ_PLAYER =3D 1; =09
var PLAYER_IMAGE =3D 0; =09
var PLAYER_TEXT =3D 1; =09
var PLAYER_DRAW =3D 2; =09
var NAME_SCENE =3D "S" =09
var NAME_PLAYER =3D "P" =09
var PLAYER_NAME_IMAGE =3D "I" =09
var PLAYER_NAME_TEXT =3D "T"
var PLAYER_NAME_DRAW =3D "D"
var IE_VISIBLE =3D "visible";
var IE_HIDDEN =3D "hidden";
var IE_INHERIT =3D "inherit";
var NAV_VISIBLE =3D "show";
var NAV_HIDDEN =3D "hide";
var NAV_INHERIT =3D "inherit";
var DEFAULT_TICK_RATE =3D 100; =09
var DEFAULT_SCENE_DURATION =3D 10000;=09
var DEFAULT_PLAYER_DELAY =3D 0; =09
var TMR_PROJ =3D 0; =09
var TMR_SCENE =3D 1; =09
var RR_NONE =3D 0; =09
var RR_PAGE_BUTTONS =3D 1; =09
var RR_FULL_RUNTIME =3D 2; =09
var DUR_FOREVER =3D -1; =09
var DELAY_NONE =3D 0; =09
var DELAY_UNTIL_TRANSITION =3D -1; =09
var DELAY_UNTIL_TRIGGER =3D -2; =09
var DUR_UNTIL_DONE =3D -1; =09
var TT_ALL_MOUSE_EVENTS =3D 0; =09
var TT_BUTTONDOWN =3D 1; =09
var TT_BUTTONUP =3D 2; =09
var TT_MOUSEOVER =3D 3; =09
var TT_MOUSEOUT =3D 4; =09
var TB_PAGE_TURNER =3D -1; =09
var TB_START_PLAYER =3D -2; =09
var NULL_TRANSITION =3D -1;
var TEXT_FLYIN =3D 101;
var TEXT_TYPEWRITER =3D 102;
var FLYIN_TOP =3D 0;
var FLYIN_BOTTOM =3D 1;
var FLYIN_LEFT =3D 2;
var FLYIN_RIGHT =3D 3;
var FLYIN_ROTATE =3D 4;
var FLYIN_BY_LETTER =3D 1;
var FLYIN_BY_WORD =3D 2;
var FLYIN_BY_LINE =3D 3;
var FLYIN_PER_TICK =3D new Array (200, 160, 120, 80, 40); =09
var TRANSITION_RATES =3D new Array(1,2,3,4,5); =09
var PS_UNINITIALIZED =3D 0;
var PS_INITIALIZED =3D 1;
var PS_RUNNING =3D 2;
var PS_PAUSED =3D 3;
var PS_COMPLETE =3D 4;
var sceneArray =3D new Array();=09
var currentScene =3D null; =09
var nScenes =3D 0; =09
var stProjState =3D PS_UNINITIALIZED;=09
var stButtons =3D false; =09
var stNoInput =3D 0; =09
var strPause =3D new Array( "" );
var strPlay =3D new Array( "" );
var formStatus =3D null;
var tickTimer =3D null; =09
var sys =3D navigator.appName; =09
var vers =3D navigator.appVersion.substring(0,1); =09
var os =3D navigator.appVersion.indexOf("NT") >=3D 0 ? "NT" : "95";=09
var platform =3D navigator.platform; =09
window.onload =3D PreSetup;
window.onerror =3D Error;
function Error()
{
alert("There has been an unidentified error in this file's script. You =
may be able to fix this problem by refreshing your browser.");
return true;
}
function Project( tickRate, startScene, stopScene, rtReq, autoStart, =
delay, webpage )
{
this.tickRate =3D tickRate;
this.startScene =3D startScene;
this.stopScene =3D stopScene;
this.rtReq =3D rtReq;
this.autoStart =3D autoStart;
this.delay =3D delay;
this.webpage =3D webpage;
}
function PreSetup()
{
if ( (Project.delay !=3D null) && (Project.delay !=3D 0) ) =09
{
setTimeout( "Setup();", Project.delay*1000 );=20
return;
}
=09
Setup();
}
function Setup()=20
{ =20
stNoInput++; =09
if ( vers < 4 ) return; =09
if ( sys =3D=3D "Netscape" ) =09
{
document.all =3D new Array; =09
Extract(document); =09
=09
document.body =3D new Object;
document.body.clientWidth =3D window.innerWidth;
document.body.clientHeight =3D window.innerHeight;
document.body.scrollTop =3D window.pageXOffset;=20
document.body.scrollLeft =3D window.pageYOffset;
}
stButtons =3D SetupButtons(); =09
ProjectInitialize(); =09
stNoInput--; =09
if ( (stButtons =3D=3D false) || (Project.autoStart =3D=3D true) )=09
Start(); =09
}
function ProjectInitialize()
{
=09
tickTimer =3D new Timer();
=09
=09
InitializeScenes();
=09
tickTimer.StartTicking(); =09
=09
if ( Project.startScene =3D=3D null ) =09
Project.startScene =3D 0; =09
stProjState =3D PS_INITIALIZED; =09
=09
}
function ProjectStart( startScene )
{
stProjState =3D PS_RUNNING;
if ( startScene !=3D null )
ChangeScene( startScene );
else
ChangeScene( Project.startScene );
}
function ProjectComplete()
{
if ( Project.rtReq =3D=3D RR_PAGE_BUTTONS ) =09
return; =09
ProjectShutdown();
StatusChange(); =09
}
function ProjectShutdown()
{
KillTimer(); =09
StopEverythingOnScenes( false );
currentScene =3D null;
stProjState =3D PS_COMPLETE; =09
}
function Extract( obj )
{
=09
=09
for (var intLayer =3D 0; intLayer< obj.layers.length; intLayer++)=09
{
var el =3D obj.layers[intLayer]; =09
document.all[el.id] =3D new Object =09
var newEl =3D document.all[el.id]; =09
=09
newEl.id =3D el.id; =09
newEl.style =3D new Object; =09
newEl.style.pixelTop =3D parseInt(el.top);
newEl.style.pixelLeft =3D parseInt(el.left);
if (null!=3Del.clip)=20
{
newEl.offsetWidth =3D el.clip.width; =09
newEl.offsetHeight =3D el.clip.height
}
=09
if ( el.visibility =3D=3D NAV_HIDDEN )
newEl.style.visibility =3D IE_HIDDEN;
else if ( el.visibility =3D=3D NAV_VISIBLE )
newEl.style.visibility =3D IE_VISIBLE;
else if ( el.visibility =3D=3D NAV_INHERIT )
newEl.style.visibility =3D IE_INHERIT;
else
newEl.style.visibility =3D "";
=09
newEl.style.zIndex =3D el.zIndex;
newEl.style.backgroundColor =3D el.bgColor;
newEl.style.backgroundImage =3D "url("+el.background+")";
newEl.NSLayer =3D el; =09
=09
=09
=09
for (var intLoop =3D 0; intLoop< el.document.images.length; intLoop++)
{
var image =3D el.document.images[intLoop] =09
var imageName =3D image.name; =09
if ( imageName =3D=3D null ) =09
continue; =09
=09
document.all[imageName] =3D image; =09
document.images[imageName] =3D image; =09
}
=09
for (var intLoop =3D 0; intLoop< el.document.forms.length; intLoop++)=20
{
var form =3D el.document.forms[intLoop]; =09
var formName =3D form.name; =09
if ( formName =3D=3D null )
continue;
document.all[formName] =3D form; =09
document.forms[formName] =3D form; =09
=09
for ( var innerLoop =3D 0; innerLoop < form.elements.length; =
innerLoop++)
{
var element =3D form.elements[innerLoop]=09
var elementName =3D element.name;
if ( elementName =3D=3D null ) =09
continue;
document.all[elementName] =3D element;=09
}
}
if ( el.layers.length > 0 ) =09
Extract(el) =09
}
}
function Scene( duration )
{
this.duration =3D duration;
}
function InitializeScenes()
{
var objScene; =09
var sceneNumber =3D 0; =09
=09
for ( sceneName in Scenes )
{
objScene =3D Scenes[sceneName]; =09
objScene.number =3D parseInt(sceneNumber); =09
objScene.name =3D sceneName; =09
objScene.HTML =3D document.all[sceneName]; =09
SetVisibility( objScene.HTML, IE_HIDDEN );=09
if ( Project.rtReq =3D=3D RR_PAGE_BUTTONS ) =09
objScene.duration =3D DUR_FOREVER;
InitializePlayers( objScene ); =09
=09
if ( objScene.entryTrans =3D=3D null )
{
objScene.entryTrans =3D new Object();
objScene.entryTrans.type =3D NULL_TRANSITION;
}
=09
if ( objScene.Bhv !=3D null )
for ( var bhvIdx=3D0; (bhv=3DobjScene.Bhv[bhvIdx]) !=3D null; =
bhvIdx++ )=09
bhv.Initialize( objScene, bhv);
objScene.numBhv =3D bhvIdx; =09
sceneArray[sceneNumber++] =3D objScene;=09
}
nScenes =3D sceneNumber; =09
}
function StopEverythingOnScenes( fPause )
{
var objScene; =09
for ( sceneName in Scenes )
{
objScene =3D Scenes[sceneName]; =09
=09
=09
if ( objScene.Bhv !=3D null )
for ( var bhvIdx=3D0; (bhv=3DobjScene.Bhv[bhvIdx]) !=3D null; =
bhvIdx++ )=09
bhv.StopEverything( bhv, fPause );
StopEverythingOnPlayers( objScene, fPause ); =09
}
return;
}
function ChangeScene( nextSceneNumber )
{
var previousScene =3D currentScene; =09
StopSceneTimers(); =09
currentScene =3D GetSceneFromNumber( nextSceneNumber );=09
currentScene.previousScene =3D previousScene; =09
if ( currentScene.duration =3D=3D null ) =09
currentScene.duration =3D DEFAULT_SCENE_DURATION; =09
=09
if ( currentScene.Bhv !=3D null )
for ( var bhvIdx=3D0; bhvIdx<currentScene.numBhv; bhvIdx++ )=09
{
var bhv =3D currentScene.Bhv[bhvIdx]
if ( bhv =3D=3D null) =09
continue;
var delay =3D bhv.delay
if ( (delay =3D=3D null) || (delay =3D=3D DELAY_NONE) )=09
bhv.Start( bhv ); =09
else if ( delay > 0 ) =09
StartOneShotTimer( bhv, bhv.delay, bhv.Start, TMR_SCENE );
}
StartScenePlayers( currentScene ); =09
StartTransition( currentScene, currentScene.entryTrans, IE_VISIBLE, =
SceneTransitionDone );=09
=09
if ( currentScene.duration !=3D DUR_FOREVER ) =09
StartOneShotTimer( currentScene, currentScene.duration, SceneExit, =
TMR_SCENE );
StatusChange(); =09
return;
}
function SceneTransitionDone( objScene )
{
=09
=09
if ( currentScene.previousScene !=3D null )
SetVisibility( currentScene.previousScene.HTML, IE_HIDDEN );
=09
if ( currentScene.Bhv !=3D null )
for ( bhvIdx=3D0; bhvIdx<currentScene.numBhv; bhvIdx++ )=09
{
var bhv =3D currentScene.Bhv[bhvIdx]
if ( bhv =3D=3D null) =09
continue;
if ( bhv.delay =3D=3D DELAY_UNTIL_TRANSITION )=09
bhv.Start( bhv ); =09
}
=09
StartScenePlayersAfterTransition( currentScene );=09
}
function SceneExit( thisScene, nextScene )
{
var nextSceneNumber =3D nextScene =3D=3D null ? currentScene.number+1 : =
nextScene.number;
var finalScene =3D (nextSceneNumber <=3D Project.stopScene) ? false : =
true;
=09
=09
=09
for ( playerName in currentScene.Players )
{
objPlayer =3D currentScene.Players[playerName]; =09
PlayerExitTransitionDone( objPlayer, finalScene ); =09
}
=09
if ( currentScene.Bhv !=3D null )
for ( bhvIdx=3D0; bhvIdx<currentScene.numBhv; bhvIdx++ )=09
{
var bhv =3D currentScene.Bhv[bhvIdx]
if ( bhv =3D=3D null) =09
continue;
if ( bhv.duration =3D=3D DUR_UNTIL_DONE ) =09
bhv.Stop( bhv ); =09
}
=09
=09
if ( finalScene =3D=3D false ) =09
ChangeScene( nextSceneNumber ) =09
else
ProjectComplete() =09
=09
}
function Player( delay, duration )
{
this.delay =3D delay;
this.duration =3D duration;
}
function InitializePlayers( objScene )
{
var objPlayer; =09
var playerNumber =3D 0; =09
for ( playerName in objScene.Players )
{
objPlayer =3D objScene.Players[playerName]; =09
objPlayer.number =3D playerNumber; =09
objPlayer.name =3D playerName; =09
objPlayer.HTML =3D document.all[playerName]; =09
SetVisibility( objPlayer.HTML, IE_HIDDEN ); =09
objPlayer.position =3D new Position(objPlayer); =09
=09
if ( objPlayer.delay =3D=3D null ) =09
objPlayer.delay =3D DEFAULT_PLAYER_DELAY; =09
=09
=09
if ( objPlayer.entryTrans =3D=3D null )
{
objPlayer.entryTrans =3D new Object();
objPlayer.entryTrans.type =3D NULL_TRANSITION;
}=20
=09
else if ((objPlayer.entryTrans !=3D null) && =09
(GetPlayerTypeFromName(objPlayer.name) =3D=3D PLAYER_TEXT))
{
if ( (objPlayer.entryTrans.type =3D=3D TEXT_FLYIN) || =
(objPlayer.entryTrans.type =3D=3D TEXT_TYPEWRITER) )
if ( InitializeTextFlyin( objPlayer ) =3D=3D false )
objPlayer.entryTrans.type =3D null; =09
}
=09
if ( objPlayer.exitTrans =3D=3D null )
{
objPlayer.exitTrans =3D new Object();
objPlayer.exitTrans.type =3D NULL_TRANSITION;
}
=09
if ( objPlayer.Bhv !=3D null )
{
for ( bhvIdx=3D0; (bhv=3DobjPlayer.Bhv[bhvIdx]) !=3D null; bhvIdx++ ) =
bhv.Initialize( objPlayer, bhv);
objPlayer.numBhv =3D bhvIdx; =09
}
else
objPlayer.numBhv =3D 0;
playerNumber ++; =09
}=09
}
function StopEverythingOnPlayers( objScene, fPause )
{
var objPlayer; =09
for ( playerName in objScene.Players )
{
objPlayer =3D objScene.Players[playerName]; =09
=09
=09
if ( objPlayer.Bhv !=3D null )
{
for ( bhvIdx=3D0; (bhv=3DobjPlayer.Bhv[bhvIdx]) !=3D null; bhvIdx++ ) =
bhv.StopEverything( bhv, fPause );
}
DisableTrigger( objPlayer ); =09
}=09
return;
}
function StartScenePlayers( objScene )
{
=09
for ( playerName in objScene.Players )
{
objPlayer =3D objScene.Players[playerName]; =09
=09
=09
=09
if ( objPlayer.delay =3D=3D DELAY_NONE ) =09
StartPlayer( objPlayer ) =09
else if ( objPlayer.delay > 0 ) =09
StartOneShotTimer( objPlayer, objPlayer.delay, StartPlayer, =
TMR_SCENE);
}
}
function StartScenePlayersAfterTransition( objScene )
{
=09
for ( playerName in objScene.Players )
{
objPlayer =3D objScene.Players[playerName]; =09
if ( objPlayer.delay =3D=3D DELAY_UNTIL_TRANSITION )=09
StartPlayer( objPlayer ) =09
}
}
function StartPlayer( objPlayer )
{
=09
if ( objPlayer.Bhv !=3D null )
for ( bhvIdx=3D0; bhvIdx<objPlayer.numBhv; bhvIdx++ )=09
{
var bhv =3D objPlayer.Bhv[bhvIdx]
if ( bhv =3D=3D null) =09
continue;
var delay =3D bhv.delay
if ( (delay =3D=3D null) || (delay =3D=3D DELAY_NONE) )=09
bhv.Start( bhv ); =09
else if ( delay > 0 ) =09
StartOneShotTimer( bhv, bhv.delay, bhv.Start, TMR_SCENE );
}
=09
StartTransition( objPlayer, objPlayer.entryTrans, IE_VISIBLE, =
PlayerEntryTransitionDone );
=09
=09
if ( objPlayer.duration > 0 )
StartOneShotTimer( objPlayer, objPlayer.duration, PlayerExit, =
TMR_SCENE ); =09
}
function PlayerEntryTransitionDone( objPlayer )
{
=09
if ( objPlayer.Bhv !=3D null )
for ( bhvIdx=3D0; bhvIdx<objPlayer.numBhv; bhvIdx++ )=09
{
var bhv =3D objPlayer.Bhv[bhvIdx]
if ( bhv =3D=3D null) =09
continue;
if ( bhv.delay =3D=3D DELAY_UNTIL_TRANSITION )=09
bhv.Start( bhv ); =09
}
=09
if ( objPlayer.Triggers !=3D null )
EnableTrigger( objPlayer );
}
function PlayerExit( objPlayer )
{
=09
StartTransition( objPlayer, objPlayer.exitTrans, IE_HIDDEN, =
PlayerExitTransitionDone );
}
function PlayerExitTransitionDone( objPlayer, finalScene )
{
=09
if ( objPlayer.Bhv !=3D null )
for ( bhvIdx=3D0; bhvIdx<objPlayer.numBhv; bhvIdx++ )=09
{
var bhv =3D objPlayer.Bhv[bhvIdx]
if ( bhv =3D=3D null) =09
continue;
if ( bhv.duration =3D=3D DUR_UNTIL_DONE ) =09
bhv.Stop( bhv ); =09
}
=09
if ( (finalScene =3D=3D null) || (finalScene =3D=3D false) )
SetVisibility( objPlayer.HTML, IE_HIDDEN ); =09
=09
=09
=09
if ( (sys !=3D "Netscape") && (objPlayer.HTML.Preview !=3D null) )
SetVisibility( objPlayer.HTML, IE_VISIBLE );=20
return;
}
function Trigger( trigType, trigBhv, player, scene )
{
this.triggerType =3D trigType;
this.triggerBhv =3D trigBhv;
this.player =3D player;
this.nextSceneNum =3D scene;
}
function EnableTrigger( objPlayer )
{
if ( sys !=3D "Netscape" ) =09
{
objPlayer.HTML.style.cursor=3D"hand"; =09
for ( trx in objPlayer.Triggers ) =09
{
var trigger =3D objPlayer.Triggers[trx]; =09
if ( trigger.triggerType =3D=3D null )
trigger.triggerType =3D 0; =09
var tt =3D trigger.triggerType; =09
if ( tt =3D=3D TT_ALL_MOUSE_EVENTS ) =09
{
objPlayer.HTML.onmousedown =3D EventProcessor;
objPlayer.HTML.onmouseup =3D EventProcessor;=09
objPlayer.HTML.onmouseover =3D EventProcessor; =09
objPlayer.HTML.onmouseout =3D EventProcessor;
}
else if ( tt =3D=3D TT_BUTTONDOWN ) =09
objPlayer.HTML.onmousedown =3D EventProcessor;
else if ( tt =3D=3D TT_BUTTONUP ) =09
objPlayer.HTML.onmouseup =3D EventProcessor;
else if ( tt =3D=3D TT_MOUSEOVER ) =09
objPlayer.HTML.onmouseover =3D EventProcessor;
else if ( tt =3D=3D TT_MOUSEOUT ) =09
objPlayer.HTML.onmouseout =3D EventProcessor;
}
}
else =09
{
for ( trx in objPlayer.Triggers ) =09
{
var trigger =3D objPlayer.Triggers[trx];=09
if ( trigger.triggerType =3D=3D null )
trigger.triggerType =3D 0; =09
var tt =3D trigger.triggerType; =09
if ( tt=3D=3D 0 ) =09
{
objPlayer.HTML.NSLayer.captureEvents( Event.MOUSEUP | =
Event.MOUSEDOWN | Event.MOUSEOVER | Event.MOUSEOUT );
objPlayer.HTML.NSLayer.onMouseUp =3D EventProcessor;
objPlayer.HTML.NSLayer.onMouseDown =3D EventProcessor;
objPlayer.HTML.NSLayer.onMouseOver =3D EventProcessor;
objPlayer.HTML.NSLayer.onMouseOut =3D EventProcessor;
}
else if ( tt =3D=3D TT_BUTTONUP )
{
objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEUP);
objPlayer.HTML.NSLayer.onMouseUp =3D EventProcessor;
}
else if ( tt =3D=3D TT_BUTTONDOWN )
{
objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEDOWN);
objPlayer.HTML.NSLayer.onMouseDown =3D EventProcessor;
}
}
=09
}
}
function DisableTrigger( objPlayer )
{
if ( sys !=3D "Netscape" ) =09
{
objPlayer.HTML.onmousedown =3D null;
objPlayer.HTML.onmouseup =3D null;=09
objPlayer.HTML.onmouseover =3D null; =09
objPlayer.HTML.onmouseout =3D null;
}
else =09
objPlayer.HTML.NSLayer.releaseEvents(Event.MOUSEUP | Event.MOUSEDOWN | =
Event.MOUSEOVER | Event.MOUSEOUT );
}
function EventProcessor( e )
{
var trigger; =09
var type; =09
var button; =09
var eventType; =09
var objPlayer; =09
if ( (objPlayer =3D GetPlayerFromName(this.id)) =3D=3D null)=09
return;
if ( sys !=3D "Netscape" ) =09
{
type =3D event.type;
button =3D event.button;
}
else =09
{
type =3D e.type;
button =3D e.which;
}
=09
if (type =3D=3D "mousedown")
{
if ( button !=3D 1 ) =09
return;
eventType =3D TT_BUTTONDOWN;
if ( sys =3D=3D "Netscape" ) =09
{
objPlayer.HTML.NSLayer.releaseEvents(Event.MOUSEDOWN);
objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEDOWN);
}
}
else if (type =3D=3D "mouseup")
{
if ( button !=3D 1 ) =09
return;
eventType =3D TT_BUTTONUP;
if ( sys =3D=3D "Netscape" ) =09
{
objPlayer.HTML.NSLayer.releaseEvents(Event.MOUSEUP);
objPlayer.HTML.NSLayer.captureEvents(Event.MOUSEUP);
}
}
else if (type =3D=3D "mouseover")
{
eventType =3D TT_MOUSEOVER;
}
else if (type =3D=3D "mouseout")
{
eventType =3D TT_MOUSEOUT;
}
var triggerArray =3D objPlayer.Triggers; =09
var trigger; =09
=09
for ( var trx=3D0; (trigger=3DtriggerArray[trx]) !=3D null; trx++ )
{
if ( (trigger.triggerType =3D=3D 0) || (trigger.triggerType =3D=3D =
eventType) )
{
=09
=09
=09
if ( trigger.triggerBhv =3D=3D TB_PAGE_TURNER )
{
=09
=09
if ( (trigger.nextSceneNum =3D=3D null) || (trigger.nextSceneNum =
=3D=3D "") )
SceneExit( currentScene );
else
{
if ( Scenes[trigger.nextSceneNum].number < currentScene.number )
{
for ( ii=3D0; ii<=3DcurrentScene.number; ii++ )
InitializePlayers( sceneArray[ii] );
}
SceneExit( currentScene, Scenes[trigger.nextSceneNum] );
}
}
else if ( trigger.triggerBhv =3D=3D TB_START_PLAYER )
StartPlayer( GetPlayerFromName( trigger.player ) ); =09
else=20
{
=09
var objTrigPlayer =3D GetPlayerFromName( trigger.player ); =09
var bhv =3D objTrigPlayer.Bhv[trigger.triggerBhv]; =09
bhv.Trigger( bhv, eventType ); =09
} =09
}
}
return;=09
}
function Transition( type, rate, flyFrom, flySubtype )
{
this.type =3D type;
this.rate =3D rate;
this.flyFrom =3D flyFrom;
this.flySubtype =3D flySubtype;
}
function StartTransition( transObj, trans, visibility, callback )
{
var playerType =3D GetObjectTypeFromName( transObj.name ); =09
=09
=09
=09
if ( ("Netscape" =3D=3D sys) ||=20
( (playerType =3D=3D OBJ_PLAYER) && (trans.type =3D=3D =
NULL_TRANSITION) ) )
{
SetVisibility( transObj.HTML, visibility );
callback( transObj );
return;
}
=09
=09
=09
=09
if ( ((trans.type =3D=3D TEXT_FLYIN) || (trans.type =3D=3D =
TEXT_TYPEWRITER)) && (visibility =3D=3D IE_VISIBLE) )
{
StartTextFlyin( transObj );
return;
}
=09
if ( platform !=3D "Win32" )
{
SetVisibility( transObj.HTML, visibility );
callback( transObj );
return;
}
=09
=09
=09
=09
=09
=09
if ( trans.type =3D=3D NULL_TRANSITION )
{
transObj.HTML.style.filter =3D "revealTrans(duration=3D0, =
transition=3D0)";
}
else =09
{
duration =3D TRANSITION_RATES[trans.rate];
transObj.HTML.style.filter =3D "revealTrans(duration=3D" + duration + =
", transition=3D" + trans.type + ")";
}
stNoInput++; =09
transObj.HTML.filters(0).Apply(); =09
=09
SetVisibility( transObj.HTML, visibility ); =09
=09
transObj.HTML.filters(0).Play() =09
transObj.HTML.onfilterchange =3D TransitionDoneEvent;=09
}
function TransitionDoneEvent( )
{
var type =3D GetObjectTypeFromName( event.srcElement.id ); =09
stNoInput--; =09
if ( type =3D=3D OBJ_SCENE )
{
=09
if ( (currentScene !=3D null) && (event.srcElement.id =3D=3D =
currentScene.name) )
SceneTransitionDone();
}
else if ( type =3D=3D OBJ_PLAYER ) =09
{
var objPlayer =3D GetPlayerFromName( event.srcElement.id );
if ( this.style.visibility =3D=3D IE_VISIBLE ) =09
PlayerEntryTransitionDone( objPlayer ); =20
else =09
PlayerExitTransitionDone( objPlayer, false );
}
return;
}
function InitializeTextFlyin( objPlayer )
{
if ( sys =3D=3D "Netscape" ) =09
return false;
var transition =3D objPlayer.entryTrans; =09
var transUnits =3D transition.flySubtype; =09
var movePerTick =3D parseInt(FLYIN_PER_TICK[transition.rate]);=09
=09
var transDirection =3D (transition.type =3D=3D TEXT_FLYIN) ? =
transition.flyFrom : FLYIN_TOP; =09
=09
=09
if ( stProjState =3D=3D PS_UNINITIALIZED )
{
var textHTML =3D objPlayer.HTML; =09
var oldInnerHTML =3D textHTML.innerHTML; =09
var newInnerHTML =3D ""; =09
=09
transition.textOrder =3D new Array(); =09
textOrder =3D transition.textOrder; =09
=09
=09
=09
=09
=09
var flyinIdx =3D 0; =09
var flyinBuffer =3D "";
=09
=09
=09
var spanStyle =3D (transition.type =3D=3D TEXT_FLYIN) ? " =
style=3D'position:relative;visibility:hidden;'" : " =
style=3D'visibility:hidden;'";
for ( var letterIdx=3D0; letterIdx<oldInnerHTML.length; )
{
=09
tempID =3D objPlayer.name+"_tempID"+flyinIdx.toString();
newInnerHTML +=3D "<span id=3D" + tempID + spanStyle + ">";
while ( letterIdx<oldInnerHTML.length )
{
=09
=09
=09
if ( ( (charNext =3D oldInnerHTML.substring(letterIdx, letterIdx+1)) =
=3D=3D "<") || (charNext =3D=3D "&") ) =09
{
if ( charNext =3D=3D "<" ) =09
endTagIdx =3D oldInnerHTML.indexOf( ">", letterIdx );=09
else
endTagIdx =3D oldInnerHTML.indexOf( ";", letterIdx );=09
var tagString =3D oldInnerHTML.substring( letterIdx, ++endTagIdx );
newInnerHTML +=3D tagString;
letterIdx =3D endTagIdx; =09
=09
if ( ((tagString =3D=3D "</P>") || (tagString =3D=3D "<BR>")) &&
(transUnits !=3D FLYIN_BY_LETTER) ) =09
break;
}
=09
else
{
thisChar =3D oldInnerHTML.substring( letterIdx, ++letterIdx );
newInnerHTML +=3D thisChar;
if ( transUnits =3D=3D FLYIN_BY_LETTER ) =09
break; =09
else if ( (transUnits =3D=3D FLYIN_BY_WORD ) && thisChar =3D=3D " " =
) =09
break;
}
}
newInnerHTML +=3D "</span>"
textOrder[flyinIdx] =3D new Object();
textOrder[flyinIdx].name =3D tempID; =09
flyinIdx++; =09
}
=09
if ( flyinIdx =3D=3D 0 )
return false;
=09
textHTML.innerHTML =3D newInnerHTML;
transition.numUnits =3D flyinIdx; =09
}
=09
=09
=09
textOrder =3D transition.textOrder;
var currentEl =3D document.all[textOrder[0].name]; =09
var currentOffset =3D currentEl.offsetLeft;=09
var previousEl, previousOffset;
for ( var count=3D0; count<transition.numUnits; count++ ) =09
{
previousOffset =3D currentOffset; =09
previousEl =3D currentEl;
textElName =3D textOrder[count].name; =09
currentEl =3D document.all[textElName];
SetVisibility( currentEl, IE_HIDDEN );
currentOffset =3D currentEl.offsetTop;
=09
=09
=09
=09
=09
=09
if ( currentOffset !=3D previousOffset ) =09
if ( previousEl.innerHTML =3D=3D " " ) =09
previousEl.innerHTML =3D "<br>";
if ( transDirection =3D=3D FLYIN_ROTATE ) =09
direction =3D count % FLYIN_ROTATE; =09
else
direction =3D transDirection;
=09
if ( direction =3D=3D FLYIN_LEFT )
{
tempPos =3D -(currentEl.offsetParent.offsetLeft + =
currentEl.offsetParent.offsetWidth);
currentEl.style.posLeft =3D tempPos; =09
textOrder[count].dx =3D -movePerTick; =09
textOrder[count].dy =3D 0;
textOrder[count].iterations =3D tempPos / (-movePerTick);=09
}
else if ( direction =3D=3D FLYIN_RIGHT )
{
tempPos =3D objPlayer.HTML.parentElement.offsetWidth - =
currentEl.offsetParent.offsetLeft;
currentEl.style.posLeft =3D tempPos;
textOrder[count].dx =3D movePerTick; =09
textOrder[count].dy =3D 0;
textOrder[count].iterations =3D tempPos / movePerTick;=09
}
else if ( direction =3D=3D FLYIN_TOP )
{
tempPos =3D -(currentEl.offsetParent.style.posTop + =
currentEl.offsetParent.offsetHeight);
currentEl.style.posTop =3D tempPos;
textOrder[count].dx =3D 0;
textOrder[count].dy =3D (-movePerTick); =09
textOrder[count].iterations =3D tempPos / (-movePerTick);=09
}
else if ( direction =3D=3D FLYIN_BOTTOM )
{
tempPos =3D objPlayer.HTML.parentElement.offsetHeight - =
currentEl.offsetParent.style.posTop;
currentEl.style.posTop =3D tempPos;
textOrder[count].dx =3D 0;
textOrder[count].dy =3D movePerTick; =09
textOrder[count].iterations =3D tempPos / movePerTick;=09
}
}
=09
transition.charIdx =3D 0; =09
transition.moveIdx =3D 0; =09
textElName =3D transition.textOrder[0].name;
transition.currentEl =3D document.all[textElName];=09
SetVisibility( transition.currentEl, IE_VISIBLE );
return true;
}
function StartTextFlyin( objPlayer )
{
=09
SetVisibility( objPlayer.HTML, IE_VISIBLE );
StartAnimationTimer( objPlayer, TextFlyinTick );
}
function TextFlyinTick( objPlayer )
{
var transition =3D objPlayer.entryTrans; =09
var spanObj =3D transition.textOrder[transition.charIdx]; =09
var textEl =3D transition.currentEl; =09
=09
=09
if ( ++transition.moveIdx < spanObj.iterations) =09
{
textEl.style.posTop -=3D spanObj.dy; =09
textEl.style.posLeft -=3D spanObj.dx;
return false; =09
}
=09
=09
textEl.style.posTop =3D 0; =09
textEl.style.posLeft =3D 0;
=09
=09
if ( (charIdx =3D ++transition.charIdx) >=3D =
transition.textOrder.length )=09
{
PlayerEntryTransitionDone( objPlayer ); =09
return true; =09
}
else
{
transition.moveIdx =3D 0; =09
textElName =3D transition.textOrder[charIdx].name;
transition.currentEl =3D document.all[textElName]; =09
transition.currentEl.style.visibility =3D IE_VISIBLE; =09
return false; =09
} =09
}
var SND_DUR_SCENE =3D -1;=09
var SND_DUR_PROJECT =3D 0;=09
var ST_WAV =3D 1;=09
var ST_MID =3D 2;=09
var NAV_EXT =3D "nav"=09
var MidiTag =3D null;=09
function Sound( delay, duration, loop, soundType, tagName, fileName )
{
=09
this.Initialize =3D InitializeSound;
this.Start =3D StartSound;
this.Trigger =3D StartSound;
this.Stop =3D StopSound;
this.StopEverything =3D StopEverythingOnSounds;
=09
this.delay =3D delay;
this.duration =3D duration;
this.loop =3D loop;
this.tagName =3D tagName;
this.fileName =3D fileName;
this.soundType =3D soundType;
}
function InitializeSound( objParent, objSound )
{
if ( sys =3D=3D "Netscape" )
{
objSound.navLoop =3D (objSound.loop =3D=3D -1) ? true : false;
objSound.html =3D document[objSound.tagName+NAV_EXT];
return;
}
objSound.objParent =3D objParent; =09
objSound.html =3D document.all[objSound.tagName];=09
objSound.fileName =3D objSound.html.soundsrc; =09
=09
=09
if (objSound.soundType =3D=3D ST_MID )
{
if ( MidiTag =3D=3D null ) =09
MidiTag =3D objSound.html; =09
else
objSound.html =3D MidiTag; =09
} =09
}
function StartSound( objSound )
{
if ( sys =3D=3D "Netscape" ) =09
{
if ( objSound.html !=3D null ) =09
objSound.html.play(objSound.navLoop);
return;
}
objSound.html.src =3D objSound.fileName; =09
objSound.html.loop =3D objSound.loop; =09
if ( objSound.soundType =3D=3D ST_WAV ) =09
objSound.html.volume =3D 0; =09
if ( objSound.duration > 0 )
StartOneShotTimer( objSound, objSound.duration, objSound.Stop, =
TMR_PROJ );
}
function StopSound( objSound, fPause )
{
if ( sys =3D=3D "Netscape" ) =09
{
if ( objSound.html !=3D null ) =09
objSound.html.stop();
return;
}
objSound.html.loop =3D 0;
objSound.html.src =3D ""; =09
if ( objSound.soundType =3D=3D ST_WAV )
objSound.html.volume =3D -10000;
}
function StopEverythingOnSounds( objSound )
{
StopSound( objSound, true );
if ( (sys !=3D "Netscape") && (os =3D=3D "NT") ) =09
objSound.html.volume =3D -500; =09
}
var SND_DUR_SCENE =3D -1;=09
var SND_DUR_PROJECT =3D 0;=09
function Swapper( idle, hover, click )
{
=09
this.Initialize =3D InitializeSwap;
this.Start =3D StartSwap;
this.Trigger =3D TriggerSwap;
this.Stop =3D StopSwap;
this.StopEverything =3D StopSwap;
=09
this.idle =3D idle;
this.hover =3D hover;
this.click =3D click;
}
function InitializeSwap( objParent, objSwap )
{
if ( stProjState !=3D PS_UNINITIALIZED ) =09
return;
=09
var idle =3D objSwap.idle; =09
var hover =3D objSwap.hover;
var click =3D objSwap.click;
=09
=09
=09
=09
=09
=09
=09
if ( (hover !=3D null) && (hover !=3D "") && (document.all[hover].src =
!=3D null) )
{
SetVisibility( document.all[hover], IE_HIDDEN );
objSwap.srcHover =3D document.all[hover].src;
document.all[hover].src =3D "";
}
else
objSwap.srcHover =3D document.all[idle].src;
if ( (click !=3D null) && (click !=3D "") && (document.all[click].src =
!=3D null) )
{
SetVisibility( document.all[click], IE_HIDDEN );
objSwap.srcClick =3D document.all[click].src;
document.all[click].src =3D "";
}
else
objSwap.srcClick =3D document.all[idle].src;
=09
objSwap.srcIdle =3D document.all[idle].src;
}
function StartSwap( objSwap )
{
=09
}
function TriggerSwap( objSwap, eventType )
{
if ( eventType =3D=3D TT_BUTTONDOWN )
document.all[objSwap.idle].src =3D objSwap.srcClick;
else if ( eventType =3D=3D TT_BUTTONUP )
document.all[objSwap.idle].src =3D objSwap.srcHover;
else if ( eventType =3D=3D TT_MOUSEOVER )
document.all[objSwap.idle].src =3D objSwap.srcHover;
else if ( eventType =3D=3D TT_MOUSEOUT )
document.all[objSwap.idle].src =3D objSwap.srcIdle;
return;
}
function StopSwap( objSwap, fPause )
{
if ( fPause ) =09
return;
}
var PATH_PER_TICK =3D new Array(50,40,30,20,10); =09
var PE_STOP =3D 0; =09
var PE_AGAIN =3D 1; =09
var PE_REV =3D 2; =09
var PE_EXIT =3D 3; =09
var PD_FWD =3D 1;
var PD_BACK =3D -1;
function Point( x, y, rate )
{
this.x =3D x;
this.y =3D y;
this.rate =3D rate;
}
function Paths( delay, edgeEffect )
{
=09
this.Initialize =3D InitializePathAnimation;
this.Start =3D StartPathAnimation;
this.Trigger =3D StartPathAnimation;
this.Stop =3D StopPathAnimation;
this.StopEverything =3D StopPathAnimation;
=09
this.delay =3D delay;
this.edgeEffect =3D edgeEffect;
}
function InitializePathAnimation( objPlayer, path )
{
var segment; =09
var pathIndex;
var totalDistance; =09
var distanceX; =09
var distanceY;
var dx; =09
var dy;
var travelTime; =09
var remX; =09
var remY;
=09
if ( stProjState !=3D PS_UNINITIALIZED )
{
objPlayer.position.SetPosition( path[0].x, path[0].y );
return;
}
path.objPlayer =3D objPlayer; =09
halfWidth =3D Math.floor(objPlayer.HTML.offsetWidth/2); =09
halfHeight =3D Math.floor(objPlayer.HTML.offsetHeight/2);
=09
=09
path[0].x -=3D halfWidth;
path[0].y -=3D halfHeight;
objPlayer.position.SetPosition( path[0].x, path[0].y );
for ( pathIndex=3D0; path[pathIndex+1] !=3D null; pathIndex++ )=09
{
px =3D parseInt(pathIndex); =09
segment =3D path[px]; =09
=09
=09
=09
path[px+1].x -=3D halfWidth;
path[px+1].y -=3D halfHeight;
=09
distanceX =3D path[px+1].x - segment.x; =09
distanceY =3D path[px+1].y - segment.y; =09
=09
totalDistance =3D Math.sqrt( (distanceX*distanceX) + =
(distanceY*distanceY) );
=09
=09
travelTime =3D Math.round(totalDistance / =
PATH_PER_TICK[segment.rate]);
=09
=09
if ( distanceX > 0 ) =09
dx =3D Math.floor( distanceX / travelTime );=09
else if ( distanceX < 0 ) =09
dx =3D Math.ceil( distanceX / travelTime );=09
else
dx =3D 0;
=09
=09
=09
=09
remX =3D distanceX % travelTime;
=09
if ( distanceY > 0 ) =09
dy =3D Math.floor( distanceY / travelTime );
else if ( distanceY < 0 )
dy =3D Math.ceil( distanceY / travelTime );
else
dy =3D 0;
remY =3D distanceY % travelTime;
segment.number =3D px; =09
segment.ticks =3D 0;
segment.travelTime =3D travelTime;
segment.dx =3D dx;
segment.dy =3D dy;
segment.remX =3D remX;
segment.remY =3D remY;
}
path.numSegs =3D parseInt(pathIndex); =09
path.dir =3D PD_FWD; =09
return;
}
function StartPathAnimation( path )
{
path.currentSegment =3D path[0]; =09
path.currentSegment.ticks =3D 0; =09
path.cntSegs =3D 0; =09
=09
=09
if ( path.dir =3D=3D PD_BACK ) =09
{
for ( var ii=3D0; ii<path.numSegs; ii++ ) =09
{
path[ii].dx *=3D -1;
path[ii].dy *=3D -1;
path[ii].remX *=3D -1;
path[ii].remY *=3D -1;
}
path.dir =3D PD_FWD; =09
}
StartAnimationTimer( path, PathAnimationTick );
}
function StopPathAnimation( path, fPause )
{
return;
}
function PathAnimationTick( path )
{
var objPlayer =3D path.objPlayer; =09
var segment =3D path.currentSegment; =09
var currentPosition =3D objPlayer.position;=09
if ( ++segment.ticks <=3D segment.travelTime ) =09
{
newX =3D currentPosition.x + segment.dx; =09
if ( segment.ticks <=3D Math.abs(segment.remX) )=09
segment.remX > 0 ? newX++ : newX--;
newY =3D currentPosition.y + segment.dy; =09
if ( segment.ticks <=3D Math.abs(segment.remY) )=09
segment.remY > 0 ? newY++ : newY--;
currentPosition.SetPosition( newX, newY );=09
return false; =09
}
=09
=09
if ( ++path.cntSegs < path.numSegs )
{
=09
path.currentSegment =3D path[segment.number+path.dir]; =09
path.currentSegment.ticks =3D 0; =09
=09
return false;
}
=09
=09
if ( path.edgeEffect =3D=3D PE_AGAIN ) =09
{
=09
objPlayer.position.SetPosition( path[0].x, path[0].y );
=09
path.currentSegment =3D path[0]; =09
path.currentSegment.ticks =3D 0; =09
path.cntSegs =3D 0; =09
return false; =09
} =09
else if ( path.edgeEffect =3D=3D PE_REV ) =09
{
path.dir *=3D -1; =09
=09
for ( var ii=3D0; ii<path.numSegs; ii++ )
{
path[ii].dx *=3D -1;
path[ii].dy *=3D -1;
path[ii].remX *=3D -1;
path[ii].remY *=3D -1;
}
path.currentSegment.ticks =3D 0; =09
path.cntSegs =3D 0; =09
return false;
}
else if ( path.edgeEffect =3D=3D PE_EXIT )
{
PlayerExit( objPlayer );
return true;
}
else
return true; =09
}
var GROW_PER_TICK =3D new Array(20,14,8,4,1); =09
function Size( zoom, rate )
{
this.zoom =3D zoom;
this.rate =3D rate;
}
function Grows( delay )
{
=09
this.Initialize =3D InitializeGrowAnimation;
this.Start =3D StartGrowAnimation;
this.Trigger =3D StartGrowAnimation;
this.Stop =3D StopGrowAnimation;
this.StopEverything =3D StopGrowAnimation;
=09
this.delay =3D delay;
}
function InitializeGrowAnimation( objPlayer, grow )
{
if ( sys =3D=3D "Netscape" )
return;
var child =3D objPlayer.HTML.children[0]; =09
var playerType =3D GetPlayerTypeFromName( objPlayer.name );=09
=09
=09
=09
if ( stProjState =3D=3D PS_UNINITIALIZED )
{
grow.realWidth =3D child.width;
grow.realHeight =3D child.height;
}
if ( (playerType =3D=3D PLAYER_TEXT) || sys =3D=3D "Netscape" )=09
{
grow =3D null; =09
return;
}
grow.objPlayer =3D objPlayer; =09
=09
grow.currentSegment =3D grow[0]; =09
grow.currentGrowth =3D grow.currentSegment.zoom; =09
=09
=09
=09
child.width *=3D (grow.currentSegment.zoom / 100); =09
child.height *=3D (grow.currentSegment.zoom / 100);
=09
for ( var growIndex=3D0; grow[growIndex] !=3D null; growIndex++ )=09
{
gx =3D parseInt(growIndex); =09
segment =3D grow[gx]; =09
if ( grow[gx+1] =3D=3D null ) =09
{
grow.finalSegment =3D grow[gx-1]; =09
break; =09
}
=09
growth =3D grow[gx+1].zoom - segment.zoom; =09
if ( growth >=3D 0 ) =09
growthFactor =3D GROW_PER_TICK[segment.rate]; =09
else
growthFactor =3D -(GROW_PER_TICK[segment.rate]);
=09
growthTicks =3D growth / growthFactor; =09
=09
segment.number =3D gx; =09
segment.growth =3D growth;
segment.growthFactor =3D growthFactor;
segment.growthTicks =3D growthTicks;
segment.currentTicks =3D 0;
}
}
function StartGrowAnimation( grow )
{=09
if ( sys =3D=3D "Netscape" )
return;
grow.currentSegment =3D grow[0]; =09
grow.currentTicks =3D 0;
StartAnimationTimer( grow, GrowAnimationTick );
}
function StopGrowAnimation( grow, fPause )
{
return;
}
function GrowAnimationTick( grow )
{
if ( sys =3D=3D "Netscape" )
return true; =09
var objPlayer =3D grow.objPlayer; =09
var child =3D objPlayer.HTML.children[0]; =09
var segment =3D grow.currentSegment; =09
grow.currentGrowth +=3D segment.growthFactor; =09
child.width =3D grow.realWidth*(grow.currentGrowth/100);=09
child.height =3D grow.realHeight*(grow.currentGrowth/100);
if ( ++grow.currentTicks <=3D segment.growthTicks ) =09
return false; =09
if ( grow.currentSegment =3D=3D grow.finalSegment ) =09
return true; =09
grow.currentSegment =3D grow[ segment.number+1 ]; =09
grow.currentTicks =3D 0;
return false; =09
}
function Timer()
{
if ( Project.tickRate =3D=3D null ) =09
this.tickRate =3D DEFAULT_TICK_RATE;
else
this.tickRate =3D Project.tickRate;
this.oneShots =3D new Array();
this.animations =3D new Array();
this.tickCounter =3D 0; =09
this.ticksPerSecond =3D 1000 / (this.tickRate);=09
this.timerID =3D null;
this.StartTicking =3D StartTicking; =09
this.StopTicking =3D StopTicking;
=09
}
function StartTicking()
{
if ( this.timerID =3D=3D null )
this.timerID =3D setInterval( "TimerTick()", this.tickRate );
}
function StopTicking()
{
if ( this.timerID !=3D null )
clearInterval( this.timerID );
this.timerID =3D null;
}
function TimerTick()
{
var timerEvent;
=09
for ( var ii=3D0; ii<tickTimer.animations.length; ii++ ) =09
{
if ( (timerEvent=3DtickTimer.animations[ii]) =3D=3D null )=09
continue; =09
if ( timerEvent.callback( timerEvent.callbackObj ) =3D=3D true )=09
tickTimer.animations[ii] =3D null; =09
}
=09
if ( (++tickTimer.tickCounter % tickTimer.ticksPerSecond) =3D=3D 0 )=09
{
=09
var length =3D tickTimer.oneShots.length; =09
for ( var ii=3D0; ii<length && (tickTimer!=3Dnull); ii++ )=09
{
if ( (timerEvent=3DtickTimer.oneShots[ii]) =3D=3D null )=09
continue; =09
=09
if ( timerEvent.time <=3D tickTimer.tickCounter ) =09
{
tickTimer.oneShots[ii] =3D null; =09
timerEvent.callback( timerEvent.callbackObj );=09
}
}
}
return;
}
function StartOneShotTimer( obj, time, callback, type )
{
var timerIndex; =09
var timerEvent =3D new Object(); =09
=09
timerEvent.callbackObj =3D obj; =09
timerEvent.callback =3D callback; =09
timerEvent.type =3D type; =09
=09
=09
timerEvent.time =3D tickTimer.tickCounter + (time * =
tickTimer.ticksPerSecond);
for ( timerIndex=3D0; tickTimer.oneShots[timerIndex]!=3Dnull; =
timerIndex++ );=09
tickTimer.oneShots[timerIndex] =3D timerEvent;=09
return;
}
function StartAnimationTimer( obj, callback )
{
var timerIndex;=20
timerEvent =3D new Object();
timerEvent.callbackObj =3D obj; =09
timerEvent.callback =3D callback; =09
for ( timerIndex=3D0; tickTimer.animations[timerIndex]!=3Dnull; =
timerIndex++);=09
tickTimer.animations[timerIndex] =3D timerEvent;
}
function StopSceneTimers()
{
for (var ii=3D0; ii<tickTimer.oneShots.length; ii++)=09
{
if ( tickTimer.oneShots[ii] =3D=3D null ) =09
continue;
if ( tickTimer.oneShots[ii].type =3D=3D TMR_SCENE )
tickTimer.oneShots[ii] =3D null; =09
}
=09
for (var ii=3D0; ii<tickTimer.animations.length; ii++)
tickTimer.animations[ii] =3D null;
}
=09
function KillTimer()
{
if ( tickTimer !=3D null ) =09
{
window.clearTimeout( tickTimer.timerID);=09
tickTimer =3D null; =09
}
}
function SetColor(el, color)=20
{
if ( el.style =3D=3D null ) =09
return;
=09
el.style.backgroundColor =3D color; =09
if ("Netscape"=3D=3Dsys)=20
el.NSLayer.bgColor =3D color; =09
}
function SetZIndex(el, zindex)=20
{
if ( el.style =3D=3D null ) =09
return;
=09
el.style.zIndex =3D zindex; =09
if ("Netscape"=3D=3Dsys)=20
el.NSLayer.zIndex =3D zindex =09
}
function SetVisibility(el, val)=20
{
if ( el.style =3D=3D null ) =09
return;
el.style.visibility =3D val; =09
=20
if ( "Netscape"=3D=3Dsys ) =09
{
if ( val =3D=3D IE_HIDDEN )
el.NSLayer.visibility =3D NAV_HIDDEN;
else if ( val =3D=3D IE_VISIBLE )
el.NSLayer.visibility =3D NAV_VISIBLE;
else if ( val =3D=3D IE_INHERIT )
el.NSLayer.visibility =3D NAV_INHERIT;
else
el.NSLayer.visibility =3D "";
}
}
function Position( obj )
{
this.object =3D obj; =09
this.x =3D obj.HTML.style.pixelLeft; =09
this.y =3D obj.HTML.style.pixelTop; =09
this.SetPosition =3D SetPosition;
}
function SetPosition( newX, newY )=20
{
var el =3D this.object.HTML; =09
if ( el.style =3D=3D null ) =09
return;
=09
el.style.pixelTop =3D newY; =09
el.style.pixelLeft =3D newX;
this.x =3D newX; =09
this.y =3D newY;
if ( "Netscape"=3D=3Dsys ) =09
{
el.NSLayer.top =3D parseInt( newY );
el.NSLayer.left =3D parseInt( newX );
el.offsetTop =3D el.NSLayer.top;
el.offsetLeft =3D el.NSLayer.left;
}
}
function SetContent(el, content)=20
{
if ( el.style =3D=3D null ) =09
return;
if ( "Netscape"=3D=3Dsys ) =09
{
el.NSLayer.document.open(); =09
el.NSLayer.document.write(content); =09
el.NSLayer.document.close(); =09
}
else =09
el.innerHTML=3Dcontent;
}
function SetupButtons()
{
var rtn =3D false; =09
if ( document.all.Pause !=3D null )
{
document.all.Pause.onclick =3D Pause;
strPause =3D document.all.Pause.value.split( '/' );
document.all.Pause.value =3D strPause[0];
}
if (document.all.Stop !=3D null )
document.all.Stop.onclick =3D Stop;
if ( document.all.Forward !=3D null )
document.all.Forward.onclick =3D Forward;
if ( document.all.Backward !=3D null )
document.all.Backward.onclick =3D Backward;
if ( document.all.Webpage !=3D null )
document.all.Webpage.onclick =3D GotoWebpage;
if ( document.all.SceneStatus !=3D null )
formStatus =3D document.all.SceneStatus;
if ( document.all.Start !=3D null )
{
document.all.Start.onclick =3D Start;
strPlay =3D document.all.Start.value.split( '/' );
document.all.Start.value =3D strPlay[0];
rtn =3D true;
}
else
rtn =3D false;
if ( document.all.NavigationButtons !=3D null )
SetVisibility( document.all.NavigationButtons, IE_VISIBLE );
return rtn;
}
function Start()
{
if ( stNoInput ) =09
return;
if ( stButtons =3D=3D true ) =09
{
document.all.Start.value =3D strPlay[1];
if ( document.all.Pause !=3D null )
{
document.all.Pause.value =3D strPause[0];
}
}
if ( (stProjState =3D=3D PS_RUNNING) || (stProjState =3D=3D =
PS_PAUSED) )=09
{
ProjectShutdown();
ProjectInitialize();
}
else if ( stProjState !=3D PS_INITIALIZED ) =09
ProjectInitialize();
ProjectStart(); =09
}
function Pause()
{
=09
if ( stProjState =3D=3D PS_PAUSED ) =09
{
tickTimer.StartTicking(); =09
if ( document.all.Pause !=3D null )
{
document.all.Pause.value =3D strPause[0];
}
stProjState =3D PS_RUNNING;
StatusChange(); =09
}
else
{
if ( tickTimer !=3D null ) =09
tickTimer.StopTicking(); =09
if ( stProjState !=3D PS_RUNNING ) =09
return;
stProjState =3D PS_PAUSED;
if ( document.all.Pause !=3D null )
{
document.all.Pause.value =3D strPause[1];
}
StopEverythingOnScenes( true ); =09
StatusChange(); =09
}
}
function Stop()
{
if ( stNoInput ) =09
return;
location.reload();
}
function Forward()
{
if ( stNoInput ) =09
return;
=09
if ( stProjState !=3D PS_RUNNING )
return;
SceneExit( currentScene ); =09
}
function Backward()
{
if ( stNoInput ) =09
return;
var nextScene;
=09
=09
=09
if ( stProjState =3D=3D PS_COMPLETE )
nextScene =3D Project.stopScene;
else if ( stProjState !=3D PS_RUNNING )
return;
else
nextScene =3D (currentScene.number =3D=3D 0) ? 0 : currentScene.number =
- 1;
ProjectShutdown();
ProjectInitialize();
ProjectStart( nextScene ); =09
}
function GotoWebpage()
{
window.open( Project.webpage); =09
}
function StatusChange( )
{
var stsPage =3D null; =09
var stsState =3D null; =09
if ( stProjState =3D=3D PS_UNINITIALIZED )
{
stsState =3D "Initializing";
stsPage =3D ""
}
else if ( stProjState =3D=3D PS_INITIALIZED )
{
stsState =3D "Ready";
stsPage =3D "";
}
else if ( stProjState =3D=3D PS_RUNNING )
{
stsState =3D "Playing";
stsPage =3D (currentScene.number+1) + " / " + nScenes;
}
else if ( stProjState =3D=3D PS_PAUSED )
stsState =3D "Paused";
else if ( stProjState =3D=3D PS_COMPLETE )
stsState =3D "Complete";
=09
if ( (formStatus !=3D null) && (stsPage !=3D null) )
formStatus.value =3D stsPage;
=09
if ( stsState !=3D null )
top.status =3D stsState;=20
}
function GetSceneFromNumber( sceneNum )
{
return sceneArray[sceneNum]; =09
}
function GetPlayerFromName( playerName )
{
var objPlayer;
=09
=09
if ( (currentScene) && (currentScene.Players !=3Dnull) && ((objPlayer =
=3D currentScene.Players[playerName]) !=3D null) ) =09
return objPlayer; =09
=09
var objScene;
for ( sceneName in Scenes ) =09
{
objScene =3D Scenes[sceneName];
if ( objScene.Players !=3D null )
{
objPlayer =3D objScene.Players[playerName];
if ( objPlayer !=3D null )
return objPlayer; =09
}
}=09
=09
return null; =09
}
function GetObjectTypeFromName( nameString )
{
var type =3D nameString.substr(0,1); =09
if ( type =3D=3D NAME_SCENE ) =09
return OBJ_SCENE;
else if ( type =3D=3D NAME_PLAYER ) =09
return OBJ_PLAYER;
}
function GetPlayerTypeFromName( nameString )
{
var type =3D nameString.substr(1,1); =09
if ( type =3D=3D PLAYER_NAME_IMAGE ) =09
return PLAYER_IMAGE;
else if ( type =3D=3D PLAYER_NAME_DRAW ) =09
return PLAYER_DRAW;
else if ( type =3D=3D PLAYER_NAME_TEXT ) =09
return PLAYER_TEXT;
}
function resetGifAnimation()
{
var temp =3D document.all["img1"].src;
document.all["img1"].src =3D temp;
}
Project =3D new Project(50, 0, 0, 2, 1, 0, =
"http://home-publishing.com/SKU/V3Pub.asp");
Scenes =3D new Object();
Scenes.Sx1 =3D new Scene( 6 );
Scenes.Sx1.entryTrans =3D new Transition( 9, 1, 0, 0 );
Scenes.Sx1.Players =3D new Object();
Scenes.Sx1.Players.PI7 =3D new Player( -1, -1 );
Scenes.Sx1.Players.PI7.entryTrans =3D new Transition( 12, 2, 0, 0 );
Scenes.Sx1.Players.PT11 =3D new Player( 1, -1 );
Scenes.Sx1.Players.PT11.Bhv =3D new Array();
Scenes.Sx1.Players.PT11.Bhv[0] =3D new Paths( 0, 0 );
Scenes.Sx1.Players.PT11.Bhv[0][0] =3D new Point( 425, 370, 2 );
Scenes.Sx1.Players.PT11.Bhv[0][1] =3D new Point( 425, 98, 2 );
Scenes.Sx1.Players.PT11.Bhv[0][2] =3D new Point( 425, 98, 2 );
</SCRIPT>
</BODY></HTML>
------=_NextPart_001_0EA0_01BDBE4D.BB06B4A0--
------=_NextPart_000_0E9F_01BDBE4D.BB06B4A0
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-ID: <0e9901bdbe88$6716d060$d55d389d@scottst2.dns.microsoft.com>
X-Content-Source: C:\TEMP\IMG4CD.GIF
R0lGODlhOwItAff/AP39/f///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP39/SH5BAEBAP8ALAAAAAA7Ai0B
QAjSAAMIHEiwoMGDCBMqXMiwocOHECNKnEixosWLGDNq3Mixo8ePIEMm/CeypMmTKFOqXMmypcuX
MGMOJCmzps2bOHPq3Mmzp0uaPoMKHUq0qNGjSBUCTcq0qdOnUKNKnTm1qtWrWLNqxbh0q9evYMOK
Ddp1rNmzaNOqtVh2rdu3cON+bSu3rt27eH3Szcu3r9+/IPcCHky4sGGDgg8rXsw4buLGkCNL1vp4
suXLmI1Wzsy5s+eYmz+LHk3aY+jSqFOrbnh6tevXqlvDnk2bs+zauHMzbb6tu7dvv7x/Cx8ONzjx
48jFGk/OvLnV5c6jS08Kfbr16z2rY9/OHXT37+CLag9PvjzH8ebTq5eIfr379wjbw58PXz79++nt
498PXj///9j5B+CA0QlI4IHIGYjggr8pyOCDuDkI4YSvSUjhhahoWYjhhp9pyOGHmHkI4oiRiUji
iYqZiOKKg6nI4ot8uQjjjHXJSOONbtmI445n6cjjj2D5COSQWQlJ5JFTGYnkkk4pyeSTRzkJ5ZRC
SUnllTtZieWWNmnJ5ZcveQnmmCqJSeaZJZmJ5pp4prHpZpBvxkmZnHQ+V+edUamJ554j8elnlH8G
OpSegvpJaKF7HoronYouSmejjsb5z6SUVmrppZhmqummnHbq6aeghirqqKSWauqpqKaq6qqsturq
q7DGKiunkdbqna24sgRprmfuyuuYvv76ZbDCbklssVcei+yUTsou+2Szzi4JbbRHTkvtkNZe+2O2
2u7Ibbc3fgvujOKO+2K55q6IbronrsvuiO6++2G88m5Ib70X3ovvhPru+2C//i4IcMAHDkzwgAYf
/Ehfwgrvx3DD9z0M8XwST/xexRavh3HG+XHs7MYekwdyyP2RXOzIJnOHcsoBsszryi5PB3PMBdJs
68w2M4dzzgny7OjOPg8HdNBGDRJd6NBG64Z00hEy/efSTs8GddQVUp2o1XhOjXVqWm9dWtdejwZ2
2B2SLanZb46NdmZqr31Z225PBnfcJdLdq91kzo33YkR6731Y334XBnjgLRJurOFYDo54X4ovnlfj
jt8FeeQ1Uv6s5UxOjvlbmm++VueepwV66D2Sjq3pQI6Oeliqrz6X697CjjZj67IXWTuNtN9up+7n
8t677+oCH7zw7RJfvPHwIp+88vMy37zz9kIfvfT5Ul+99fxin732/3I43733AoMfvvgFk1+++Qij
n776C7PfvvsOwx+//BHTX7/9FOOfv/4X89+//xoDYAAF2DECmid3BjxNCQITmCYGisyB4VkgBD8i
wQl2pIIW3AgGM5iRDXLwIh78YEVCKMKJkLCEETkhCh+iwhWyxoU1g2FzWijDPtUwOTS8IWJ02DMe
EieHPhQ6CBCDOEQfFpGHR9RhEm+4xBo2UYZPhGEUXTjFFVYRhVcsYRZFuMUPdpGDX8xgGC04xgmW
EYJndGAaGTq4xgS20YBvJGAcBThHANbRf3fkXx71t0f89dF+f6RfIOU3SPgV0n2HZF8i1bdI9DXS
fI8kXyTFN0nwOlXSe5fkXia1t0nsddJ6n6ReKKU3SuiV0nmnZF4qlbdK5LXSeK8kXiyFN0vg1dJ3
t+RdLnW3y9v1snYWv5RdMGE3TNcVc3XHRF0yTbdM0v0jIAA7
------=_NextPart_000_0E9F_01BDBE4D.BB06B4A0
Content-Type: image/gif
Content-Transfer-Encoding: 7bit
Content-ID: <045b01bd6a3b$54e2b400$e0dd389d@a-markpu.dns.microsoft.com>
X-Content-Source: X:\v3Contnt\clipmed\animatn\b140_149\Bd14069_.gif
X-Global-Moniker: :HALLMARK\MAIN\bd14069_.gif
------=_NextPart_000_0E9F_01BDBE4D.BB06B4A0
Content-Type: application/x-font
Content-Transfer-Encoding: 7bit
Content-ID: <0e9d01bdbe88$675008d0$d55d389d@scottst2.dns.microsoft.com>
X-Content-Source: Maiandra GD.eot
------=_NextPart_000_0E9F_01BDBE4D.BB06B4A0--