// Created by iWeb 2.0.4 local-build-20100419

function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id2" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="426" height="256" style="height: 256px; left: 140px; position: absolute; top: 88px; width: 426px; z-index: 1; "><param name="src" value="Media/MSv1.mov" /><param name="controller" value="true" /><param name="autoplay" value="true" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id2" type="video/quicktime" width="426" height="256" style="height: 256px; left: 140px; position: absolute; top: 88px; width: 426px; z-index: 1; "><param name="src" value="middleschool_files/MSv1-1.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/MSv1.mov"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id2" type="video/quicktime" width="426" height="256" data="Media/MSv1.mov" style="height: 256px; left: 140px; position: absolute; top: 88px; width: 426px; z-index: 1; "><param name="src" value="Media/MSv1.mov"/><param name="controller" value="true"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_3:new IWShadow({blurRadius:3,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:1.000000}),shadow_0:new IWShadow({blurRadius:60,offset:new IWPoint(0.0000,0.0000),color:'#dddddd',opacity:0.800000}),shadow_1:new IWShadow({blurRadius:80,offset:new IWPoint(0.0000,0.0000),color:'#dddddd',opacity:0.800000}),shadow_2:new IWShadow({blurRadius:3,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:1.000000}),shadow_4:new IWShadow({blurRadius:3,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:1.000000}),shadow_5:new IWShadow({blurRadius:80,offset:new IWPoint(0.0000,0.0000),color:'#dddddd',opacity:0.800000}),shadow_8:new IWShadow({blurRadius:3,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:1.000000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-11,-1,10,256),url:'middleschool_files/stroke.png'},{rect:new IWRect(-11,-11,10,10),url:'middleschool_files/stroke_1.png'},{rect:new IWRect(-1,-11,426,10),url:'middleschool_files/stroke_2.png'},{rect:new IWRect(425,-11,10,10),url:'middleschool_files/stroke_3.png'},{rect:new IWRect(425,-1,10,256),url:'middleschool_files/stroke_4.png'},{rect:new IWRect(425,255,10,10),url:'middleschool_files/stroke_5.png'},{rect:new IWRect(-1,255,426,10),url:'middleschool_files/stroke_6.png'},{rect:new IWRect(-11,255,10,10),url:'middleschool_files/stroke_7.png'}],new IWSize(424,254)),shadow_9:new IWShadow({blurRadius:3,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:1.000000}),shadow_6:new IWShadow({blurRadius:4,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:1.000000}),shadow_7:new IWShadow({blurRadius:4,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:1.000000}),stroke_1:new IWStrokeParts([{rect:new IWRect(-2,2,4,296),url:'middleschool_files/stroke_8.png'},{rect:new IWRect(-2,-2,4,4),url:'middleschool_files/stroke_9.png'},{rect:new IWRect(2,-2,229,4),url:'middleschool_files/stroke_10.png'},{rect:new IWRect(231,-2,5,4),url:'middleschool_files/stroke_11.png'},{rect:new IWRect(231,2,5,296),url:'middleschool_files/stroke_12.png'},{rect:new IWRect(231,298,5,4),url:'middleschool_files/stroke_13.png'},{rect:new IWRect(2,298,229,4),url:'middleschool_files/stroke_14.png'},{rect:new IWRect(-2,298,4,4),url:'middleschool_files/stroke_15.png'}],new IWSize(234,300))});registry.applyEffects();}
function hostedOnDM()
{return false;}
function onPageLoad()
{loadMozillaCSS('middleschool_files/middleschoolMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');fixAllIEPNGs('Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();IMpreload('middleschool_files','shapeimage_2','0');IMpreload('middleschool_files','shapeimage_8','0');applyEffects()}
function onPageUnload()
{Widget.onunload();}
