// Created by iWeb 3.0.1 local-build-20100124

function createMediaStream_id2()
{return IWCreateMediaCollection("file://localhost/Users/joanneng/Documents/WCL%202008-09/WCL%20new%20web/angelwong/photos/photos_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('file://localhost/Users/joanneng/Documents/WCL%202008-09/WCL%20new%20web/angelwong/photos',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget14'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('file://localhost/Users/joanneng/Documents/WCL%202008-09/WCL%20new%20web/angelwong/photos',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(4,new IWSize(125,94),new IWSize(125,40),new IWSize(159,149),27,27,0,new IWSize(12,12)),new IWPhotoFrame([IWCreateImage('photos_files/Crayon_BK_v4%20%2801%29.png'),IWCreateImage('photos_files/Crayon_BK_v4%20%2802%29.png'),IWCreateImage('photos_files/Crayon_BK_v4%20%2803%29.png'),IWCreateImage('photos_files/Crayon_BK_v4%20%2805%29.png'),IWCreateImage('photos_files/Crayon_BK_v4%20%2808%29.png'),IWCreateImage('photos_files/Crayon_BK_v4%20%2807%29.png'),IWCreateImage('photos_files/Crayon_BK_v4%20%2806%29.png'),IWCreateImage('photos_files/Crayon_BK_v4%20%2804%29.png')],null,0,0.250000,19.000000,19.000000,19.000000,19.000000,41.000000,41.000000,41.000000,41.000000,2.000000,1.000000,2.000000,1.000000,null,null,null,0.100000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget14',null,'widget15',{showTitle:false,showMetric:false})});}
function relayoutMediaGrid_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id2(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_1:new IWShadow({blurRadius:5,offset:new IWPoint(-4.4589,4.0148),color:'#000000',opacity:0.600000}),reflection_0:new IWReflection({opacity:0.50,offset:10.50})});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');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','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');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');adjustLineHeightIfTooBig('id16');adjustFontSizeIfTooBig('id16');fixAllIEPNGs('../Media/transparent.gif');IMpreload('photos_files','shapeimage_2','0');IMpreload('photos_files','shapeimage_2','1');IMpreload('photos_files','shapeimage_2','2');IMpreload('photos_files','shapeimage_2','3');IMpreload('photos_files','shapeimage_2','4');IMpreload('photos_files','shapeimage_2','5');IMpreload('photos_files','shapeimage_2','6');IMpreload('photos_files','shapeimage_2','7');IMpreload('photos_files','shapeimage_2','8');Widget.onload();fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}
