// Created by iWeb 3.0.2 local-build-20110124

function createMediaStream_id8()
{return IWCreatePhotocast("http://www.camelotpartyrentals.biz/Camelot_Party_Rentals/Sparkle_Linen_files/rss.xml",false);}
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(6,new IWSize(108,108),new IWSize(108,28),new IWSize(119,151),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_0:new IWStrokeParts([{rect:new IWRect(-2,2,4,79),url:'Sparkle_Linen_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'Sparkle_Linen_files/stroke_1.png'},{rect:new IWRect(2,-2,166,4),url:'Sparkle_Linen_files/stroke_2.png'},{rect:new IWRect(168,-2,4,4),url:'Sparkle_Linen_files/stroke_3.png'},{rect:new IWRect(168,2,4,79),url:'Sparkle_Linen_files/stroke_4.png'},{rect:new IWRect(168,81,4,5),url:'Sparkle_Linen_files/stroke_5.png'},{rect:new IWRect(2,81,166,5),url:'Sparkle_Linen_files/stroke_6.png'},{rect:new IWRect(-2,81,4,5),url:'Sparkle_Linen_files/stroke_7.png'}],new IWSize(170,84)),stroke_1:new IWPhotoFrame([IWCreateImage('Sparkle_Linen_files/Creme_sidebar_frame_01.png'),IWCreateImage('Sparkle_Linen_files/Creme_sidebar_frame_02.png'),IWCreateImage('Sparkle_Linen_files/Creme_sidebar_frame_03.png'),IWCreateImage('Sparkle_Linen_files/Creme_sidebar_frame_06.png'),IWCreateImage('Sparkle_Linen_files/Creme_sidebar_frame_09.png'),IWCreateImage('Sparkle_Linen_files/Creme_sidebar_frame_08.png'),IWCreateImage('Sparkle_Linen_files/Creme_sidebar_frame_07.png'),IWCreateImage('Sparkle_Linen_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),stroke_3:new IWStrokeParts([{rect:new IWRect(-1,1,2,122),url:'Sparkle_Linen_files/stroke_16.png'},{rect:new IWRect(-1,-1,2,2),url:'Sparkle_Linen_files/stroke_17.png'},{rect:new IWRect(1,-1,117,2),url:'Sparkle_Linen_files/stroke_18.png'},{rect:new IWRect(118,-1,2,2),url:'Sparkle_Linen_files/stroke_19.png'},{rect:new IWRect(118,1,2,122),url:'Sparkle_Linen_files/stroke_20.png'},{rect:new IWRect(118,123,2,2),url:'Sparkle_Linen_files/stroke_21.png'},{rect:new IWRect(1,123,117,2),url:'Sparkle_Linen_files/stroke_22.png'},{rect:new IWRect(-1,123,2,2),url:'Sparkle_Linen_files/stroke_23.png'}],new IWSize(119,124)),stroke_4:new IWStrokeParts([{rect:new IWRect(-1,1,2,47),url:'Sparkle_Linen_files/stroke_24.png'},{rect:new IWRect(-1,-1,2,2),url:'Sparkle_Linen_files/stroke_25.png'},{rect:new IWRect(1,-1,345,2),url:'Sparkle_Linen_files/stroke_26.png'},{rect:new IWRect(346,-1,2,2),url:'Sparkle_Linen_files/stroke_27.png'},{rect:new IWRect(346,1,2,47),url:'Sparkle_Linen_files/stroke_28.png'},{rect:new IWRect(346,48,2,2),url:'Sparkle_Linen_files/stroke_29.png'},{rect:new IWRect(1,48,345,2),url:'Sparkle_Linen_files/stroke_30.png'},{rect:new IWRect(-1,48,2,2),url:'Sparkle_Linen_files/stroke_31.png'}],new IWSize(347,49)),stroke_2:new IWStrokeParts([{rect:new IWRect(-1,1,2,29),url:'Sparkle_Linen_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'Sparkle_Linen_files/stroke_9.png'},{rect:new IWRect(1,-1,117,2),url:'Sparkle_Linen_files/stroke_10.png'},{rect:new IWRect(118,-1,2,2),url:'Sparkle_Linen_files/stroke_11.png'},{rect:new IWRect(118,1,2,29),url:'Sparkle_Linen_files/stroke_12.png'},{rect:new IWRect(118,30,2,2),url:'Sparkle_Linen_files/stroke_13.png'},{rect:new IWRect(1,30,117,2),url:'Sparkle_Linen_files/stroke_14.png'},{rect:new IWRect(-1,30,2,2),url:'Sparkle_Linen_files/stroke_15.png'}],new IWSize(119,31))});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('Sparkle_Linen_files/Sparkle_LinenMoz.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')
adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');detectBrowser();adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');adjustLineHeightIfTooBig('id16');adjustFontSizeIfTooBig('id16');adjustLineHeightIfTooBig('id17');adjustFontSizeIfTooBig('id17');adjustLineHeightIfTooBig('id18');adjustFontSizeIfTooBig('id18');adjustLineHeightIfTooBig('id19');adjustFontSizeIfTooBig('id19');adjustLineHeightIfTooBig('id20');adjustFontSizeIfTooBig('id20');Widget.onload();fixAllIEPNGs('Media/transparent.gif');fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id8()}
function onPageUnload()
{Widget.onunload();}

