// Created by iWeb 3.0.1 local-build-20100825

function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id1" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="389" height="235" style="height: 235px; left: -8px; position: absolute; top: 571px; width: 389px; z-index: 1; "><param name="src" value="Media/Casual%20Mind%201-medium.m4v" /><param name="controller" value="true" /><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id1" type="video/quicktime" width="389" height="235" style="height: 235px; left: -8px; position: absolute; top: 571px; width: 389px; z-index: 1; "><param name="src" value="VIDEOS_files/Casual%20Mind%201-medium.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/Casual%20Mind%201-medium.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id1" type="video/quicktime" width="389" height="235" data="Media/Casual%20Mind%201-medium.m4v" style="height: 235px; left: -8px; position: absolute; top: 571px; width: 389px; z-index: 1; "><param name="src" value="Media/Casual%20Mind%201-medium.m4v"/><param name="controller" value="true"/><param name="autoplay" value="false"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
function createMediaStream_id2()
{return IWCreatePhotocast("file://localhost/Users/eastertheteacher/Sites/Site%20as%20of%205-18-10/Bryan_Easter_Band/VIDEOS_files/rss.xml",false);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('file://localhost/Users/eastertheteacher/Sites/Site%20as%20of%205-18-10/Bryan_Easter_Band',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('file://localhost/Users/eastertheteacher/Sites/Site%20as%20of%205-18-10/Bryan_Easter_Band',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(2,new IWSize(223,223),new IWSize(223,30),new IWSize(305,268),27,27,0,new IWSize(4,4)),new IWPhotoFrame([IWCreateImage('VIDEOS_files/Headlines_01.png'),IWCreateImage('VIDEOS_files/Headlines_02.png'),IWCreateImage('VIDEOS_files/Headlines_03.png'),IWCreateImage('VIDEOS_files/Headlines_06.png'),IWCreateImage('VIDEOS_files/Headlines_09.png'),IWCreateImage('VIDEOS_files/Headlines_08.png'),IWCreateImage('VIDEOS_files/Headlines_07.png'),IWCreateImage('VIDEOS_files/Headlines_04.png')],null,0,0.500000,-3.000000,-3.000000,-3.000000,-3.000000,2.000000,2.000000,2.000000,2.000000,4.000000,4.000000,4.000000,4.000000,null,null,null,0.100000),imageStream,range,null,null,1.000000,null,'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-4,4,8,231),url:'VIDEOS_files/stroke.png'},{rect:new IWRect(-4,-4,8,8),url:'VIDEOS_files/stroke_1.png'},{rect:new IWRect(4,-4,278,8),url:'VIDEOS_files/stroke_2.png'},{rect:new IWRect(282,-4,8,8),url:'VIDEOS_files/stroke_3.png'},{rect:new IWRect(282,4,8,231),url:'VIDEOS_files/stroke_4.png'},{rect:new IWRect(282,235,8,8),url:'VIDEOS_files/stroke_5.png'},{rect:new IWRect(4,235,278,8),url:'VIDEOS_files/stroke_6.png'},{rect:new IWRect(-4,235,8,8),url:'VIDEOS_files/stroke_7.png'}],new IWSize(286,239)),shadow_0:new IWShadow({blurRadius:1,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.440000}),reflection_1:new IWReflection({opacity:0.50,offset:0.77}),reflection_0:new IWReflection({opacity:0.42,offset:1.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('VIDEOS_files/VIDEOSMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
fixAllIEPNGs('Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}
