// Created by iWeb 3.0.1 local-build-20100824

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="75" height="16" style="height: 0px; left: 410px; position: absolute; top: 88px; width: 75px; z-index: 1; "><param name="src" value="Media/welcome-3.mov" /><param name="controller" value="false" /><param name="autoplay" value="true" /><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="75" height="16" style="height: 0px; left: 410px; position: absolute; top: 88px; width: 75px; z-index: 1; "><param name="src" value="Media/welcome-3.mov"/><param name="controller" value="false"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id1" type="video/quicktime" width="75" height="16" data="Media/welcome-3.mov" style="height: 0px; left: 410px; position: absolute; top: 88px; width: 75px; z-index: 1; "><param name="src" value="Media/welcome-3.mov"/><param name="controller" value="false"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
function createMediaStream_id12()
{return IWCreatePhotocast("http://www.hazelpark-bowl.com/HazelPark/leagues_files/rss.xml",true);}
function initializeMediaStream_id12()
{createMediaStream_id12().load('http://www.hazelpark-bowl.com/HazelPark',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id12',{pageIndex:0}));});}
function layoutMediaGrid_id12(range)
{createMediaStream_id12().load('http://www.hazelpark-bowl.com/HazelPark',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id12',new IWPhotoGridLayout(3,new IWSize(166,166),new IWSize(166,32),new IWSize(230,213),27,27,0,new IWSize(6,6)),new IWPhotoFrame([IWCreateImage('leagues_files/comic-1_01.png'),IWCreateImage('leagues_files/comic-1_02.png'),IWCreateImage('leagues_files/comic-1_03.png'),IWCreateImage('leagues_files/comic-1_06.png'),IWCreateImage('leagues_files/comic-1_09.png'),IWCreateImage('leagues_files/comic-1_08.png'),IWCreateImage('leagues_files/comic-1_07.png'),IWCreateImage('leagues_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),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id12(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id12(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_2:new IWStrokeParts([{rect:new IWRect(-1,1,2,1082),url:'leagues_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'leagues_files/stroke_9.png'},{rect:new IWRect(1,-1,795,2),url:'leagues_files/stroke_10.png'},{rect:new IWRect(796,-1,2,2),url:'leagues_files/stroke_11.png'},{rect:new IWRect(796,1,2,1082),url:'leagues_files/stroke_12.png'},{rect:new IWRect(796,1083,2,2),url:'leagues_files/stroke_13.png'},{rect:new IWRect(1,1083,795,2),url:'leagues_files/stroke_14.png'},{rect:new IWRect(-1,1083,2,2),url:'leagues_files/stroke_15.png'}],new IWSize(797,1084)),stroke_0:new IWEmptyStroke(),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,276),url:'leagues_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'leagues_files/stroke_1.png'},{rect:new IWRect(1,-1,794,2),url:'leagues_files/stroke_2.png'},{rect:new IWRect(795,-1,2,2),url:'leagues_files/stroke_3.png'},{rect:new IWRect(795,1,2,276),url:'leagues_files/stroke_4.png'},{rect:new IWRect(795,277,2,2),url:'leagues_files/stroke_5.png'},{rect:new IWRect(1,277,794,2),url:'leagues_files/stroke_6.png'},{rect:new IWRect(-1,277,2,2),url:'leagues_files/stroke_7.png'}],new IWSize(796,278)),stroke_3:new IWPhotoFrame([IWCreateImage('leagues_files/Rosewood_01.png'),IWCreateImage('leagues_files/Rosewood_02.png'),IWCreateImage('leagues_files/Rosewood_03.png'),IWCreateImage('leagues_files/Rosewood_06.png'),IWCreateImage('leagues_files/Rosewood_09.png'),IWCreateImage('leagues_files/Rosewood_08.png'),IWCreateImage('leagues_files/Rosewood_07.png'),IWCreateImage('leagues_files/Rosewood_04.png')],null,2,0.400000,0.000000,0.000000,0.000000,0.000000,26.000000,24.000000,26.000000,27.000000,79.000000,105.000000,79.000000,105.000000,null,null,null,0.400000)});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('leagues_files/leaguesMoz.css')
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');NotificationCenter.addObserver(null,relayoutMediaGrid_id12,'RangeChanged','id12')
adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');fixAllIEPNGs('Media/transparent.gif');fixupAllIEPNGBGs();fixupIECSS3Opacity('id3');Widget.onload();applyEffects()
initializeMediaStream_id12()}
function onPageUnload()
{Widget.onunload();}
