// Created by iWeb 2.0.2 local-build-20111010

function createMediaStream_id5()
{return IWCreatePhotocast("http://litchoices.org/Lifelong_Learning_Choices/Photos_files/rss.xml",true,true);}
function initializeMediaStream_id5()
{createMediaStream_id5().load('http://litchoices.org/Lifelong_Learning_Choices',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id5',{pageIndex:0}));});}
function layoutMediaGrid_id5(range)
{createMediaStream_id5().load('http://litchoices.org/Lifelong_Learning_Choices',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id5',new IWPhotoGridLayout(2,new IWSize(306,306),new IWSize(306,32),new IWSize(306,352),27,27,0,new IWSize(30,30)),new IWPhotoFrame([IWCreateImage('Photos_files/Crayon_BK_v4%20%2801%29.png'),IWCreateImage('Photos_files/Crayon_BK_v4%20%2802%29.png'),IWCreateImage('Photos_files/Crayon_BK_v4%20%2803%29.png'),IWCreateImage('Photos_files/Crayon_BK_v4%20%2805%29.png'),IWCreateImage('Photos_files/Crayon_BK_v4%20%2808%29.png'),IWCreateImage('Photos_files/Crayon_BK_v4%20%2807%29.png'),IWCreateImage('Photos_files/Crayon_BK_v4%20%2806%29.png'),IWCreateImage('Photos_files/Crayon_BK_v4%20%2804%29.png')],null,0,0.700000,19.000000,19.000000,19.000000,19.000000,41.000000,41.000000,41.000000,41.000000,2.000000,1.000000,2.000000,1.000000,null,null,null,0.100000),imageStream,range,new IWShadow({blurRadius:10,offset:new IWPoint(7.0711,7.0711),color:'#b3b3b3',opacity:0.750000}),null,1.000000,null,'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id5(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id5(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id5(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWEmptyStroke(),stroke_1:new IWPhotoFrame([IWCreateImage('Photos_files/comic-1_01.png'),IWCreateImage('Photos_files/comic-1_02.png'),IWCreateImage('Photos_files/comic-1_03.png'),IWCreateImage('Photos_files/comic-1_06.png'),IWCreateImage('Photos_files/comic-1_09.png'),IWCreateImage('Photos_files/comic-1_08.png'),IWCreateImage('Photos_files/comic-1_07.png'),IWCreateImage('Photos_files/comic-1_04.png')],null,0,1.000000,4.000000,4.000000,1.000000,1.000000,5.000000,5.000000,6.000000,6.000000,71.000000,115.000000,71.000000,115.000000,null,null,null,0.500000),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(9.9863,-0.5234),color:'#b3b3b3',opacity:0.750000}),stroke_2:new IWStrokeParts([{rect:new IWRect(-2,2,4,54),url:'Photos_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'Photos_files/stroke_1.png'},{rect:new IWRect(2,-2,633,4),url:'Photos_files/stroke_2.png'},{rect:new IWRect(635,-2,4,4),url:'Photos_files/stroke_3.png'},{rect:new IWRect(635,2,4,54),url:'Photos_files/stroke_4.png'},{rect:new IWRect(635,56,4,4),url:'Photos_files/stroke_5.png'},{rect:new IWRect(2,56,633,4),url:'Photos_files/stroke_6.png'},{rect:new IWRect(-2,56,4,4),url:'Photos_files/stroke_7.png'}],new IWSize(637,58))});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('Photos_files/PhotosMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');NotificationCenter.addObserver(null,relayoutMediaGrid_id5,'RangeChanged','id5')
adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');Widget.onload();fixAllIEPNGs('Media/transparent.gif');fixupAllIEPNGBGs();fixupIECSS3Opacity('id8');applyEffects()
initializeMediaStream_id5()}
function onPageUnload()
{Widget.onunload();}

