// Created by iWeb 3.0.1 local-build-20100730

function createMediaStream_id1()
{return IWCreatePhotocast("http://www.sweetpeaoriginals.com/Website/Sale_Items_files/rss.xml",false);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.sweetpeaoriginals.com/Website',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://www.sweetpeaoriginals.com/Website',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(2,new IWSize(245,245),new IWSize(245,16),new IWSize(294,276),27,27,0,new IWSize(24,29)),new IWPhotoFrame([IWCreateImage('Sale_Items_files/baby_ul.png'),IWCreateImage('Sale_Items_files/baby_top.png'),IWCreateImage('Sale_Items_files/baby_ur.png'),IWCreateImage('Sale_Items_files/baby_right.png'),IWCreateImage('Sale_Items_files/baby_lr.png'),IWCreateImage('Sale_Items_files/baby_bottom.png'),IWCreateImage('Sale_Items_files/baby_ll.png'),IWCreateImage('Sale_Items_files/baby_left.png')],null,1,0.900000,90.000000,22.000000,90.000000,8.000000,103.000000,33.000000,103.000000,30.000000,23.000000,22.000000,23.000000,22.000000,null,null,null,0.300000),imageStream,range,null,null,1.000000,null,'Media/slideshow.html','widget1','widget2','widget3')});}
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:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-2,2,4,268),url:'Sale_Items_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'Sale_Items_files/stroke_1.png'},{rect:new IWRect(2,-2,432,4),url:'Sale_Items_files/stroke_2.png'},{rect:new IWRect(434,-2,4,4),url:'Sale_Items_files/stroke_3.png'},{rect:new IWRect(434,2,4,268),url:'Sale_Items_files/stroke_4.png'},{rect:new IWRect(434,270,4,4),url:'Sale_Items_files/stroke_5.png'},{rect:new IWRect(2,270,432,4),url:'Sale_Items_files/stroke_6.png'},{rect:new IWRect(-2,270,4,4),url:'Sale_Items_files/stroke_7.png'}],new IWSize(436,272)),shadow_2:new IWShadow({blurRadius:10,offset:new IWPoint(2.8284,2.8284),color:'#000000',opacity:0.750000}),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),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('Sale_Items_files/Sale_ItemsMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');fixAllIEPNGs('Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();IMpreload('Sale_Items_files','shapeimage_8','0');IMpreload('Sale_Items_files','shapeimage_8','1');IMpreload('Sale_Items_files','shapeimage_8','2');IMpreload('Sale_Items_files','shapeimage_8','3');IMpreload('Sale_Items_files','shapeimage_8','4');IMpreload('Sale_Items_files','shapeimage_8','5');IMpreload('Sale_Items_files','shapeimage_8','6');IMpreload('Sale_Items_files','shapeimage_8','7');IMpreload('Sale_Items_files','shapeimage_8','8');IMpreload('Sale_Items_files','shapeimage_8','9');IMpreload('Sale_Items_files','shapeimage_8','10');IMpreload('Sale_Items_files','shapeimage_8','11');IMpreload('Sale_Items_files','shapeimage_8','12');IMpreload('Sale_Items_files','shapeimage_8','13');fixupIECSS3Opacity('id4');applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}
