// Created by iWeb 3.0.2 local-build-20110124

function createMediaStream_id8()
{return IWCreatePhotocast("http://www.camelotpartyrentals.biz/Camelot_Party_Rentals/BBQS_files/rss.xml",true);}
function initializeMediaStream_id8()
{createMediaStream_id8().load('http://www.camelotpartyrentals.biz/Camelot_Party_Rentals',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id8',{pageIndex:0}));});}
function layoutMediaGrid_id8(range)
{createMediaStream_id8().load('http://www.camelotpartyrentals.biz/Camelot_Party_Rentals',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id8',new IWPhotoGridLayout(4,new IWSize(168,168),new IWSize(168,84),new IWSize(176,267),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id8(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id8(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id8(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_3:new IWStrokeParts([{rect:new IWRect(-1,1,2,29),url:'BBQS_files/stroke_24.png'},{rect:new IWRect(-1,-1,2,2),url:'BBQS_files/stroke_25.png'},{rect:new IWRect(1,-1,117,2),url:'BBQS_files/stroke_26.png'},{rect:new IWRect(118,-1,2,2),url:'BBQS_files/stroke_27.png'},{rect:new IWRect(118,1,2,29),url:'BBQS_files/stroke_28.png'},{rect:new IWRect(118,30,2,2),url:'BBQS_files/stroke_29.png'},{rect:new IWRect(1,30,117,2),url:'BBQS_files/stroke_30.png'},{rect:new IWRect(-1,30,2,2),url:'BBQS_files/stroke_31.png'}],new IWSize(119,31)),stroke_2:new IWStrokeParts([{rect:new IWRect(-1,1,2,89),url:'BBQS_files/stroke_16.png'},{rect:new IWRect(-1,-1,2,2),url:'BBQS_files/stroke_17.png'},{rect:new IWRect(1,-1,123,2),url:'BBQS_files/stroke_18.png'},{rect:new IWRect(124,-1,2,2),url:'BBQS_files/stroke_19.png'},{rect:new IWRect(124,1,2,89),url:'BBQS_files/stroke_20.png'},{rect:new IWRect(124,90,2,2),url:'BBQS_files/stroke_21.png'},{rect:new IWRect(1,90,123,2),url:'BBQS_files/stroke_22.png'},{rect:new IWRect(-1,90,2,2),url:'BBQS_files/stroke_23.png'}],new IWSize(125,91)),stroke_0:new IWStrokeParts([{rect:new IWRect(-2,2,4,80),url:'BBQS_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'BBQS_files/stroke_1.png'},{rect:new IWRect(2,-2,166,4),url:'BBQS_files/stroke_2.png'},{rect:new IWRect(168,-2,5,4),url:'BBQS_files/stroke_3.png'},{rect:new IWRect(168,2,5,80),url:'BBQS_files/stroke_4.png'},{rect:new IWRect(168,82,5,4),url:'BBQS_files/stroke_5.png'},{rect:new IWRect(2,82,166,4),url:'BBQS_files/stroke_6.png'},{rect:new IWRect(-2,82,4,4),url:'BBQS_files/stroke_7.png'}],new IWSize(170,84)),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,205),url:'BBQS_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'BBQS_files/stroke_9.png'},{rect:new IWRect(1,-1,312,2),url:'BBQS_files/stroke_10.png'},{rect:new IWRect(313,-1,2,2),url:'BBQS_files/stroke_11.png'},{rect:new IWRect(313,1,2,205),url:'BBQS_files/stroke_12.png'},{rect:new IWRect(313,206,2,2),url:'BBQS_files/stroke_13.png'},{rect:new IWRect(1,206,312,2),url:'BBQS_files/stroke_14.png'},{rect:new IWRect(-1,206,2,2),url:'BBQS_files/stroke_15.png'}],new IWSize(314,207)),stroke_4:new IWStrokeParts([{rect:new IWRect(-1,1,2,122),url:'BBQS_files/stroke_32.png'},{rect:new IWRect(-1,-1,2,2),url:'BBQS_files/stroke_33.png'},{rect:new IWRect(1,-1,117,2),url:'BBQS_files/stroke_34.png'},{rect:new IWRect(118,-1,2,2),url:'BBQS_files/stroke_35.png'},{rect:new IWRect(118,1,2,122),url:'BBQS_files/stroke_36.png'},{rect:new IWRect(118,123,2,2),url:'BBQS_files/stroke_37.png'},{rect:new IWRect(1,123,117,2),url:'BBQS_files/stroke_38.png'},{rect:new IWRect(-1,123,2,2),url:'BBQS_files/stroke_39.png'}],new IWSize(119,124)),stroke_5:new IWPhotoFrame([IWCreateImage('BBQS_files/Creme_sidebar_frame_01.png'),IWCreateImage('BBQS_files/Creme_sidebar_frame_02.png'),IWCreateImage('BBQS_files/Creme_sidebar_frame_03.png'),IWCreateImage('BBQS_files/Creme_sidebar_frame_06.png'),IWCreateImage('BBQS_files/Creme_sidebar_frame_09.png'),IWCreateImage('BBQS_files/Creme_sidebar_frame_08.png'),IWCreateImage('BBQS_files/Creme_sidebar_frame_07.png'),IWCreateImage('BBQS_files/Creme_sidebar_frame_04.png')],null,2,1.000000,0.000000,0.000000,0.000000,0.000000,10.000000,16.000000,10.000000,20.000000,523.000000,173.000000,523.000000,173.000000,null,null,null,0.100000)});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('BBQS_files/BBQSMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');NotificationCenter.addObserver(null,relayoutMediaGrid_id8,'RangeChanged','id8')
detectBrowser();adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');applyEffects()
initializeMediaStream_id8()}
function onPageUnload()
{Widget.onunload();}

