// Created by iWeb 2.0.4 local-build-20100128

function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id8" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="240" height="186" style="height: 186px; left: 382px; position: absolute; top: 536px; width: 240px; z-index: 1; "><param name="src" value="Media/Tip%20of%20the%20Month%20%231.mov" /><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="id8" type="video/quicktime" width="240" height="186" style="height: 186px; left: 382px; position: absolute; top: 536px; width: 240px; z-index: 1; "><param name="src" value="teaching_files/Tip%20of%20the%20Month%201-1.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/Tip%20of%20the%20Month%20%231.mov"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id8" type="video/quicktime" width="240" height="186" data="Media/Tip%20of%20the%20Month%20%231.mov" style="height: 186px; left: 382px; position: absolute; top: 536px; width: 240px; z-index: 1; "><param name="src" value="Media/Tip%20of%20the%20Month%20%231.mov"/><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(-2,2,4,87),url:'teaching_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'teaching_files/stroke_1.png'},{rect:new IWRect(2,-2,243,4),url:'teaching_files/stroke_2.png'},{rect:new IWRect(245,-2,4,4),url:'teaching_files/stroke_3.png'},{rect:new IWRect(245,2,4,87),url:'teaching_files/stroke_4.png'},{rect:new IWRect(245,89,4,4),url:'teaching_files/stroke_5.png'},{rect:new IWRect(2,89,243,4),url:'teaching_files/stroke_6.png'},{rect:new IWRect(-2,89,4,4),url:'teaching_files/stroke_7.png'}],new IWSize(247,91)),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,173),url:'teaching_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'teaching_files/stroke_9.png'},{rect:new IWRect(1,-1,243,2),url:'teaching_files/stroke_10.png'},{rect:new IWRect(244,-1,3,2),url:'teaching_files/stroke_11.png'},{rect:new IWRect(244,1,3,173),url:'teaching_files/stroke_12.png'},{rect:new IWRect(244,174,3,2),url:'teaching_files/stroke_13.png'},{rect:new IWRect(1,174,243,2),url:'teaching_files/stroke_14.png'},{rect:new IWRect(-1,174,2,2),url:'teaching_files/stroke_15.png'}],new IWSize(245,175)),stroke_2:new IWStrokeParts([{rect:new IWRect(-1,1,2,191),url:'teaching_files/stroke_16.png'},{rect:new IWRect(-1,-1,2,2),url:'teaching_files/stroke_17.png'},{rect:new IWRect(1,-1,246,2),url:'teaching_files/stroke_18.png'},{rect:new IWRect(247,-1,2,2),url:'teaching_files/stroke_19.png'},{rect:new IWRect(247,1,2,191),url:'teaching_files/stroke_20.png'},{rect:new IWRect(247,192,2,2),url:'teaching_files/stroke_21.png'},{rect:new IWRect(1,192,246,2),url:'teaching_files/stroke_22.png'},{rect:new IWRect(-1,192,2,2),url:'teaching_files/stroke_23.png'}],new IWSize(248,193))});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{loadMozillaCSS('teaching_files/teachingMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');fixAllIEPNGs('Media/transparent.gif');IMpreload('teaching_files','shapeimage_2','0');IMpreload('teaching_files','shapeimage_3','0');IMpreload('teaching_files','shapeimage_4','0');IMpreload('teaching_files','shapeimage_6','0');IMpreload('teaching_files','shapeimage_7','0');IMpreload('teaching_files','shapeimage_8','0');IMpreload('teaching_files','shapeimage_9','0');IMpreload('teaching_files','shapeimage_10','0');applyEffects()}

