// Created by iWeb 2.0.4 local-build-20080812

function createMediaStream_id3()
{return IWCreatePhotocast("http://www.eventsbyamore.com/Site/Custom_Morsels_%26_Tailgate_Menu_files/rss.xml",true,true);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.eventsbyamore.com/Site',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.eventsbyamore.com/Site',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(3,new IWSize(182,182),new IWSize(182,0),new IWSize(218,197),27,27,0,new IWSize(6,6)),new IWPhotoFrame([IWCreateImage('Custom_Morsels_%26_Tailgate_Menu_files/comic-1_01.png'),IWCreateImage('Custom_Morsels_%26_Tailgate_Menu_files/comic-1_02.png'),IWCreateImage('Custom_Morsels_%26_Tailgate_Menu_files/comic-1_03.png'),IWCreateImage('Custom_Morsels_%26_Tailgate_Menu_files/comic-1_06.png'),IWCreateImage('Custom_Morsels_%26_Tailgate_Menu_files/comic-1_09.png'),IWCreateImage('Custom_Morsels_%26_Tailgate_Menu_files/comic-1_08.png'),IWCreateImage('Custom_Morsels_%26_Tailgate_Menu_files/comic-1_07.png'),IWCreateImage('Custom_Morsels_%26_Tailgate_Menu_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:'#f8f8f8',reflectionHeight:0,reflectionOffset:2,captionHeight:0,fullScreen:0,transitionIndex:0},'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),args.id);}
if(window.stubPage)
{onStubPage();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id10" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="300" height="185" style="height: 185px; left: 373px; position: absolute; top: 901px; width: 300px; z-index: 1; "><param name="src" value="Media/medium-1.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="id10" type="video/quicktime" width="300" height="185" style="height: 185px; left: 373px; position: absolute; top: 901px; width: 300px; z-index: 1; "><param name="src" value="Custom_Morsels_%26_Tailgate_Menu_files/food%20project-medium.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/medium-1.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id10" type="video/quicktime" width="300" height="185" data="Media/medium-1.m4v" style="height: 185px; left: 373px; position: absolute; top: 901px; width: 300px; z-index: 1; "><param name="src" value="Media/medium-1.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>');}}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-2,2,4,180),url:'Custom_Morsels_%26_Tailgate_Menu_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'Custom_Morsels_%26_Tailgate_Menu_files/stroke_1.png'},{rect:new IWRect(2,-2,241,4),url:'Custom_Morsels_%26_Tailgate_Menu_files/stroke_2.png'},{rect:new IWRect(243,-2,5,4),url:'Custom_Morsels_%26_Tailgate_Menu_files/stroke_3.png'},{rect:new IWRect(243,2,5,180),url:'Custom_Morsels_%26_Tailgate_Menu_files/stroke_4.png'},{rect:new IWRect(243,182,5,4),url:'Custom_Morsels_%26_Tailgate_Menu_files/stroke_5.png'},{rect:new IWRect(2,182,241,4),url:'Custom_Morsels_%26_Tailgate_Menu_files/stroke_6.png'},{rect:new IWRect(-2,182,4,4),url:'Custom_Morsels_%26_Tailgate_Menu_files/stroke_7.png'}],new IWSize(245,184))});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('Custom_Morsels_&_Tailgate_Menu_files/Custom_Morsels_&_Tailgate_MenuMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','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');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}
