// Created by iWeb 3.0.1 local-build-20100727

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.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>');}}
function writeMovie2()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id12" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="491" height="292" style="height: 292px; left: 135px; position: absolute; top: 647px; width: 491px; z-index: 1; "><param name="src" value="Media/VCHS%20Harp%20Ensemble-large.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="id12" type="video/quicktime" width="491" height="292" style="height: 292px; left: 135px; position: absolute; top: 647px; width: 491px; z-index: 1; "><param name="src" value="teaching_files/VCHS%20Harp%20Ensemble-large.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/VCHS%20Harp%20Ensemble-large.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id12" type="video/quicktime" width="491" height="292" data="Media/VCHS%20Harp%20Ensemble-large.m4v" style="height: 292px; left: 135px; position: absolute; top: 647px; width: 491px; z-index: 1; "><param name="src" value="Media/VCHS%20Harp%20Ensemble-large.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_2:new IWPhotoFrame([IWCreateImage('teaching_files/Watercolor_iweb_01_1.png'),IWCreateImage('teaching_files/Watercolor_iweb_02_1.png'),IWCreateImage('teaching_files/Watercolor_iweb_04_1.png'),IWCreateImage('teaching_files/Watercolor_iweb_08_1.png'),IWCreateImage('teaching_files/Watercolor_iweb_16_1.png'),IWCreateImage('teaching_files/Watercolor_iweb_14_1.png'),IWCreateImage('teaching_files/Watercolor_iweb_13_1.png'),IWCreateImage('teaching_files/Watercolor_iweb_05_1.png')],null,0,0.800000,0.000000,0.000000,0.000000,0.000000,12.000000,12.000000,11.000000,11.000000,13.000000,12.000000,13.000000,12.000000,null,null,null,0.500000),reflection_0:new IWReflection({opacity:1.00,offset:1.70}),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)),stroke_1:new IWPhotoFrame([IWCreateImage('teaching_files/Watercolor_iweb_01.png'),IWCreateImage('teaching_files/Watercolor_iweb_02.png'),IWCreateImage('teaching_files/Watercolor_iweb_04.png'),IWCreateImage('teaching_files/Watercolor_iweb_08.png'),IWCreateImage('teaching_files/Watercolor_iweb_16.png'),IWCreateImage('teaching_files/Watercolor_iweb_14.png'),IWCreateImage('teaching_files/Watercolor_iweb_13.png'),IWCreateImage('teaching_files/Watercolor_iweb_05.png')],null,0,0.800000,0.000000,0.000000,0.000000,0.000000,12.000000,12.000000,11.000000,11.000000,13.000000,12.000000,13.000000,12.000000,null,null,null,0.500000)});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');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');fixAllIEPNGs('Media/transparent.gif');applyEffects()}
