// Created by iWeb 2.0.4 local-build-20081208

function createMediaStream_id1()
{return IWCreateMediaCollection("http://www.caboluxurylifestyle.com/Cabo_Luxury_Lifestyle/Photo_Albums/Photo_Albums_files/rss.xml",true,6,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.caboluxurylifestyle.com/Cabo_Luxury_Lifestyle/Photo_Albums',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget22'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://www.caboluxurylifestyle.com/Cabo_Luxury_Lifestyle/Photo_Albums',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(3,new IWSize(248,186),new IWSize(248,38),new IWSize(272,239),27,27,0,new IWSize(50,41)),new IWPhotoFrame([IWCreateImage('Photo_Albums_files/spiralboook_ul.png'),IWCreateImage('Photo_Albums_files/spiralboook_top.png'),IWCreateImage('Photo_Albums_files/spiralboook_ur.png'),IWCreateImage('Photo_Albums_files/spiralboook_right.png'),IWCreateImage('Photo_Albums_files/spiralboook_lr.png'),IWCreateImage('Photo_Albums_files/spiralboook_bottom.png'),IWCreateImage('Photo_Albums_files/spiralboook_ll.png'),IWCreateImage('Photo_Albums_files/spiralboook_left.png')],null,1,0.446667,0.000000,10.000000,0.000000,19.000000,62.000000,49.000000,48.000000,72.000000,20.000000,1.000000,20.000000,1.000000,null,null,null,0.100000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget22',null,'widget23',{showTitle:true,showMetric:false})});}
function relayoutMediaGrid_id1(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id1(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id1(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({reflection_0:new IWReflection({opacity:0.83,offset:1.00})});registry.applyEffects();}
function hostedOnDM()
{return false;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','../Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','../Media/Photo-Overlay-Movie.png')
IWRegisterNamedImage('contribution overlay','../Media/Photo-Overlay-Contribution.png')
loadMozillaCSS('Photo_Albums_files/Photo_AlbumsMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');detectBrowser();fixAllIEPNGs('../Media/transparent.gif');IMpreload('Photo_Albums_files','shapeimage_1','0');IMpreload('Photo_Albums_files','shapeimage_1','1');IMpreload('Photo_Albums_files','shapeimage_1','2');IMpreload('Photo_Albums_files','shapeimage_1','3');IMpreload('Photo_Albums_files','shapeimage_1','4');IMpreload('Photo_Albums_files','shapeimage_1','5');IMpreload('Photo_Albums_files','shapeimage_1','6');IMpreload('Photo_Albums_files','shapeimage_1','7');IMpreload('Photo_Albums_files','shapeimage_1','8');IMpreload('Photo_Albums_files','shapeimage_1','9');IMpreload('Photo_Albums_files','shapeimage_1','10');Widget.onload();fixupAllIEPNGBGs();IMpreload('Photo_Albums_files','shapeimage_3','0');IMpreload('Photo_Albums_files','shapeimage_3','1');IMpreload('Photo_Albums_files','shapeimage_3','2');IMpreload('Photo_Albums_files','shapeimage_3','3');IMpreload('Photo_Albums_files','shapeimage_3','4');IMpreload('Photo_Albums_files','shapeimage_3','5');IMpreload('Photo_Albums_files','shapeimage_3','6');IMpreload('Photo_Albums_files','shapeimage_3','7');IMpreload('Photo_Albums_files','shapeimage_3','8');IMpreload('Photo_Albums_files','shapeimage_3','9');IMpreload('Photo_Albums_files','shapeimage_3','10');IMpreload('Photo_Albums_files','shapeimage_3','11');IMpreload('Photo_Albums_files','shapeimage_3','12');applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}
