// Created by iWeb 3.0.2 local-build-20101014

function createMediaStream_id4()
{return IWCreatePhotocast("http://www.ferntv.ca/Name_That_Track/Electric_Zoo_Festival_Gallery_files/rss.xml",true);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('http://www.ferntv.ca/Name_That_Track',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('http://www.ferntv.ca/Name_That_Track',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(3,new IWSize(193,193),new IWSize(193,32),new IWSize(204,240),27,27,0,new IWSize(14,14)),new IWPhotoFrame([IWCreateImage('Electric_Zoo_Festival_Gallery_files/Hardcover_bevel_01.png'),IWCreateImage('Electric_Zoo_Festival_Gallery_files/Hardcover_bevel_02.png'),IWCreateImage('Electric_Zoo_Festival_Gallery_files/Hardcover_bevel_03.png'),IWCreateImage('Electric_Zoo_Festival_Gallery_files/Hardcover_bevel_06.png'),IWCreateImage('Electric_Zoo_Festival_Gallery_files/Hardcover_bevel_09.png'),IWCreateImage('Electric_Zoo_Festival_Gallery_files/Hardcover_bevel_08.png'),IWCreateImage('Electric_Zoo_Festival_Gallery_files/Hardcover_bevel_07.png'),IWCreateImage('Electric_Zoo_Festival_Gallery_files/Hardcover_bevel_04.png')],null,0,0.400000,0.000000,0.000000,0.000000,0.000000,17.000000,17.000000,17.000000,17.000000,403.000000,295.000000,403.000000,295.000000,null,null,null,0.100000),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
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({shadow_1:new IWShadow({blurRadius:20,offset:new IWPoint(17.6777,17.6777),color:'#000000',opacity:0.790000}),shadow_0:new IWShadow({blurRadius:20,offset:new IWPoint(17.6777,17.6777),color:'#000000',opacity:0.790000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-3,-1,2,163),url:'Electric_Zoo_Festival_Gallery_files/stroke.png'},{rect:new IWRect(-3,-3,2,2),url:'Electric_Zoo_Festival_Gallery_files/stroke_1.png'},{rect:new IWRect(-1,-3,164,2),url:'Electric_Zoo_Festival_Gallery_files/stroke_2.png'},{rect:new IWRect(163,-3,2,2),url:'Electric_Zoo_Festival_Gallery_files/stroke_3.png'},{rect:new IWRect(163,-1,2,163),url:'Electric_Zoo_Festival_Gallery_files/stroke_4.png'},{rect:new IWRect(163,162,2,2),url:'Electric_Zoo_Festival_Gallery_files/stroke_5.png'},{rect:new IWRect(-1,162,164,2),url:'Electric_Zoo_Festival_Gallery_files/stroke_6.png'},{rect:new IWRect(-3,162,2,2),url:'Electric_Zoo_Festival_Gallery_files/stroke_7.png'}],new IWSize(161,161))});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('Electric_Zoo_Festival_Gallery_files/Electric_Zoo_Festival_GalleryMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');NotificationCenter.addObserver(null,relayoutMediaGrid_id4,'RangeChanged','id4')
detectBrowser();fixAllIEPNGs('Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}

