<!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
<stack>
<name>in</name>
<id>-1</id>
<cardCount>1</cardCount>
<cardID>2956</cardID>
<listID>3936</listID>
<cantModify><false /></cantModify>
<cantDelete><false /></cantDelete>
<cantAbort><false /></cantAbort>
<cardSize>
<width>512</width>
<height>342</height>
</cardSize>
<script>------------------------------------------------------------------------ Cool Revelations stack!---- Cyan • Spokane, Washington • (509) 238-6789---- All scripts are copyright © 1990 by Cyan. All rights reserved.-- You may use these scripts in your own non-commercial stacks.------------------------------------------------------------------------on openStackhide menubarend openStackon resumeStackhide menubarend resumeStackon closeStackif the windows contains "View" thenclose window "View"end ifend closeStackon suspendStackif the windows contains "View" thenclose window "View"end ifend suspendStackfunction ScaleAdjust theScale, thePointadd trunc(40-(40 / (2 ^ theScale))) to first item of thePointadd trunc(40-(40 / (2 ^ theScale))) to second item of thePointreturn thePointend ScaleAdjuston idleglobal windowlocif the windows contains "View" thenput the loc of the card window into newlocif newloc ≠ windowloc thenput the scale of window "View" into theScaleget the scroll of window "View"subtract trunc(40-(40 / (2 ^ theScale))) from first item of itsubtract trunc(40-(40 / (2 ^ theScale))) from second item of itadd (first item of windowloc - first item of newloc) to first item of itadd (second item of windowloc - second item of newloc) to second item of itif theScale is not 0 then get ScaleAdjust(theScale,it)set the scroll of window "View" to itput newloc into windowlocend ifend ifend idleon adjustWindowput the scale of window "View" into theScaleget the loc of window "View"if theScale is not 0 then get ScaleAdjust(theScale,it)set the scroll of window "View" to itend adjustWindowon mouseDowninPictureput the scale of window "View" into theScaleif the commandkey is down thenset loc of card button dragger to the mouselocchoose button toolrepeat until the mouse is upset loc of card button dragger to the mouselocend repeatput the mouseH - 40 & "," & the mouseV - 40 into thelocchoose browse toolget thelocif theScale is not 0 then get ScaleAdjust(theScale,it)set the scroll of window "View" to itset the loc of window "View" to thelocelserepeat until the mouse is upput the mouseH - 40 & "," & the mouseV - 40 into thelocget thelocif theScale is not 0 then get ScaleAdjust(theScale,it)set the scroll of window "View" to itset the loc of window "View" to thelocend repeatend ifend mouseDowninPicture</script>