// Created by iWeb 2.0.4 local-build-20111230

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="622" height="366" style="height: 366px; position: relative; width: 622px; " class="inline-block"><param name="src" value="Media/Yarman-36_Layer_I_Circle_of_fifths-desktop.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="622" height="366" style="height: 366px; position: relative; width: 622px; " class="inline-block"><param name="src" value="yarman36_files/Yarman-36_Layer_I_Circle_of_fifths.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/Yarman-36_Layer_I_Circle_of_fifths-desktop.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id2" type="video/quicktime" width="622" height="366" data="Media/Yarman-36_Layer_I_Circle_of_fifths-desktop.m4v" style="height: 366px; position: relative; width: 622px; " class="inline-block"><param name="src" value="Media/Yarman-36_Layer_I_Circle_of_fifths-desktop.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="id3" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="622" height="366" style="height: 366px; position: relative; width: 622px; " class="inline-block"><param name="src" value="Media/Yarman-36_Layer_II_Circle_of_fifths-desktop.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="id3" type="video/quicktime" width="622" height="366" style="height: 366px; position: relative; width: 622px; " class="inline-block"><param name="src" value="yarman36_files/Yarman-36_Layer_II_Circle_of_fifths.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/Yarman-36_Layer_II_Circle_of_fifths-desktop.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id3" type="video/quicktime" width="622" height="366" data="Media/Yarman-36_Layer_II_Circle_of_fifths-desktop.m4v" style="height: 366px; position: relative; width: 622px; " class="inline-block"><param name="src" value="Media/Yarman-36_Layer_II_Circle_of_fifths-desktop.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 writeMovie3()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id4" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="622" height="366" style="height: 366px; position: relative; width: 622px; " class="inline-block"><param name="src" value="Media/Yarman-36_Circle_of_major_chords-desktop.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="id4" type="video/quicktime" width="622" height="366" style="height: 366px; position: relative; width: 622px; " class="inline-block"><param name="src" value="yarman36_files/Yarman-36_Circle_of_major_chords.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/Yarman-36_Circle_of_major_chords-desktop.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id4" type="video/quicktime" width="622" height="366" data="Media/Yarman-36_Circle_of_major_chords-desktop.m4v" style="height: 366px; position: relative; width: 622px; " class="inline-block"><param name="src" value="Media/Yarman-36_Circle_of_major_chords-desktop.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 writeMovie4()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id5" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="622" height="366" style="height: 366px; position: relative; width: 622px; " class="inline-block"><param name="src" value="Media/Yarman-36_Layer_III_Circle_of_fifths-desktop.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="id5" type="video/quicktime" width="622" height="366" style="height: 366px; position: relative; width: 622px; " class="inline-block"><param name="src" value="yarman36_files/Yarman-36_Layer_III_Circle_of_fifths.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/Yarman-36_Layer_III_Circle_of_fifths-desktop.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id5" type="video/quicktime" width="622" height="366" data="Media/Yarman-36_Layer_III_Circle_of_fifths-desktop.m4v" style="height: 366px; position: relative; width: 622px; " class="inline-block"><param name="src" value="Media/Yarman-36_Layer_III_Circle_of_fifths-desktop.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 writeMovie5()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id6" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="622" height="366" style="height: 366px; position: relative; width: 622px; " class="inline-block"><param name="src" value="Media/Yarman-36_chord_examples-desktop.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="id6" type="video/quicktime" width="622" height="366" style="height: 366px; position: relative; width: 622px; " class="inline-block"><param name="src" value="yarman36_files/Yarman-36_chord_examples.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/Yarman-36_chord_examples-desktop.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id6" type="video/quicktime" width="622" height="366" data="Media/Yarman-36_chord_examples-desktop.m4v" style="height: 366px; position: relative; width: 622px; " class="inline-block"><param name="src" value="Media/Yarman-36_chord_examples-desktop.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 writeMovie6()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id7" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="622" height="366" style="height: 366px; position: relative; width: 622px; " class="inline-block"><param name="src" value="Media/Yarman-36_maqam_examples-desktop.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="id7" type="video/quicktime" width="622" height="366" style="height: 366px; position: relative; width: 622px; " class="inline-block"><param name="src" value="yarman36_files/Yarman-36_maqam_examples.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/Yarman-36_maqam_examples-desktop.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id7" type="video/quicktime" width="622" height="366" data="Media/Yarman-36_maqam_examples-desktop.m4v" style="height: 366px; position: relative; width: 622px; " class="inline-block"><param name="src" value="Media/Yarman-36_maqam_examples-desktop.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_1:new IWPhotoFrame([IWCreateImage('yarman36_files/Freestyle_01.png'),IWCreateImage('yarman36_files/Freestyle_02.png'),IWCreateImage('yarman36_files/Freestyle_03.png'),IWCreateImage('yarman36_files/Freestyle_06.png'),IWCreateImage('yarman36_files/Freestyle_09.png'),IWCreateImage('yarman36_files/Freestyle_08.png'),IWCreateImage('yarman36_files/Freestyle_07.png'),IWCreateImage('yarman36_files/Freestyle_04.png')],null,2,0.800000,3.000000,3.000000,3.000000,3.000000,22.000000,24.000000,23.000000,25.000000,166.000000,222.000000,166.000000,222.000000,null,null,null,0.100000),stroke_0:new IWPhotoFrame([IWCreateImage('yarman36_files/Freestyle_01.png'),IWCreateImage('yarman36_files/Freestyle_02.png'),IWCreateImage('yarman36_files/Freestyle_03.png'),IWCreateImage('yarman36_files/Freestyle_06.png'),IWCreateImage('yarman36_files/Freestyle_09.png'),IWCreateImage('yarman36_files/Freestyle_08.png'),IWCreateImage('yarman36_files/Freestyle_07.png'),IWCreateImage('yarman36_files/Freestyle_04.png')],null,2,0.800000,3.000000,3.000000,3.000000,3.000000,22.000000,24.000000,23.000000,25.000000,166.000000,222.000000,166.000000,222.000000,null,null,null,0.100000),stroke_4:new IWPhotoFrame([IWCreateImage('yarman36_files/FormalShadow_01.png'),IWCreateImage('yarman36_files/FormalShadow_02.png'),IWCreateImage('yarman36_files/FormalShadow_03.png'),IWCreateImage('yarman36_files/FormalShadow_06.png'),IWCreateImage('yarman36_files/FormalShadow_12.png'),IWCreateImage('yarman36_files/FormalShadow_11.png'),IWCreateImage('yarman36_files/FormalShadow_10.png'),IWCreateImage('yarman36_files/FormalShadow_04.png')],null,2,0.700000,1.000000,5.000000,1.000000,4.000000,17.000000,17.000000,17.000000,36.000000,4.000000,837.000000,4.000000,837.000000,null,null,null,0.100000),stroke_7:new IWStrokeParts([{rect:new IWRect(-6,3,10,854),url:'yarman36_files/stroke_16.png'},{rect:new IWRect(-7,-5,11,8),url:'yarman36_files/stroke_17.png'},{rect:new IWRect(4,-4,600,7),url:'yarman36_files/stroke_18.png'},{rect:new IWRect(604,-5,11,8),url:'yarman36_files/stroke_19.png'},{rect:new IWRect(604,3,7,854),url:'yarman36_files/stroke_20.png'},{rect:new IWRect(604,857,5,5),url:'yarman36_files/stroke_21.png'},{rect:new IWRect(4,857,600,7),url:'yarman36_files/stroke_22.png'},{rect:new IWRect(-7,857,11,9),url:'yarman36_files/stroke_23.png'}],new IWSize(608,860)),stroke_3:new IWPhotoFrame([IWCreateImage('yarman36_files/FormalShadow_01.png'),IWCreateImage('yarman36_files/FormalShadow_02.png'),IWCreateImage('yarman36_files/FormalShadow_03.png'),IWCreateImage('yarman36_files/FormalShadow_06.png'),IWCreateImage('yarman36_files/FormalShadow_12.png'),IWCreateImage('yarman36_files/FormalShadow_11.png'),IWCreateImage('yarman36_files/FormalShadow_10.png'),IWCreateImage('yarman36_files/FormalShadow_04.png')],null,2,0.700000,1.000000,5.000000,1.000000,4.000000,17.000000,17.000000,17.000000,36.000000,4.000000,837.000000,4.000000,837.000000,null,null,null,0.100000),stroke_6:new IWStrokeParts([{rect:new IWRect(-6,5,9,856),url:'yarman36_files/stroke_8.png'},{rect:new IWRect(-7,-7,10,12),url:'yarman36_files/stroke_9.png'},{rect:new IWRect(3,-4,606,9),url:'yarman36_files/stroke_10.png'},{rect:new IWRect(609,-7,6,12),url:'yarman36_files/stroke_11.png'},{rect:new IWRect(609,5,6,856),url:'yarman36_files/stroke_12.png'},{rect:new IWRect(609,861,4,7),url:'yarman36_files/stroke_13.png'},{rect:new IWRect(3,861,606,8),url:'yarman36_files/stroke_14.png'},{rect:new IWRect(-6,861,9,4),url:'yarman36_files/stroke_15.png'}],new IWSize(611,864)),stroke_5:new IWStrokeParts([{rect:new IWRect(-4,4,7,858),url:'yarman36_files/stroke.png'},{rect:new IWRect(-3,-3,6,7),url:'yarman36_files/stroke_1.png'},{rect:new IWRect(3,-4,607,8),url:'yarman36_files/stroke_2.png'},{rect:new IWRect(610,-6,6,10),url:'yarman36_files/stroke_3.png'},{rect:new IWRect(610,4,7,858),url:'yarman36_files/stroke_4.png'},{rect:new IWRect(610,862,5,10),url:'yarman36_files/stroke_5.png'},{rect:new IWRect(3,862,607,6),url:'yarman36_files/stroke_6.png'},{rect:new IWRect(-6,862,9,7),url:'yarman36_files/stroke_7.png'}],new IWSize(612,866)),stroke_2:new IWPhotoFrame([IWCreateImage('yarman36_files/Freestyle_01.png'),IWCreateImage('yarman36_files/Freestyle_02.png'),IWCreateImage('yarman36_files/Freestyle_03.png'),IWCreateImage('yarman36_files/Freestyle_06.png'),IWCreateImage('yarman36_files/Freestyle_09.png'),IWCreateImage('yarman36_files/Freestyle_08.png'),IWCreateImage('yarman36_files/Freestyle_07.png'),IWCreateImage('yarman36_files/Freestyle_04.png')],null,2,0.800000,3.000000,3.000000,3.000000,3.000000,22.000000,24.000000,23.000000,25.000000,166.000000,222.000000,166.000000,222.000000,null,null,null,0.100000)});registry.applyEffects();}
function hostedOnDM()
{return false;}
function onPageLoad()
{loadMozillaCSS('yarman36_files/yarman36Moz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');fixAllIEPNGs('Media/transparent.gif');applyEffects()}

