// Created by iWeb 2.0.4 local-build-20090118

function createMediaStream_id4()
{return IWCreatePhotocast("http://www.sheepnut.net/Site/sheep_files/rss.xml",true,true);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('http://www.sheepnut.net/Site',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('http://www.sheepnut.net/Site',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(5,new IWSize(109,109),new IWSize(109,0),new IWSize(124,124),27,27,0,new IWSize(20,14)),new IWPhotoFrame([IWCreateImage('sheep_files/Portfolio_Frame_01.png'),IWCreateImage('sheep_files/Portfolio_Frame_02.png'),IWCreateImage('sheep_files/Portfolio_Frame_03.png'),IWCreateImage('sheep_files/Portfolio_Frame_06.png'),IWCreateImage('sheep_files/Portfolio_Frame_09.png'),IWCreateImage('sheep_files/Portfolio_Frame_08.png'),IWCreateImage('sheep_files/Portfolio_Frame_07.png'),IWCreateImage('sheep_files/Portfolio_Frame_04.png')],null,2,0.600000,0.000000,20.000000,10.000000,20.000000,22.000000,31.000000,19.000000,31.000000,407.000000,320.000000,407.000000,320.000000,null,null,null,0.100000),imageStream,range,new IWShadow({blurRadius:23,offset:new IWPoint(9.1924,9.1924),color:'#000000',opacity:1.000000}),null,1.000000,{backgroundColor:'#000000',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id4(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id4(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_2:new IWStrokeParts([{rect:new IWRect(-21,20,41,615),url:'sheep_files/stroke_16.png'},{rect:new IWRect(-20,-21,40,41),url:'sheep_files/stroke_17.png'},{rect:new IWRect(20,-22,677,42),url:'sheep_files/stroke_18.png'},{rect:new IWRect(697,-21,40,41),url:'sheep_files/stroke_19.png'},{rect:new IWRect(697,20,41,615),url:'sheep_files/stroke_20.png'},{rect:new IWRect(697,635,42,72),url:'sheep_files/stroke_21.png'},{rect:new IWRect(20,635,677,73),url:'sheep_files/stroke_22.png'},{rect:new IWRect(-26,635,46,40),url:'sheep_files/stroke_23.png'}],new IWSize(716,655)),stroke_1:new IWStrokeParts([{rect:new IWRect(-21,20,41,615),url:'sheep_files/stroke_8.png'},{rect:new IWRect(-20,-21,40,41),url:'sheep_files/stroke_9.png'},{rect:new IWRect(20,-22,677,42),url:'sheep_files/stroke_10.png'},{rect:new IWRect(697,-21,40,41),url:'sheep_files/stroke_11.png'},{rect:new IWRect(697,20,41,615),url:'sheep_files/stroke_12.png'},{rect:new IWRect(697,635,42,72),url:'sheep_files/stroke_13.png'},{rect:new IWRect(20,635,677,73),url:'sheep_files/stroke_14.png'},{rect:new IWRect(-26,635,46,40),url:'sheep_files/stroke_15.png'}],new IWSize(716,655)),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-21,20,41,673),url:'sheep_files/stroke.png'},{rect:new IWRect(-20,-21,40,41),url:'sheep_files/stroke_1.png'},{rect:new IWRect(20,-22,687,42),url:'sheep_files/stroke_2.png'},{rect:new IWRect(707,-21,39,41),url:'sheep_files/stroke_3.png'},{rect:new IWRect(707,20,41,673),url:'sheep_files/stroke_4.png'},{rect:new IWRect(707,693,42,72),url:'sheep_files/stroke_5.png'},{rect:new IWRect(20,693,687,73),url:'sheep_files/stroke_6.png'},{rect:new IWRect(-25,693,45,40),url:'sheep_files/stroke_7.png'}],new IWSize(726,713))});registry.applyEffects();}
function hostedOnDM()
{return false;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
IWRegisterNamedImage('contribution overlay','Media/Photo-Overlay-Contribution.png')
loadMozillaCSS('sheep_files/sheepMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');NotificationCenter.addObserver(null,relayoutMediaGrid_id4,'RangeChanged','id4')
fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');IMpreload('sheep_files','shapeimage_5','0');IMpreload('sheep_files','shapeimage_9','0');IMpreload('sheep_files','shapeimage_10','0');IMpreload('sheep_files','shapeimage_11','0');IMpreload('sheep_files','shapeimage_12','0');IMpreload('sheep_files','shapeimage_13','0');IMpreload('sheep_files','shapeimage_14','0');IMpreload('sheep_files','shapeimage_15','0');Widget.onload();applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}
