// Created by iWeb 3.0.1 local-build-20090614

function createMediaStream_id2()
{return IWCreatePhotocast("http://www.tylerica.com/Site/Albums/Pages/Fall_2008_files/rss.xml",true);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://www.tylerica.com/Site/Albums/Pages',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://www.tylerica.com/Site/Albums/Pages',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(5,new IWSize(183,183),new IWSize(183,0),new IWSize(198,198),27,27,0,new IWSize(12,13)),new IWPhotoFrame([IWCreateImage('Fall_2008_files/Modern_C_TL.png'),IWCreateImage('Fall_2008_files/Modern_S_T.png'),IWCreateImage('Fall_2008_files/Modern_C_TR.png'),IWCreateImage('Fall_2008_files/Modern_S_R.png'),IWCreateImage('Fall_2008_files/Modern_C_BR.png'),IWCreateImage('Fall_2008_files/Modern_S_B.png'),IWCreateImage('Fall_2008_files/Modern_C_BL.png'),IWCreateImage('Fall_2008_files/Modern_S_L.png')],null,2,0.332211,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),imageStream,range,new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:2},'../../Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id2(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_0:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),stroke_1:new IWStrokeParts([{rect:new IWRect(-11,9,17,164),url:'Fall_2008_files/stroke_8.png'},{rect:new IWRect(-5,-8,11,17),url:'Fall_2008_files/stroke_9.png'},{rect:new IWRect(6,-9,255,18),url:'Fall_2008_files/stroke_10.png'},{rect:new IWRect(261,-8,19,17),url:'Fall_2008_files/stroke_11.png'},{rect:new IWRect(261,9,22,164),url:'Fall_2008_files/stroke_12.png'},{rect:new IWRect(261,173,21,18),url:'Fall_2008_files/stroke_13.png'},{rect:new IWRect(6,173,255,19),url:'Fall_2008_files/stroke_14.png'},{rect:new IWRect(-10,173,16,17),url:'Fall_2008_files/stroke_15.png'}],new IWSize(272,181)),shadow_2:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_3:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-10,8,16,204),url:'Fall_2008_files/stroke.png'},{rect:new IWRect(-5,-7,11,15),url:'Fall_2008_files/stroke_1.png'},{rect:new IWRect(6,-9,314,17),url:'Fall_2008_files/stroke_2.png'},{rect:new IWRect(320,-8,18,16),url:'Fall_2008_files/stroke_3.png'},{rect:new IWRect(320,8,20,204),url:'Fall_2008_files/stroke_4.png'},{rect:new IWRect(320,212,20,17),url:'Fall_2008_files/stroke_5.png'},{rect:new IWRect(6,212,314,18),url:'Fall_2008_files/stroke_6.png'},{rect:new IWRect(-9,212,15,16),url:'Fall_2008_files/stroke_7.png'}],new IWSize(330,220)),shadow_1:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000})});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('Fall_2008_files/Fall_2008Moz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
detectBrowser();Widget.onload();fixAllIEPNGs('../../Media/transparent.gif');applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}
