// Created by iWeb 3.0.1 local-build-20091209

function createMediaStream_id3()
{return IWCreateMediaCollection("http://www.nzfilmlocations.com/NZFL1/Film_Locations/Film_Locations_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.nzfilmlocations.com/NZFL1/Film_Locations',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget12'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.nzfilmlocations.com/NZFL1/Film_Locations',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(3,new IWSize(152,114),new IWSize(152,32),new IWSize(169,161),27,27,0,new IWSize(14,20)),new IWPhotoFrame([IWCreateImage('Film_Locations_files/FormalShadow_01.png'),IWCreateImage('Film_Locations_files/FormalShadow_02.png'),IWCreateImage('Film_Locations_files/FormalShadow_03.png'),IWCreateImage('Film_Locations_files/FormalShadow_06.png'),IWCreateImage('Film_Locations_files/FormalShadow_12.png'),IWCreateImage('Film_Locations_files/FormalShadow_11.png'),IWCreateImage('Film_Locations_files/FormalShadow_10.png'),IWCreateImage('Film_Locations_files/FormalShadow_04.png')],null,2,0.466667,1.000000,5.000000,1.000000,4.000000,17.000000,17.000000,17.000000,36.000000,4.000000,837.000000,4.000000,837.000000,null,null,null,0.100000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget12',null,'widget13',{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_2:new IWPhotoFrame([IWCreateImage('Film_Locations_files/techblack-frame_01_1.png'),IWCreateImage('Film_Locations_files/techblack-frame_02_1.png'),IWCreateImage('Film_Locations_files/techblack-frame_03_1.png'),IWCreateImage('Film_Locations_files/techblack-frame_06_1.png'),IWCreateImage('Film_Locations_files/techblack-frame_09_1.png'),IWCreateImage('Film_Locations_files/techblack-frame_08_1.png'),IWCreateImage('Film_Locations_files/techblack-frame_07_1.png'),IWCreateImage('Film_Locations_files/techblack-frame_04_1.png')],null,2,0.597368,0.000000,0.000000,0.000000,0.000000,16.000000,16.000000,16.000000,18.000000,543.000000,380.000000,543.000000,380.000000,null,null,null,0.100000),stroke_3:new IWPhotoFrame([IWCreateImage('Film_Locations_files/techblack-frame_01_2.png'),IWCreateImage('Film_Locations_files/techblack-frame_02_2.png'),IWCreateImage('Film_Locations_files/techblack-frame_03_2.png'),IWCreateImage('Film_Locations_files/techblack-frame_06_2.png'),IWCreateImage('Film_Locations_files/techblack-frame_09_2.png'),IWCreateImage('Film_Locations_files/techblack-frame_08_2.png'),IWCreateImage('Film_Locations_files/techblack-frame_07_2.png'),IWCreateImage('Film_Locations_files/techblack-frame_04_2.png')],null,2,0.597368,0.000000,0.000000,0.000000,0.000000,16.000000,16.000000,16.000000,18.000000,543.000000,380.000000,543.000000,380.000000,null,null,null,0.100000),shadow_6:new IWShadow({blurRadius:10,offset:new IWPoint(18.5437,7.4921),color:'#000000',opacity:0.750000}),shadow_2:new IWShadow({blurRadius:10,offset:new IWPoint(18.5437,7.4921),color:'#000000',opacity:0.750000}),shadow_5:new IWShadow({blurRadius:10,offset:new IWPoint(18.5437,7.4921),color:'#000000',opacity:0.750000}),stroke_1:new IWPhotoFrame([IWCreateImage('Film_Locations_files/techblack-frame_01.png'),IWCreateImage('Film_Locations_files/techblack-frame_02.png'),IWCreateImage('Film_Locations_files/techblack-frame_03.png'),IWCreateImage('Film_Locations_files/techblack-frame_06.png'),IWCreateImage('Film_Locations_files/techblack-frame_09.png'),IWCreateImage('Film_Locations_files/techblack-frame_08.png'),IWCreateImage('Film_Locations_files/techblack-frame_07.png'),IWCreateImage('Film_Locations_files/techblack-frame_04.png')],null,2,0.597368,0.000000,0.000000,0.000000,0.000000,16.000000,16.000000,16.000000,18.000000,543.000000,380.000000,543.000000,380.000000,null,null,null,0.100000),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(18.5437,7.4921),color:'#000000',opacity:0.750000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,78),url:'Film_Locations_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Film_Locations_files/stroke_1.png'},{rect:new IWRect(1,-1,638,2),url:'Film_Locations_files/stroke_2.png'},{rect:new IWRect(639,-1,2,2),url:'Film_Locations_files/stroke_3.png'},{rect:new IWRect(639,1,2,78),url:'Film_Locations_files/stroke_4.png'},{rect:new IWRect(639,79,2,2),url:'Film_Locations_files/stroke_5.png'},{rect:new IWRect(1,79,638,2),url:'Film_Locations_files/stroke_6.png'},{rect:new IWRect(-1,79,2,2),url:'Film_Locations_files/stroke_7.png'}],new IWSize(640,80)),shadow_8:new IWShadow({blurRadius:10,offset:new IWPoint(18.5437,7.4921),color:'#000000',opacity:0.750000}),shadow_4:new IWShadow({blurRadius:10,offset:new IWPoint(18.5437,7.4921),color:'#000000',opacity:0.750000}),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(18.5437,7.4921),color:'#000000',opacity:0.750000}),shadow_3:new IWShadow({blurRadius:10,offset:new IWPoint(18.5437,7.4921),color:'#000000',opacity:0.750000}),shadow_7:new IWShadow({blurRadius:10,offset:new IWPoint(18.5437,7.4921),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('Film_Locations_files/Film_LocationsMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}
