// Created by iWeb 3.0.1 local-build-20100628

function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id1" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="300" height="16" style="height: 16px; left: 148px; position: absolute; top: 334px; width: 300px; z-index: 1; "><param name="src" value="Media/01%20Whiskey%20Before%20Breakfast.m4a" /><param name="controller" value="true" /><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="true" /></object>');}
else if(isiPhone)
{document.write('<object id="id1" type="video/quicktime" width="300" height="16" style="height: 16px; left: 148px; position: absolute; top: 334px; width: 300px; z-index: 1; "><param name="src" value="Media/01%20Whiskey%20Before%20Breakfast.m4a"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id1" type="video/quicktime" width="300" height="16" data="Media/01%20Whiskey%20Before%20Breakfast.m4a" style="height: 16px; left: 148px; position: absolute; top: 334px; width: 300px; z-index: 1; "><param name="src" value="Media/01%20Whiskey%20Before%20Breakfast.m4a"/><param name="controller" value="true"/><param name="autoplay" value="false"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="true"/></object>');}}
function createMediaStream_id14()
{return IWCreatePhotocast("http://www.modernmountaindulcimer.com/Modern_Mountain_Dulcimer/GALLERY_2_files/rss.xml",true);}
function initializeMediaStream_id14()
{createMediaStream_id14().load('http://www.modernmountaindulcimer.com/Modern_Mountain_Dulcimer',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id14',{pageIndex:0}));});}
function layoutMediaGrid_id14(range)
{createMediaStream_id14().load('http://www.modernmountaindulcimer.com/Modern_Mountain_Dulcimer',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id14',new IWPhotoGridLayout(3,new IWSize(148,148),new IWSize(148,32),new IWSize(178,195),27,27,0,new IWSize(0,0)),new IWStrokeParts([{rect:new IWRect(-1,1,2,146),url:'GALLERY_2_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'GALLERY_2_files/stroke_9.png'},{rect:new IWRect(1,-1,146,2),url:'GALLERY_2_files/stroke_10.png'},{rect:new IWRect(147,-1,2,2),url:'GALLERY_2_files/stroke_11.png'},{rect:new IWRect(147,1,2,146),url:'GALLERY_2_files/stroke_12.png'},{rect:new IWRect(147,147,2,2),url:'GALLERY_2_files/stroke_13.png'},{rect:new IWRect(1,147,146,2),url:'GALLERY_2_files/stroke_14.png'},{rect:new IWRect(-1,147,2,2),url:'GALLERY_2_files/stroke_15.png'}],new IWSize(148,148)),imageStream,range,new IWShadow({blurRadius:5,offset:new IWPoint(0.7071,0.7071),color:'#000000',opacity:0.500000}),null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id14(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id14(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id14(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,179),url:'GALLERY_2_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'GALLERY_2_files/stroke_1.png'},{rect:new IWRect(1,-1,239,2),url:'GALLERY_2_files/stroke_2.png'},{rect:new IWRect(240,-1,2,2),url:'GALLERY_2_files/stroke_3.png'},{rect:new IWRect(240,1,2,179),url:'GALLERY_2_files/stroke_4.png'},{rect:new IWRect(240,180,2,2),url:'GALLERY_2_files/stroke_5.png'},{rect:new IWRect(1,180,239,2),url:'GALLERY_2_files/stroke_6.png'},{rect:new IWRect(-1,180,2,2),url:'GALLERY_2_files/stroke_7.png'}],new IWSize(241,181)),shadow_1:new IWShadow({blurRadius:15,offset:new IWPoint(8.7762,8.1840),color:'#000000',opacity:1.000000}),shadow_0:new IWShadow({blurRadius:5,offset:new IWPoint(3.5355,3.5355),color:'#000000',opacity:0.500000})});registry.applyEffects();}
function hostedOnDM()
{return false;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
loadMozillaCSS('GALLERY_2_files/GALLERY_2Moz.css')
adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');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('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');NotificationCenter.addObserver(null,relayoutMediaGrid_id14,'RangeChanged','id14')
adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');fixAllIEPNGs('Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id14()}
function onPageUnload()
{Widget.onunload();}
