// Created by iWeb 3.0 local-build-20090625

function createMediaStream_id3()
{return IWCreateMediaCollection("http://www.ioutput.com/EducAid_Sierra_Leone/Welcome_to_Magbenis_Photo_Gallery/Welcome_to_Magbenis_Photo_Gallery_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.ioutput.com/EducAid_Sierra_Leone/Welcome_to_Magbenis_Photo_Gallery',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget5'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.ioutput.com/EducAid_Sierra_Leone/Welcome_to_Magbenis_Photo_Gallery',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(2,new IWSize(248,186),new IWSize(248,34),new IWSize(310,235),27,27,0,new IWSize(89,74)),new IWPhotoFrame([IWCreateImage('Welcome_to_Magbenis_Photo_Gallery_files/spiralboook_ul.png'),IWCreateImage('Welcome_to_Magbenis_Photo_Gallery_files/spiralboook_top.png'),IWCreateImage('Welcome_to_Magbenis_Photo_Gallery_files/spiralboook_ur.png'),IWCreateImage('Welcome_to_Magbenis_Photo_Gallery_files/spiralboook_right.png'),IWCreateImage('Welcome_to_Magbenis_Photo_Gallery_files/spiralboook_lr.png'),IWCreateImage('Welcome_to_Magbenis_Photo_Gallery_files/spiralboook_bottom.png'),IWCreateImage('Welcome_to_Magbenis_Photo_Gallery_files/spiralboook_ll.png'),IWCreateImage('Welcome_to_Magbenis_Photo_Gallery_files/spiralboook_left.png')],null,1,0.800000,0.000000,10.000000,0.000000,19.000000,62.000000,49.000000,48.000000,72.000000,20.000000,1.000000,20.000000,1.000000,null,null,null,0.100000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget5',null,'widget6',{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({reflection_4:new IWReflection({opacity:0.50,offset:2.00}),reflection_0:new IWReflection({opacity:0.50,offset:2.00}),reflection_3:new IWReflection({opacity:0.50,offset:2.00}),stroke_0:new IWEmptyStroke(),reflection_1:new IWReflection({opacity:0.50,offset:2.00}),reflection_2:new IWReflection({opacity:0.50,offset:2.00})});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('Welcome_to_Magbenis_Photo_Gallery_files/Welcome_to_Magbenis_Photo_GalleryMoz.css')
adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');fixupIECSS3Opacity('id1');Widget.onload();fixAllIEPNGs('../Media/transparent.gif');fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}

