// Created by iWeb 3.0.3 local-build-20110427

function createMediaStream_id1()
{return IWCreateMediaCollection("http://www.janeofalltradesnj.com/Jane_of_All_Trades/Gallery/Gallery_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.janeofalltradesnj.com/Jane_of_All_Trades/Gallery',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget4'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://www.janeofalltradesnj.com/Jane_of_All_Trades/Gallery',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(2,new IWSize(320,240),new IWSize(320,31),new IWSize(344,286),27,27,0,new IWSize(65,57)),new IWPhotoFrame([IWCreateImage('Gallery_files/spiralbook-creme_ul.png'),IWCreateImage('Gallery_files/spiralbook-creme_top.png'),IWCreateImage('Gallery_files/spiralbook-creme_ur.png'),IWCreateImage('Gallery_files/spiralbook-creme_right.png'),IWCreateImage('Gallery_files/spiralbook-creme_lr.png'),IWCreateImage('Gallery_files/spiralbook-creme_bottom.png'),IWCreateImage('Gallery_files/spiralbook-creme_ll.png'),IWCreateImage('Gallery_files/spiralbook-creme_left.png')],null,1,0.600000,15.000000,0.000000,0.000000,0.000000,83.000000,40.000000,40.000000,55.000000,106.000000,40.000000,40.000000,32.000000,null,null,null,0.300000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget4',null,'widget5',{showTitle:true,showMetric:false})});}
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 hostedOnDM()
{return false;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','../Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','../Media/Photo-Overlay-Movie.png')
loadMozillaCSS('Gallery_files/GalleryMoz.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');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');IMpreload('Gallery_files','shapeimage_2','0');IMpreload('Gallery_files','shapeimage_3','0');IMpreload('Gallery_files','shapeimage_4','0');IMpreload('Gallery_files','shapeimage_5','0');IMpreload('Gallery_files','shapeimage_6','0');IMpreload('Gallery_files','shapeimage_7','0');IMpreload('Gallery_files','shapeimage_8','0');IMpreload('Gallery_files','shapeimage_9','0');initializeMediaStream_id1()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}

