// Created by iWeb 3.0.3 local-build-20110617

function createMediaStream_id3()
{return IWCreateMediaCollection("http://www.film41.co.uk/F41/090719WycHalf/090719WycHalf_files/rss.xml",false,1,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.film41.co.uk/F41/090719WycHalf',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget21'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.film41.co.uk/F41/090719WycHalf',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(2,new IWSize(304,228),new IWSize(304,31),new IWSize(344,274),27,27,0,new IWSize(29,29)),new IWPhotoFrame([IWCreateImage('090719WycHalf_files/ul.png'),IWCreateImage('090719WycHalf_files/top.png'),IWCreateImage('090719WycHalf_files/ur.png'),IWCreateImage('090719WycHalf_files/right.png'),IWCreateImage('090719WycHalf_files/lr.png'),IWCreateImage('090719WycHalf_files/bottom.png'),IWCreateImage('090719WycHalf_files/ll.png'),IWCreateImage('090719WycHalf_files/left.png')],null,0,0.500000,130.000000,10.000000,118.000000,45.000000,147.000000,30.000000,157.000000,83.000000,251.000000,120.000000,260.000000,120.000000,null,null,null,0.300000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget21',null,'widget22',{showTitle:true,showMetric:true})});}
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();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,153),url:'090719WycHalf_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'090719WycHalf_files/stroke_1.png'},{rect:new IWRect(1,-1,207,2),url:'090719WycHalf_files/stroke_2.png'},{rect:new IWRect(208,-1,2,2),url:'090719WycHalf_files/stroke_3.png'},{rect:new IWRect(208,1,2,153),url:'090719WycHalf_files/stroke_4.png'},{rect:new IWRect(208,154,2,2),url:'090719WycHalf_files/stroke_5.png'},{rect:new IWRect(1,154,207,2),url:'090719WycHalf_files/stroke_6.png'},{rect:new IWRect(-1,154,2,2),url:'090719WycHalf_files/stroke_7.png'}],new IWSize(209,155)),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.420000}),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000})});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('090719WycHalf_files/090719WycHalfMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
Widget.onload();fixAllIEPNGs('../Media/transparent.gif');applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}

