// Created by iWeb 3.0.1 local-build-20100828

function createMediaStream_id10()
{return IWCreateMediaCollection("http://www.smallchancerescue.com/Small_Chance_Rescue/Adoptable_Dogs/Adoptable_Dogs_files/rss.xml",true,2,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id10()
{createMediaStream_id10().load('http://www.smallchancerescue.com/Small_Chance_Rescue/Adoptable_Dogs',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget15'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id10',{pageIndex:0}));});}
function layoutMediaGrid_id10(range)
{createMediaStream_id10().load('http://www.smallchancerescue.com/Small_Chance_Rescue/Adoptable_Dogs',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id10',new IWPhotoGridLayout(3,new IWSize(215,161),new IWSize(215,34),new IWSize(229,210),27,27,0,new IWSize(33,35)),new IWPhotoFrame([IWCreateImage('Adoptable_Dogs_files/kids_ul.png'),IWCreateImage('Adoptable_Dogs_files/kids_top.jpg'),IWCreateImage('Adoptable_Dogs_files/kids_ur.png'),IWCreateImage('Adoptable_Dogs_files/kids_right.png'),IWCreateImage('Adoptable_Dogs_files/kids_lr.png'),IWCreateImage('Adoptable_Dogs_files/kids_bottom.png'),IWCreateImage('Adoptable_Dogs_files/kids_ll.png'),IWCreateImage('Adoptable_Dogs_files/kids_left.png')],null,0,0.333333,118.000000,0.000000,132.000000,0.000000,174.000000,44.000000,176.000000,58.000000,60.000000,63.000000,60.000000,63.000000,null,null,null,0.300000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget15',null,'widget16',{showTitle:true,showMetric:false})});}
function relayoutMediaGrid_id10(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id10(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id10(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function hostedOnDM()
{return false;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','../Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','../Media/Photo-Overlay-Movie.png')
loadMozillaCSS('Adoptable_Dogs_files/Adoptable_DogsMoz.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');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');NotificationCenter.addObserver(null,relayoutMediaGrid_id10,'RangeChanged','id10')
adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');fixAllIEPNGs('../Media/transparent.gif');IMpreload('Adoptable_Dogs_files','shapeimage_1','0');Widget.onload();fixupAllIEPNGBGs();initializeMediaStream_id10()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}
