// Created by iWeb 2.0.3 local-build-20080611

function createMediaStream_id1()
{return IWCreatePhotocast("http://www.legato-photo.com/site/ryori_files/rss.xml",true,true);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.legato-photo.com/site',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://www.legato-photo.com/site',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(5,new IWSize(96,96),new IWSize(96,34),new IWSize(116,146),27,27,0,new IWSize(12,12)),new IWPhotoFrame([IWCreateImage('ryori_files/Watercolor_iweb_01.png'),IWCreateImage('ryori_files/Watercolor_iweb_02.png'),IWCreateImage('ryori_files/Watercolor_iweb_04.png'),IWCreateImage('ryori_files/Watercolor_iweb_08.png'),IWCreateImage('ryori_files/Watercolor_iweb_16.png'),IWCreateImage('ryori_files/Watercolor_iweb_14.png'),IWCreateImage('ryori_files/Watercolor_iweb_13.png'),IWCreateImage('ryori_files/Watercolor_iweb_05.png')],null,0,0.500000,0.000000,0.000000,0.000000,0.000000,12.000000,12.000000,11.000000,11.000000,13.000000,12.000000,13.000000,12.000000,null,null,null,0.500000),imageStream,range,null,null,1.000000,{backgroundColor:'#000000',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'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=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id1(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_1:new IWShadow({blurRadius:16,offset:new IWPoint(5.6631,-4.1145),color:'#000000',opacity:0.333333}),stroke_0:new IWPhotoFrame([IWCreateImage('ryori_files/notebook_ul.png'),IWCreateImage('ryori_files/notebook_top.png'),IWCreateImage('ryori_files/notebook_ur.png'),IWCreateImage('ryori_files/notebook_right.png'),IWCreateImage('ryori_files/notebook_lr.png'),IWCreateImage('ryori_files/notebook_bottom.png'),IWCreateImage('ryori_files/notebook_ll.png'),IWCreateImage('ryori_files/notebook_left.png')],null,0,1.000000,3.000000,2.000000,1.000000,3.000000,18.000000,16.000000,17.000000,19.000000,76.000000,123.000000,79.000000,122.000000,null,null,null,0.400000),reflection_0:new IWReflection({opacity:0.50,offset:1.00}),shadow_0:new IWShadow({blurRadius:12,offset:new IWPoint(2.8284,2.8284),color:'#000000',opacity:0.333333})});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('ryori_files/ryoriMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');fixAllIEPNGs('Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}

