// Created by iWeb 3.0.1 local-build-20100906

function createMediaStream_id1()
{return IWCreateMediaCollection("http://www.coachterrybowden.com/Coach_Terry_Bowden/UNA_Pictures/UNA_Pictures_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.coachterrybowden.com/Coach_Terry_Bowden/UNA_Pictures',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget10'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://www.coachterrybowden.com/Coach_Terry_Bowden/UNA_Pictures',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(4,new IWSize(192,144),new IWSize(192,34),new IWSize(192,193),27,27,0,new IWSize(28,23)),new IWPhotoFrame([IWCreateImage('UNA_Pictures_files/spiralboook_ul.png'),IWCreateImage('UNA_Pictures_files/spiralboook_top.png'),IWCreateImage('UNA_Pictures_files/spiralboook_ur.png'),IWCreateImage('UNA_Pictures_files/spiralboook_right.png'),IWCreateImage('UNA_Pictures_files/spiralboook_lr.png'),IWCreateImage('UNA_Pictures_files/spiralboook_bottom.png'),IWCreateImage('UNA_Pictures_files/spiralboook_ll.png'),IWCreateImage('UNA_Pictures_files/spiralboook_left.png')],null,1,0.250000,0.000000,10.000000,0.000000,19.000000,62.000000,49.000000,48.000000,72.000000,20.000000,1.000000,20.000000,1.000000,null,null,null,0.100000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget10',null,'widget11',{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 applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWPhotoFrame([IWCreateImage('UNA_Pictures_files/Pushpin_01.jpg'),IWCreateImage('UNA_Pictures_files/Pushpin_02.jpg'),IWCreateImage('UNA_Pictures_files/Pushpin_03.jpg'),IWCreateImage('UNA_Pictures_files/Pushpin_06.jpg'),IWCreateImage('UNA_Pictures_files/Pushpin_09.jpg'),IWCreateImage('UNA_Pictures_files/Pushpin_02_1.jpg'),IWCreateImage('UNA_Pictures_files/Pushpin_03_1.jpg'),IWCreateImage('UNA_Pictures_files/Pushpin_04.jpg')],null,1,0.500000,0.000000,0.000000,0.000000,0.000000,18.000000,18.000000,18.000000,18.000000,298.000000,472.000000,298.000000,472.000000,'UNA_Pictures_files/bullet_pp_3.png',new IWPoint(0.500000,-10),new IWSize(45,65),0.100000),stroke_1:new IWPhotoFrame([IWCreateImage('UNA_Pictures_files/Modern_C_TL.png'),IWCreateImage('UNA_Pictures_files/Modern_S_T.png'),IWCreateImage('UNA_Pictures_files/Modern_C_TR.png'),IWCreateImage('UNA_Pictures_files/Modern_S_R.png'),IWCreateImage('UNA_Pictures_files/Modern_C_BR.png'),IWCreateImage('UNA_Pictures_files/Modern_S_B.png'),IWCreateImage('UNA_Pictures_files/Modern_C_BL.png'),IWCreateImage('UNA_Pictures_files/Modern_S_L.png')],null,2,0.502632,0.000000,0.000000,0.000000,0.000000,17.000000,17.000000,17.000000,20.000000,40.000000,40.000000,40.000000,240.000000,null,null,null,0.100000)});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('UNA_Pictures_files/UNA_PicturesMoz.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');fixupAllIEPNGBGs();Widget.onload();fixAllIEPNGs('../Media/transparent.gif');applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}

