// Created by iWeb 2.0.2 local-build-20071113

function createMediaStream_id1()
{return IWCreatePhotocast("http://www.damianwestsalon.com/damian_west_salon/gallery_files/rss.xml",false,true);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.damianwestsalon.com/damian_west_salon',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://www.damianwestsalon.com/damian_west_salon',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(5,new IWSize(135,135),new IWSize(135,0),new IWSize(148,150),27,27,0,new IWSize(4,4)),new IWPhotoFrame([IWCreateImage('http://www.mac.com/st/1/sharedassets/2.0/Common/Frames/Comic_shadow/comic-1_01.png'),IWCreateImage('http://www.mac.com/st/1/sharedassets/2.0/Common/Frames/Comic_shadow/comic-1_02.png'),IWCreateImage('http://www.mac.com/st/1/sharedassets/2.0/Common/Frames/Comic_shadow/comic-1_03.png'),IWCreateImage('http://www.mac.com/st/1/sharedassets/2.0/Common/Frames/Comic_shadow/comic-1_06.png'),IWCreateImage('http://www.mac.com/st/1/sharedassets/2.0/Common/Frames/Comic_shadow/comic-1_09.png'),IWCreateImage('http://www.mac.com/st/1/sharedassets/2.0/Common/Frames/Comic_shadow/comic-1_08.png'),IWCreateImage('http://www.mac.com/st/1/sharedassets/2.0/Common/Frames/Comic_shadow/comic-1_07.png'),IWCreateImage('http://www.mac.com/st/1/sharedassets/2.0/Common/Frames/Comic_shadow/comic-1_04.png')],null,0,0.800000,4.000000,4.000000,1.000000,1.000000,5.000000,5.000000,6.000000,6.000000,71.000000,115.000000,71.000000,115.000000,null,null,null,0.500000),imageStream,range,null,null,1.000000,{backgroundColor:'#731e0a',reflectionHeight:0,reflectionOffset:2,captionHeight:0,fullScreen:0,transitionIndex:9},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id1(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id1(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id1(),args.id);}
if(window.stubPage)
{onStubPage();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id11" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="102" height="16" style="height: 0px; left: 1218px; position: absolute; top: 406px; width: 102px; z-index: 1; "><param name="src" value="Media/1-06%20Unlike%20Me.m4a" /><param name="controller" value="false" /><param name="autoplay" value="true" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="true" /></object>');}
else if(isiPhone)
{document.write('<object id="id11" type="video/quicktime" width="102" height="16" style="height: 0px; left: 1218px; position: absolute; top: 406px; width: 102px; z-index: 1; "><param name="src" value="Media/1-06%20Unlike%20Me.m4a"/><param name="controller" value="false"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id11" type="video/quicktime" width="102" height="16" data="Media/1-06%20Unlike%20Me.m4a" style="height: 0px; left: 1218px; position: absolute; top: 406px; width: 102px; z-index: 1; "><param name="src" value="Media/1-06%20Unlike%20Me.m4a"/><param name="controller" value="false"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="true"/></object>');}}
setTransparentGifURL('Media/transparent.gif');function hostedOnDM()
{return true;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
IWRegisterNamedImage('contribution overlay','Media/Photo-Overlay-Contribution.png')
loadMozillaCSS('gallery_files/galleryMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','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');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');detectBrowser();fixAllIEPNGs('Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();initializeMediaStream_id1()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}
