// Created by iWeb 3.0.4 local-build-20120104

function createMediaStream_id2()
{return IWCreatePhotocast("http://www.marskepictures.co.uk/http___marskepictures.co.uk/My_Photos_of_Redcar_By_The_Sea_UK_files/rss.xml",true);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://www.marskepictures.co.uk/http___marskepictures.co.uk',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://www.marskepictures.co.uk/http___marskepictures.co.uk',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(3,new IWSize(229,229),new IWSize(229,34),new IWSize(229,278),27,27,0,new IWSize(6,6)),new IWPhotoFrame([IWCreateImage('My_Photos_of_Redcar_By_The_Sea_UK_files/comic-1_01.png'),IWCreateImage('My_Photos_of_Redcar_By_The_Sea_UK_files/comic-1_02.png'),IWCreateImage('My_Photos_of_Redcar_By_The_Sea_UK_files/comic-1_03.png'),IWCreateImage('My_Photos_of_Redcar_By_The_Sea_UK_files/comic-1_06.png'),IWCreateImage('My_Photos_of_Redcar_By_The_Sea_UK_files/comic-1_09.png'),IWCreateImage('My_Photos_of_Redcar_By_The_Sea_UK_files/comic-1_08.png'),IWCreateImage('My_Photos_of_Redcar_By_The_Sea_UK_files/comic-1_07.png'),IWCreateImage('My_Photos_of_Redcar_By_The_Sea_UK_files/comic-1_04.png')],null,0,1.000000,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:'rgb(169, 169, 169)',reflectionHeight:0,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:9},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id2(),args.id);}
if(window.stubPage)
{onStubPage();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id5" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="300" height="16" style="height: 16px; left: 201px; position: absolute; top: 275px; width: 300px; z-index: 1; "><param name="src" value="Media/04.mp3" /><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="300" height="16" style="height: 16px; left: 201px; position: absolute; top: 275px; width: 300px; z-index: 1; "><param name="src" value="Media/04.mp3"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id5" type="video/quicktime" width="300" height="16" data="Media/04.mp3" style="height: 16px; left: 201px; position: absolute; top: 275px; width: 300px; z-index: 1; "><param name="src" value="Media/04.mp3"/><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({shadow_0:new IWShadow({blurRadius:6,offset:new IWPoint(10.8327,14.3754),color:'#000000',opacity:0.230000})});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('My_Photos_of_Redcar_By_The_Sea_UK_files/My_Photos_of_Redcar_By_The_Sea_UKMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');detectBrowser();adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');fixAllIEPNGs('Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}

