// Created by iWeb 3.0.4 local-build-20120124

function createMediaStream_id19()
{return IWCreatePhotocast("file://localhost/Users/emily/Desktop/website/oyako/Mei_Tais_files/rss.xml",false);}
function initializeMediaStream_id19()
{createMediaStream_id19().load('file://localhost/Users/emily/Desktop/website/oyako',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget2'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id19',{pageIndex:0}));});}
function layoutMediaGrid_id19(range)
{createMediaStream_id19().load('file://localhost/Users/emily/Desktop/website/oyako',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id19',new IWPhotoGridLayout(6,new IWSize(96,96),new IWSize(96,42),new IWSize(96,153),27,27,0,new IWSize(0,0)),new IWEmptyStroke(),imageStream,range,null,null,1.000000,null,'Media/slideshow.html','widget2','widget3','widget4')});}
function relayoutMediaGrid_id19(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id19(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id19(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_3:new IWStrokeParts([{rect:new IWRect(-3,2,5,175),url:'Mei_Tais_files/stroke_16.png'},{rect:new IWRect(-3,-3,5,5),url:'Mei_Tais_files/stroke_17.png'},{rect:new IWRect(2,-3,106,5),url:'Mei_Tais_files/stroke_18.png'},{rect:new IWRect(108,-3,5,5),url:'Mei_Tais_files/stroke_19.png'},{rect:new IWRect(108,2,5,175),url:'Mei_Tais_files/stroke_20.png'},{rect:new IWRect(108,177,5,5),url:'Mei_Tais_files/stroke_21.png'},{rect:new IWRect(2,177,106,5),url:'Mei_Tais_files/stroke_22.png'},{rect:new IWRect(-3,177,5,5),url:'Mei_Tais_files/stroke_23.png'}],new IWSize(111,180)),stroke_1:new IWStrokeParts([{rect:new IWRect(-3,2,5,173),url:'Mei_Tais_files/stroke_8.png'},{rect:new IWRect(-3,-3,5,5),url:'Mei_Tais_files/stroke_9.png'},{rect:new IWRect(2,-3,105,5),url:'Mei_Tais_files/stroke_10.png'},{rect:new IWRect(107,-3,5,5),url:'Mei_Tais_files/stroke_11.png'},{rect:new IWRect(107,2,5,173),url:'Mei_Tais_files/stroke_12.png'},{rect:new IWRect(107,175,5,5),url:'Mei_Tais_files/stroke_13.png'},{rect:new IWRect(2,175,105,5),url:'Mei_Tais_files/stroke_14.png'},{rect:new IWRect(-3,175,5,5),url:'Mei_Tais_files/stroke_15.png'}],new IWSize(110,178)),stroke_0:new IWStrokeParts([{rect:new IWRect(-5,5,9,346),url:'Mei_Tais_files/stroke.png'},{rect:new IWRect(-7,-5,11,10),url:'Mei_Tais_files/stroke_1.png'},{rect:new IWRect(4,-5,437,10),url:'Mei_Tais_files/stroke_2.png'},{rect:new IWRect(441,-7,9,12),url:'Mei_Tais_files/stroke_3.png'},{rect:new IWRect(441,5,7,346),url:'Mei_Tais_files/stroke_4.png'},{rect:new IWRect(441,351,9,7),url:'Mei_Tais_files/stroke_5.png'},{rect:new IWRect(4,351,437,7),url:'Mei_Tais_files/stroke_6.png'},{rect:new IWRect(-6,351,10,5),url:'Mei_Tais_files/stroke_7.png'}],new IWSize(446,355)),stroke_2:new IWPhotoFrame([IWCreateImage('Mei_Tais_files/10x7_LeatherBook_inside_v1-1%20%2801%29.png'),IWCreateImage('Mei_Tais_files/10x7_LeatherBook_inside_v1-1%20%2802%29.png'),IWCreateImage('Mei_Tais_files/10x7_LeatherBook_inside_v1-1%20%2803%29.png'),IWCreateImage('Mei_Tais_files/10x7_LeatherBook_inside_v1-1%20%2805%29.png'),IWCreateImage('Mei_Tais_files/10x7_LeatherBook_inside_v1-1%20%2808%29.png'),IWCreateImage('Mei_Tais_files/10x7_LeatherBook_inside_v1-1%20%2807%29.png'),IWCreateImage('Mei_Tais_files/10x7_LeatherBook_inside_v1-1%20%2806%29.png'),IWCreateImage('Mei_Tais_files/10x7_LeatherBook_inside_v1-1%20%2804%29.png')],null,0,0.360000,4.000000,4.000000,4.000000,4.000000,6.000000,6.000000,7.000000,7.000000,475.000000,415.000000,475.000000,415.000000,null,null,null,0.100000)});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('Mei_Tais_files/Mei_TaisMoz.css')
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');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');detectBrowser();adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');adjustLineHeightIfTooBig('id16');adjustFontSizeIfTooBig('id16');adjustLineHeightIfTooBig('id17');adjustFontSizeIfTooBig('id17');adjustLineHeightIfTooBig('id18');adjustFontSizeIfTooBig('id18');NotificationCenter.addObserver(null,relayoutMediaGrid_id19,'RangeChanged','id19')
adjustLineHeightIfTooBig('id20');adjustFontSizeIfTooBig('id20');adjustLineHeightIfTooBig('id21');adjustFontSizeIfTooBig('id21');adjustLineHeightIfTooBig('id22');adjustFontSizeIfTooBig('id22');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');fixupIECSS3Opacity('id1');applyEffects()
initializeMediaStream_id19()}
function onPageUnload()
{Widget.onunload();}

