// Created by iWeb 3.0.4 local-build-20111209

function createMediaStream_id1()
{return IWCreateMediaCollection("http://www.degrot.com/degrot_2.0/archives/archives_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.degrot.com/degrot_2.0/archives',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget37'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://www.degrot.com/degrot_2.0/archives',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(4,new IWSize(174,131),new IWSize(174,32),new IWSize(197,178),27,27,0,new IWSize(0,0)),new IWStrokeParts([{rect:new IWRect(-5,3,6,122),url:'archives_files/stroke.png'},{rect:new IWRect(-3,-8,4,11),url:'archives_files/stroke_1.png'},{rect:new IWRect(1,-7,168,10),url:'archives_files/stroke_2.png'},{rect:new IWRect(169,-4,12,7),url:'archives_files/stroke_3.png'},{rect:new IWRect(169,3,11,122),url:'archives_files/stroke_4.png'},{rect:new IWRect(169,125,10,10),url:'archives_files/stroke_5.png'},{rect:new IWRect(1,125,168,6),url:'archives_files/stroke_6.png'},{rect:new IWRect(-5,125,6,9),url:'archives_files/stroke_7.png'}],new IWSize(174,130)),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget37',null,'widget38',{showTitle:true,showMetric:true})});}
function relayoutMediaGrid_id1(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id1(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();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:3,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:0.750000}),shadow_2:new IWShadow({blurRadius:3,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:0.750000}),shadow_0:new IWShadow({blurRadius:3,offset:new IWPoint(2.1213,2.1213),color:'#000000',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('archives_files/archivesMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
fixAllIEPNGs('../Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();fixupIECSS3Opacity('id2');applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}

