// Created by iWeb 3.0.1 local-build-20101005

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="384" height="232" style="height: 232px; position: relative; width: 384px; " class="inline-block"><param name="src" value="Media/My%20First%20Project-medium.m4v"/><param name="controller" value="true"/><param name="autoplay" value="false"/><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="384" height="232" style="height: 232px; position: relative; width: 384px; " class="inline-block"><param name="src" value="teaching_files/My%20First%20Project-medium-2.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/My%20First%20Project-medium.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id2" type="video/quicktime" width="384" height="232" data="Media/My%20First%20Project-medium.m4v" style="height: 232px; position: relative; width: 384px; " class="inline-block"><param name="src" value="Media/My%20First%20Project-medium.m4v"/><param name="controller" value="true"/><param name="autoplay" value="false"/><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({stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,86),url:'teaching_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'teaching_files/stroke_1.png'},{rect:new IWRect(1,-1,216,2),url:'teaching_files/stroke_2.png'},{rect:new IWRect(217,-1,2,2),url:'teaching_files/stroke_3.png'},{rect:new IWRect(217,1,2,86),url:'teaching_files/stroke_4.png'},{rect:new IWRect(217,87,2,2),url:'teaching_files/stroke_5.png'},{rect:new IWRect(1,87,216,2),url:'teaching_files/stroke_6.png'},{rect:new IWRect(-1,87,2,2),url:'teaching_files/stroke_7.png'}],new IWSize(218,88)),reflection_0:new IWReflection({opacity:1.00,offset:1.70}),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,126),url:'teaching_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'teaching_files/stroke_9.png'},{rect:new IWRect(1,-1,150,2),url:'teaching_files/stroke_10.png'},{rect:new IWRect(151,-1,2,2),url:'teaching_files/stroke_11.png'},{rect:new IWRect(151,1,2,126),url:'teaching_files/stroke_12.png'},{rect:new IWRect(151,127,2,2),url:'teaching_files/stroke_13.png'},{rect:new IWRect(1,127,150,2),url:'teaching_files/stroke_14.png'},{rect:new IWRect(-1,127,2,2),url:'teaching_files/stroke_15.png'}],new IWSize(152,128))});registry.applyEffects();}
function hostedOnDM()
{return false;}
function onPageLoad()
{loadMozillaCSS('teaching_files/teachingMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');fixAllIEPNGs('Media/transparent.gif');applyEffects()}

