// Created by iWeb 3.0.3 local-build-20110523

function createMediaStream_id3()
{return IWCreatePhotocast("file://localhost/Users/natandrachael/Documents/HILRIDE/Hilride%20Projects%202011/Ales%20and%20Trails%202011/Website/Publish/Ales_and_Trails/2010_Photos_files/rss.xml",false);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('file://localhost/Users/natandrachael/Documents/HILRIDE/Hilride%20Projects%202011/Ales%20and%20Trails%202011/Website/Publish/Ales_and_Trails',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('file://localhost/Users/natandrachael/Documents/HILRIDE/Hilride%20Projects%202011/Ales%20and%20Trails%202011/Website/Publish/Ales_and_Trails',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(3,new IWSize(174,174),new IWSize(174,28),new IWSize(183,217),27,27,0,new IWSize(0,0)),new IWEmptyStroke(),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:0,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:1},'Media/slideshow.html','widget1','widget2','widget3')});}
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(-5,5,10,123),url:'2010_Photos_files/stroke.png'},{rect:new IWRect(-5,-5,10,10),url:'2010_Photos_files/stroke_1.png'},{rect:new IWRect(5,-5,350,10),url:'2010_Photos_files/stroke_2.png'},{rect:new IWRect(355,-5,10,10),url:'2010_Photos_files/stroke_3.png'},{rect:new IWRect(355,5,10,123),url:'2010_Photos_files/stroke_4.png'},{rect:new IWRect(355,128,10,10),url:'2010_Photos_files/stroke_5.png'},{rect:new IWRect(5,128,350,10),url:'2010_Photos_files/stroke_6.png'},{rect:new IWRect(-5,128,10,10),url:'2010_Photos_files/stroke_7.png'}],new IWSize(360,133))});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('2010_Photos_files/2010_PhotosMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');Widget.onload();fixAllIEPNGs('Media/transparent.gif');IMpreload('2010_Photos_files','shapeimage_7','0');applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}

