// Created by iWeb 2.0.4 local-build-20090727

function createMediaStream_id2()
{return IWCreatePhotocast("file://localhost/Users/linlee/Desktop/linleel/Fairies_files/rss.xml",true,true);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('file://localhost/Users/linlee/Desktop/linleel',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('file://localhost/Users/linlee/Desktop/linleel',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(2,new IWSize(298,298),new IWSize(298,103),new IWSize(314,416),27,27,0,new IWSize(0,0)),new IWStrokeParts([{rect:new IWRect(-6,5,12,286),url:'Fairies_files/stroke.png'},{rect:new IWRect(-8,-7,14,12),url:'Fairies_files/stroke_1.png'},{rect:new IWRect(6,-8,285,13),url:'Fairies_files/stroke_2.png'},{rect:new IWRect(291,-10,15,15),url:'Fairies_files/stroke_3.png'},{rect:new IWRect(291,5,15,286),url:'Fairies_files/stroke_4.png'},{rect:new IWRect(291,291,13,11),url:'Fairies_files/stroke_5.png'},{rect:new IWRect(6,291,285,15),url:'Fairies_files/stroke_6.png'},{rect:new IWRect(-6,291,12,20),url:'Fairies_files/stroke_7.png'}],new IWSize(298,298)),imageStream,range,new IWShadow({blurRadius:10,offset:new IWPoint(-15.3009,-4.6779),color:'#0b1041',opacity:0.750000}),null,1.000000,null,'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_3:new IWShadow({blurRadius:17,offset:new IWPoint(-1.8470,-2.3640),color:'#804000',opacity:0.750000}),shadow_4:new IWShadow({blurRadius:10,offset:new IWPoint(-15.3009,-4.6779),color:'#480909',opacity:0.750000}),reflection_0:new IWReflection({opacity:0.93,offset:1.00}),shadow_0:new IWShadow({blurRadius:17,offset:new IWPoint(-1.8470,-2.3640),color:'#804000',opacity:0.750000}),shadow_1:new IWShadow({blurRadius:17,offset:new IWPoint(-1.8470,-2.3640),color:'#804000',opacity:0.750000}),shadow_2:new IWShadow({blurRadius:17,offset:new IWPoint(-1.8470,-2.3640),color:'#804000',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')
IWRegisterNamedImage('contribution overlay','Media/Photo-Overlay-Contribution.png')
loadMozillaCSS('Fairies_files/FairiesMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');Widget.onload();fixAllIEPNGs('Media/transparent.gif');IMpreload('Fairies_files','shapeimage_1','0');IMpreload('Fairies_files','shapeimage_2','0');IMpreload('Fairies_files','shapeimage_3','0');IMpreload('Fairies_files','shapeimage_4','0');IMpreload('Fairies_files','shapeimage_5','0');IMpreload('Fairies_files','shapeimage_6','0');applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}
