// Created by iWeb 3.0.4 local-build-20120102

function createMediaStream_id7()
{return IWCreatePhotocast("http://www.replacementchild.com/Replacement_Child/PhotoGallery_files/rss.xml",true);}
function initializeMediaStream_id7()
{createMediaStream_id7().load('http://www.replacementchild.com/Replacement_Child',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id7',{pageIndex:0}));});}
function layoutMediaGrid_id7(range)
{createMediaStream_id7().load('http://www.replacementchild.com/Replacement_Child',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id7',new IWPhotoGridLayout(3,new IWSize(165,165),new IWSize(165,32),new IWSize(204,212),27,27,0,new IWSize(2,3)),new IWPhotoFrame([IWCreateImage('PhotoGallery_files/green_linen_ul.png'),IWCreateImage('PhotoGallery_files/green_linen_top.png'),IWCreateImage('PhotoGallery_files/green_linen_ur.png'),IWCreateImage('PhotoGallery_files/green_linen_right.png'),IWCreateImage('PhotoGallery_files/green_linen_lr.png'),IWCreateImage('PhotoGallery_files/green_linen_bottom.png'),IWCreateImage('PhotoGallery_files/green_linen_ll.png'),IWCreateImage('PhotoGallery_files/green_linen_left.png')],null,0,0.500000,13.000000,12.000000,13.000000,13.000000,15.000000,15.000000,15.000000,15.000000,15.000000,15.000000,15.000000,15.000000,null,null,null,0.400000),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id7(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id7(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWEmptyStroke(),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',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')
loadMozillaCSS('PhotoGallery_files/PhotoGalleryMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');NotificationCenter.addObserver(null,relayoutMediaGrid_id7,'RangeChanged','id7')
adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');fixAllIEPNGs('Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id7()}
function onPageUnload()
{Widget.onunload();}

