// Created by iWeb 3.0.1 local-build-20090923

function createMediaStream_id1()
{return IWCreatePhotocast("http://web.me.com/shawncsmith/Guatemala_2007/Lutheran_School_files/rss.xml",true);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://web.me.com/shawncsmith/Guatemala_2007',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://web.me.com/shawncsmith/Guatemala_2007',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(2,new IWSize(231,231),new IWSize(231,42),new IWSize(278,288),27,27,0,new IWSize(31,34)),new IWPhotoFrame([IWCreateImage('Lutheran_School_files/Freestyle_01.png'),IWCreateImage('Lutheran_School_files/Freestyle_02.png'),IWCreateImage('Lutheran_School_files/Freestyle_03.png'),IWCreateImage('Lutheran_School_files/Freestyle_06.png'),IWCreateImage('Lutheran_School_files/Freestyle_09.png'),IWCreateImage('Lutheran_School_files/Freestyle_08.png'),IWCreateImage('Lutheran_School_files/Freestyle_07.png'),IWCreateImage('Lutheran_School_files/Freestyle_04.png')],null,2,0.800000,3.000000,3.000000,3.000000,3.000000,22.000000,24.000000,23.000000,25.000000,166.000000,222.000000,166.000000,222.000000,null,null,null,0.100000),imageStream,range,new IWShadow({blurRadius:9,offset:new IWPoint(0.7071,0.7071),color:'#463c3c',opacity:0.300000}),null,1.000000,null,'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id1(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id1(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id1(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_2:new IWShadow({blurRadius:10,offset:new IWPoint(0.0000,0.0000),color:'#463c3c',opacity:0.750000}),shadow_4:new IWShadow({blurRadius:10,offset:new IWPoint(13.4350,13.4350),color:'#463c3c',opacity:0.750000}),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(0.0000,0.0000),color:'#463c3c',opacity:0.750000}),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(0.0000,0.0000),color:'#463c3c',opacity:0.750000}),shadow_3:new IWShadow({blurRadius:10,offset:new IWPoint(0.0000,0.0000),color:'#463c3c',opacity:0.750000}),shadow_5:new IWShadow({blurRadius:10,offset:new IWPoint(9.1924,9.1924),color:'#463c3c',opacity:0.750000})});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
loadMozillaCSS('Lutheran_School_files/Lutheran_SchoolMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
detectBrowser();fixAllIEPNGs('Media/transparent.gif');Widget.onload();IMpreload('Lutheran_School_files','shapeimage_4','0');IMpreload('Lutheran_School_files','shapeimage_4','1');IMpreload('Lutheran_School_files','shapeimage_4','2');IMpreload('Lutheran_School_files','shapeimage_4','3');IMpreload('Lutheran_School_files','shapeimage_4','4');IMpreload('Lutheran_School_files','shapeimage_4','5');IMpreload('Lutheran_School_files','shapeimage_4','6');IMpreload('Lutheran_School_files','shapeimage_4','7');IMpreload('Lutheran_School_files','shapeimage_4','8');IMpreload('Lutheran_School_files','shapeimage_4','9');IMpreload('Lutheran_School_files','shapeimage_4','10');IMpreload('Lutheran_School_files','shapeimage_4','11');IMpreload('Lutheran_School_files','shapeimage_4','12');IMpreload('Lutheran_School_files','shapeimage_4','13');fixupIECSS3Opacity('id2');applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}
