// Created by iWeb 3.0.4 local-build-20110912

function createMediaStream_id1()
{return IWCreateMediaCollection("http://www.chaparral.org/worship/Worship/Our_art/Our_art_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.chaparral.org/worship/Worship/Our_art',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget7'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://www.chaparral.org/worship/Worship/Our_art',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(2,new IWSize(254,191),new IWSize(254,34),new IWSize(279,240),27,27,0,new IWSize(92,76)),new IWPhotoFrame([IWCreateImage('Our_art_files/leatherbook_ul.png'),IWCreateImage('Our_art_files/leatherbook_top.png'),IWCreateImage('Our_art_files/leatherbook_ur.png'),IWCreateImage('Our_art_files/leatherbook_right.png'),IWCreateImage('Our_art_files/leatherbook_lr.png'),IWCreateImage('Our_art_files/leatherbook_bottom.png'),IWCreateImage('Our_art_files/leatherbook_ll.png'),IWCreateImage('Our_art_files/leatherbook_left.png')],null,0,0.686842,6.000000,6.000000,6.000000,6.000000,87.000000,54.000000,60.000000,69.000000,20.000000,16.000000,18.000000,16.000000,null,null,null,0.300000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget7',null,'widget8',{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_1:new IWPhotoFrame([IWCreateImage('Our_art_files/Freestyle_01.png'),IWCreateImage('Our_art_files/Freestyle_02.png'),IWCreateImage('Our_art_files/Freestyle_03.png'),IWCreateImage('Our_art_files/Freestyle_06.png'),IWCreateImage('Our_art_files/Freestyle_09.png'),IWCreateImage('Our_art_files/Freestyle_08.png'),IWCreateImage('Our_art_files/Freestyle_07.png'),IWCreateImage('Our_art_files/Freestyle_04.png')],null,2,0.581579,3.000000,3.000000,3.000000,3.000000,22.000000,24.000000,23.000000,25.000000,166.000000,222.000000,166.000000,222.000000,null,null,null,0.100000),stroke_0:new IWEmptyStroke(),reflection_0:new IWReflection({opacity:0.50,offset:14.00})});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('Our_art_files/Our_artMoz.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');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}

