// Created by iWeb 3.0.1 local-build-20100119

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="75" height="16" style="height: 0px; left: 587px; position: absolute; top: 40px; width: 75px; z-index: 1; "><param name="src" value="Media/Peacock%20Piano%20Study%20compress%20website.mp3" /><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="id1" type="video/quicktime" width="75" height="16" style="height: 0px; left: 587px; position: absolute; top: 40px; width: 75px; z-index: 1; "><param name="src" value="Media/Peacock%20Piano%20Study%20compress%20website.mp3"/><param name="controller" value="false"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id1" type="video/quicktime" width="75" height="16" data="Media/Peacock%20Piano%20Study%20compress%20website.mp3" style="height: 0px; left: 587px; position: absolute; top: 40px; width: 75px; z-index: 1; "><param name="src" value="Media/Peacock%20Piano%20Study%20compress%20website.mp3"/><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>');}}
function createMediaStream_id4()
{return IWCreatePhotocast("http://www.peacockthemovie.com/Peacock/Gallery_files/rss.xml",true);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('http://www.peacockthemovie.com/Peacock',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('http://www.peacockthemovie.com/Peacock',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(5,new IWSize(112,112),new IWSize(112,0),new IWSize(112,127),27,27,0,new IWSize(15,16)),new IWPhotoFrame([IWCreateImage('Gallery_files/Freestyle_01.png'),IWCreateImage('Gallery_files/Freestyle_02.png'),IWCreateImage('Gallery_files/Freestyle_03.png'),IWCreateImage('Gallery_files/Freestyle_06.png'),IWCreateImage('Gallery_files/Freestyle_09.png'),IWCreateImage('Gallery_files/Freestyle_08.png'),IWCreateImage('Gallery_files/Freestyle_07.png'),IWCreateImage('Gallery_files/Freestyle_04.png')],null,2,0.400000,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),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:0,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id4(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id4(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id4(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({reflection_0:new IWReflection({opacity:0.50,offset:1.00})});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
loadMozillaCSS('Gallery_files/GalleryMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id4,'RangeChanged','id4')
detectBrowser();Widget.onload();fixupIECSS3Opacity('id2');fixupIECSS3Opacity('id3');fixAllIEPNGs('Media/transparent.gif');fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}
