// Created by iWeb 3.0.1 local-build-20090613

function createMediaStream_id9()
{return IWCreatePhotocast("http://www.valsartdiary.com/valsartdiary/SLIDESHOW_files/rss.xml",true);}
function initializeMediaStream_id9()
{createMediaStream_id9().load('http://www.valsartdiary.com/valsartdiary',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget3'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id9',{pageIndex:0}));});}
function layoutMediaGrid_id9(range)
{createMediaStream_id9().load('http://www.valsartdiary.com/valsartdiary',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id9',new IWPhotoGridLayout(4,new IWSize(165,165),new IWSize(165,0),new IWSize(196,180),27,27,0,new IWSize(24,25)),new IWPhotoFrame([IWCreateImage('SLIDESHOW_files/techblack-frame_01_2.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_02_2.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_03_2.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_06_2.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_09_2.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_08_2.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_07_2.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_04_2.png')],null,2,0.700000,0.000000,0.000000,0.000000,0.000000,16.000000,16.000000,16.000000,18.000000,543.000000,380.000000,543.000000,380.000000,null,null,null,0.100000),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget3','widget4','widget5')});}
function relayoutMediaGrid_id9(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id9(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWPhotoFrame([IWCreateImage('SLIDESHOW_files/techblack-frame_01.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_02.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_03.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_06.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_09.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_08.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_07.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_04.png')],null,2,0.700000,0.000000,0.000000,0.000000,0.000000,16.000000,16.000000,16.000000,18.000000,543.000000,380.000000,543.000000,380.000000,null,null,null,0.100000),stroke_1:new IWPhotoFrame([IWCreateImage('SLIDESHOW_files/techblack-frame_01_1.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_02_1.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_03_1.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_06_1.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_09_1.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_08_1.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_07_1.png'),IWCreateImage('SLIDESHOW_files/techblack-frame_04_1.png')],null,2,0.700000,0.000000,0.000000,0.000000,0.000000,16.000000,16.000000,16.000000,18.000000,543.000000,380.000000,543.000000,380.000000,null,null,null,0.100000)});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
loadMozillaCSS('SLIDESHOW_files/SLIDESHOWMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');detectBrowser();adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');NotificationCenter.addObserver(null,relayoutMediaGrid_id9,'RangeChanged','id9')
adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');IMpreload('SLIDESHOW_files','shapeimage_1','0');applyEffects()
initializeMediaStream_id9()}
function onPageUnload()
{Widget.onunload();}
