// Created by iWeb 3.0.1 local-build-20100829

function createMediaStream_id14()
{return IWCreateMediaCollection("http://www.spiritualkindling.com/Site/Christian_Devotional_Videos/Christian_Devotional_Videos_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id14()
{createMediaStream_id14().load('http://www.spiritualkindling.com/Site/Christian_Devotional_Videos',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget16'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id14',{pageIndex:0}));});}
function layoutMediaGrid_id14(range)
{createMediaStream_id14().load('http://www.spiritualkindling.com/Site/Christian_Devotional_Videos',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id14',new IWPhotoGridLayout(3,new IWSize(224,168),new IWSize(224,32),new IWSize(263,215),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget16',null,'widget17',{showTitle:true,showMetric:false})});}
function relayoutMediaGrid_id14(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id14(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id14(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_2:new IWStrokeParts([{rect:new IWRect(-1,1,2,22),url:'Christian_Devotional_Videos_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'Christian_Devotional_Videos_files/stroke_9.png'},{rect:new IWRect(1,-1,795,2),url:'Christian_Devotional_Videos_files/stroke_10.png'},{rect:new IWRect(796,-1,2,2),url:'Christian_Devotional_Videos_files/stroke_11.png'},{rect:new IWRect(796,1,2,22),url:'Christian_Devotional_Videos_files/stroke_12.png'},{rect:new IWRect(796,23,2,2),url:'Christian_Devotional_Videos_files/stroke_13.png'},{rect:new IWRect(1,23,795,2),url:'Christian_Devotional_Videos_files/stroke_14.png'},{rect:new IWRect(-1,23,2,2),url:'Christian_Devotional_Videos_files/stroke_15.png'}],new IWSize(797,24)),stroke_0:new IWEmptyStroke(),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,107),url:'Christian_Devotional_Videos_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Christian_Devotional_Videos_files/stroke_1.png'},{rect:new IWRect(1,-1,812,2),url:'Christian_Devotional_Videos_files/stroke_2.png'},{rect:new IWRect(813,-1,2,2),url:'Christian_Devotional_Videos_files/stroke_3.png'},{rect:new IWRect(813,1,2,107),url:'Christian_Devotional_Videos_files/stroke_4.png'},{rect:new IWRect(813,108,2,2),url:'Christian_Devotional_Videos_files/stroke_5.png'},{rect:new IWRect(1,108,812,2),url:'Christian_Devotional_Videos_files/stroke_6.png'},{rect:new IWRect(-1,108,2,2),url:'Christian_Devotional_Videos_files/stroke_7.png'}],new IWSize(814,109)),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(5.6569,5.6569),color:'#cccccc',opacity:0.750000})});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('Christian_Devotional_Videos_files/Christian_Devotional_VideosMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');detectBrowser();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');NotificationCenter.addObserver(null,relayoutMediaGrid_id14,'RangeChanged','id14')
adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');adjustLineHeightIfTooBig('id16');adjustFontSizeIfTooBig('id16');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');IMpreload('Christian_Devotional_Videos_files','shapeimage_1','0');IMpreload('Christian_Devotional_Videos_files','shapeimage_2','0');applyEffects()
initializeMediaStream_id14()}
function onPageUnload()
{Widget.onunload();}
