// Created by iWeb 3.0.1 local-build-20100715

function createMediaStream_id3()
{return IWCreateMediaCollection("http://www.almosthomepetresort.com/AlmostHomePetResort/Rocky_Mountain_Horses/Rocky_Mountain_Horses_files/rss.xml",true,2,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.almosthomepetresort.com/AlmostHomePetResort/Rocky_Mountain_Horses',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget2'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.almosthomepetresort.com/AlmostHomePetResort/Rocky_Mountain_Horses',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(1,new IWSize(449,337),new IWSize(449,32),new IWSize(618,384),27,27,0,new IWSize(56,58)),new IWPhotoFrame([IWCreateImage('Rocky_Mountain_Horses_files/ul.png'),IWCreateImage('Rocky_Mountain_Horses_files/top.png'),IWCreateImage('Rocky_Mountain_Horses_files/ur.png'),IWCreateImage('Rocky_Mountain_Horses_files/right.png'),IWCreateImage('Rocky_Mountain_Horses_files/lr.png'),IWCreateImage('Rocky_Mountain_Horses_files/bottom.png'),IWCreateImage('Rocky_Mountain_Horses_files/ll.png'),IWCreateImage('Rocky_Mountain_Horses_files/left.png')],null,0,1.000000,130.000000,10.000000,118.000000,45.000000,147.000000,30.000000,157.000000,83.000000,251.000000,120.000000,260.000000,120.000000,null,null,null,0.300000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget2',null,'widget3',{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({stroke_2:new IWPhotoFrame([IWCreateImage('Rocky_Mountain_Horses_files/Modern_C_TL.png'),IWCreateImage('Rocky_Mountain_Horses_files/Modern_S_T.png'),IWCreateImage('Rocky_Mountain_Horses_files/Modern_C_TR.png'),IWCreateImage('Rocky_Mountain_Horses_files/Modern_S_R.png'),IWCreateImage('Rocky_Mountain_Horses_files/Modern_C_BR.png'),IWCreateImage('Rocky_Mountain_Horses_files/Modern_S_B.png'),IWCreateImage('Rocky_Mountain_Horses_files/Modern_C_BL.png'),IWCreateImage('Rocky_Mountain_Horses_files/Modern_S_L.png')],null,2,0.700000,0.000000,0.000000,0.000000,0.000000,17.000000,17.000000,17.000000,20.000000,40.000000,40.000000,40.000000,240.000000,null,null,null,0.100000),stroke_0:new IWEmptyStroke(),stroke_1:new IWEmptyStroke(),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),stroke_3:new IWEmptyStroke()});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('Rocky_Mountain_Horses_files/Rocky_Mountain_HorsesMoz.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');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');fixAllIEPNGs('../Media/transparent.gif');IMpreload('Rocky_Mountain_Horses_files','shapeimage_3','0');Widget.onload();fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}

