// Created by iWeb 3.0.4 local-build-20110817

function createMediaStream_id3()
{return IWCreateMediaCollection("http://www.moosulkwan.com/moosulkwan/Photos/Photos_files/rss.xml",true,9,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.moosulkwan.com/moosulkwan/Photos',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget9'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.moosulkwan.com/moosulkwan/Photos',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(2,new IWSize(254,190),new IWSize(254,32),new IWSize(282,237),27,27,0,new IWSize(89,74)),new IWPhotoFrame([IWCreateImage('Photos_files/spiralboook_ul.png'),IWCreateImage('Photos_files/spiralboook_top.png'),IWCreateImage('Photos_files/spiralboook_ur.png'),IWCreateImage('Photos_files/spiralboook_right.png'),IWCreateImage('Photos_files/spiralboook_lr.png'),IWCreateImage('Photos_files/spiralboook_bottom.png'),IWCreateImage('Photos_files/spiralboook_ll.png'),IWCreateImage('Photos_files/spiralboook_left.png')],null,1,0.800000,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','widget9',null,'widget10',{showTitle:true,showMetric:true})});}
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 IWStrokeParts([{rect:new IWRect(-1,1,2,16),url:'Photos_files/stroke_16.png'},{rect:new IWRect(-1,-1,2,2),url:'Photos_files/stroke_17.png'},{rect:new IWRect(1,-1,710,2),url:'Photos_files/stroke_18.png'},{rect:new IWRect(711,-1,2,2),url:'Photos_files/stroke_19.png'},{rect:new IWRect(711,1,2,16),url:'Photos_files/stroke_20.png'},{rect:new IWRect(711,17,2,2),url:'Photos_files/stroke_21.png'},{rect:new IWRect(1,17,710,2),url:'Photos_files/stroke_22.png'},{rect:new IWRect(-1,17,2,2),url:'Photos_files/stroke_23.png'}],new IWSize(712,18)),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,1108),url:'Photos_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'Photos_files/stroke_9.png'},{rect:new IWRect(1,-1,108,2),url:'Photos_files/stroke_10.png'},{rect:new IWRect(109,-1,2,2),url:'Photos_files/stroke_11.png'},{rect:new IWRect(109,1,2,1108),url:'Photos_files/stroke_12.png'},{rect:new IWRect(109,1109,2,2),url:'Photos_files/stroke_13.png'},{rect:new IWRect(1,1109,108,2),url:'Photos_files/stroke_14.png'},{rect:new IWRect(-1,1109,2,2),url:'Photos_files/stroke_15.png'}],new IWSize(110,1110)),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,102),url:'Photos_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Photos_files/stroke_1.png'},{rect:new IWRect(1,-1,714,2),url:'Photos_files/stroke_2.png'},{rect:new IWRect(715,-1,2,2),url:'Photos_files/stroke_3.png'},{rect:new IWRect(715,1,2,102),url:'Photos_files/stroke_4.png'},{rect:new IWRect(715,103,2,2),url:'Photos_files/stroke_5.png'},{rect:new IWRect(1,103,714,2),url:'Photos_files/stroke_6.png'},{rect:new IWRect(-1,103,2,2),url:'Photos_files/stroke_7.png'}],new IWSize(716,104)),shadow_1:new IWShadow({blurRadius:7,offset:new IWPoint(2.8284,2.8284),color:'#ffffff',opacity:0.750000}),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(5.8689,-1.2475),color:'#ffffff',opacity:0.750000})});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('Photos_files/PhotosMoz.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');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}

