// Created by iWeb 3.0.4 local-build-20111023

function createMediaStream_id3()
{return IWCreatePhotocast("http://www.marskepictures.co.uk/http___marskepictures.co.uk/My_Photos_of_Marske_Brass_files/rss.xml",true);}
function initializeMediaStream_id3()
{createMediaStream_id3().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','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.marskepictures.co.uk/http___marskepictures.co.uk',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(3,new IWSize(224,224),new IWSize(224,34),new IWSize(230,273),27,27,0,new IWSize(0,0)),new IWStrokeParts([{rect:new IWRect(-1,1,2,221),url:'My_Photos_of_Marske_Brass_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'My_Photos_of_Marske_Brass_files/stroke_1.png'},{rect:new IWRect(1,-1,221,2),url:'My_Photos_of_Marske_Brass_files/stroke_2.png'},{rect:new IWRect(222,-1,2,2),url:'My_Photos_of_Marske_Brass_files/stroke_3.png'},{rect:new IWRect(222,1,2,221),url:'My_Photos_of_Marske_Brass_files/stroke_4.png'},{rect:new IWRect(222,222,2,2),url:'My_Photos_of_Marske_Brass_files/stroke_5.png'},{rect:new IWRect(1,222,221,2),url:'My_Photos_of_Marske_Brass_files/stroke_6.png'},{rect:new IWRect(-1,222,2,2),url:'My_Photos_of_Marske_Brass_files/stroke_7.png'}],new IWSize(223,223)),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_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),args.id);}
if(window.stubPage)
{onStubPage();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id7" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="270" height="16" style="height: 16px; left: 429px; position: absolute; top: 330px; width: 270px; z-index: 1; "><param name="src" value="Media/the%20transporter%20bridge%20song.wav" /><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="270" height="16" style="height: 16px; left: 429px; position: absolute; top: 330px; width: 270px; z-index: 1; "><param name="src" value="Media/the%20transporter%20bridge%20song.wav"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id7" type="video/quicktime" width="270" height="16" data="Media/the%20transporter%20bridge%20song.wav" style="height: 16px; left: 429px; position: absolute; top: 330px; width: 270px; z-index: 1; "><param name="src" value="Media/the%20transporter%20bridge%20song.wav"/><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_0:new IWStrokeParts([{rect:new IWRect(-2,-1,1,218),url:'My_Photos_of_Marske_Brass_files/stroke_8.png'},{rect:new IWRect(-2,-2,1,1),url:'My_Photos_of_Marske_Brass_files/stroke_9.png'},{rect:new IWRect(-1,-2,302,1),url:'My_Photos_of_Marske_Brass_files/stroke_10.png'},{rect:new IWRect(301,-2,1,1),url:'My_Photos_of_Marske_Brass_files/stroke_11.png'},{rect:new IWRect(301,-1,1,218),url:'My_Photos_of_Marske_Brass_files/stroke_12.png'},{rect:new IWRect(301,217,1,1),url:'My_Photos_of_Marske_Brass_files/stroke_13.png'},{rect:new IWRect(-1,217,302,1),url:'My_Photos_of_Marske_Brass_files/stroke_14.png'},{rect:new IWRect(-2,217,1,1),url:'My_Photos_of_Marske_Brass_files/stroke_15.png'}],new IWSize(300,215)),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_Marske_Brass_files/My_Photos_of_Marske_BrassMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');detectBrowser();adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');fixAllIEPNGs('Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}

