// Created by iWeb 3.0.1 local-build-20100722

function createMediaStream_id3()
{return IWCreateMediaCollection("http://Learnla.org/Learnla/Photo_Gallery/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://Learnla.org/Learnla/Photo_Gallery',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget6'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://Learnla.org/Learnla/Photo_Gallery',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(2,new IWSize(329,246),new IWSize(329,32),new IWSize(344,293),27,27,0,new IWSize(78,69)),new IWPhotoFrame([IWCreateImage('Photo_Gallery_files/spiralbook-creme_ul.png'),IWCreateImage('Photo_Gallery_files/spiralbook-creme_top.png'),IWCreateImage('Photo_Gallery_files/spiralbook-creme_ur.png'),IWCreateImage('Photo_Gallery_files/spiralbook-creme_right.png'),IWCreateImage('Photo_Gallery_files/spiralbook-creme_lr.png'),IWCreateImage('Photo_Gallery_files/spiralbook-creme_bottom.png'),IWCreateImage('Photo_Gallery_files/spiralbook-creme_ll.png'),IWCreateImage('Photo_Gallery_files/spiralbook-creme_left.png')],null,1,0.714286,15.000000,0.000000,0.000000,0.000000,83.000000,40.000000,40.000000,55.000000,106.000000,40.000000,40.000000,32.000000,null,null,null,0.300000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget6',null,'widget7',{showTitle:false,showMetric:false})});}
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({shadow_1:new IWShadow({blurRadius:4,offset:new IWPoint(3.5267,4.8541),color:'#000000',opacity:0.370000}),shadow_0:new IWShadow({blurRadius:4,offset:new IWPoint(0.0000,0.0000),color:'#000000',opacity:0.370000}),reflection_0:new IWReflection({opacity:0.31,offset:0.33})});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('Photo_Gallery_files/Photo_GalleryMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');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');fixAllIEPNGs('../Media/transparent.gif');IMpreload('Photo_Gallery_files','shapeimage_3','0');IMpreload('Photo_Gallery_files','shapeimage_4','0');IMpreload('Photo_Gallery_files','shapeimage_5','0');IMpreload('Photo_Gallery_files','shapeimage_6','0');IMpreload('Photo_Gallery_files','shapeimage_7','0');IMpreload('Photo_Gallery_files','shapeimage_8','0');IMpreload('Photo_Gallery_files','shapeimage_9','0');IMpreload('Photo_Gallery_files','shapeimage_16','0');Widget.onload();fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}

