// Created by iWeb 3.0.4 local-build-20120126

function createMediaStream_id16()
{return IWCreatePhotocast("http://www.abacocottage.com/AbacoCottage/Video_Gallery_files/rss.xml",true);}
function initializeMediaStream_id16()
{createMediaStream_id16().load('http://www.abacocottage.com/AbacoCottage',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget3'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id16',{pageIndex:0}));});}
function layoutMediaGrid_id16(range)
{createMediaStream_id16().load('http://www.abacocottage.com/AbacoCottage',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id16',new IWPhotoGridLayout(4,new IWSize(165,165),new IWSize(165,32),new IWSize(204,212),27,27,0,new IWSize(10,10)),new IWPhotoFrame([IWCreateImage('Video_Gallery_files/Modern_C_TL.png'),IWCreateImage('Video_Gallery_files/Modern_S_T.png'),IWCreateImage('Video_Gallery_files/Modern_C_TR.png'),IWCreateImage('Video_Gallery_files/Modern_S_R.png'),IWCreateImage('Video_Gallery_files/Modern_C_BR.png'),IWCreateImage('Video_Gallery_files/Modern_S_B.png'),IWCreateImage('Video_Gallery_files/Modern_C_BL.png'),IWCreateImage('Video_Gallery_files/Modern_S_L.png')],null,2,0.250000,0.000000,0.000000,0.000000,0.000000,17.000000,17.000000,17.000000,20.000000,40.000000,40.000000,40.000000,240.000000,null,null,null,0.100000),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget3','widget4','widget5')});}
function relayoutMediaGrid_id16(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id16(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id16(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWEmptyStroke(),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,921),url:'Video_Gallery_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Video_Gallery_files/stroke_1.png'},{rect:new IWRect(1,-1,697,2),url:'Video_Gallery_files/stroke_2.png'},{rect:new IWRect(698,-1,2,2),url:'Video_Gallery_files/stroke_3.png'},{rect:new IWRect(698,1,2,921),url:'Video_Gallery_files/stroke_4.png'},{rect:new IWRect(698,922,2,2),url:'Video_Gallery_files/stroke_5.png'},{rect:new IWRect(1,922,697,2),url:'Video_Gallery_files/stroke_6.png'},{rect:new IWRect(-1,922,2,2),url:'Video_Gallery_files/stroke_7.png'}],new IWSize(699,923)),stroke_2:new IWStrokeParts([{rect:new IWRect(-1,1,2,562),url:'Video_Gallery_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'Video_Gallery_files/stroke_9.png'},{rect:new IWRect(1,-1,673,2),url:'Video_Gallery_files/stroke_10.png'},{rect:new IWRect(674,-1,3,2),url:'Video_Gallery_files/stroke_11.png'},{rect:new IWRect(674,1,3,562),url:'Video_Gallery_files/stroke_12.png'},{rect:new IWRect(674,563,3,2),url:'Video_Gallery_files/stroke_13.png'},{rect:new IWRect(1,563,673,2),url:'Video_Gallery_files/stroke_14.png'},{rect:new IWRect(-1,563,2,2),url:'Video_Gallery_files/stroke_15.png'}],new IWSize(675,564))});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('Video_Gallery_files/Video_GalleryMoz.css')
detectBrowser();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');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');NotificationCenter.addObserver(null,relayoutMediaGrid_id16,'RangeChanged','id16')
adjustLineHeightIfTooBig('id17');adjustFontSizeIfTooBig('id17');adjustLineHeightIfTooBig('id18');adjustFontSizeIfTooBig('id18');adjustLineHeightIfTooBig('id19');adjustFontSizeIfTooBig('id19');adjustLineHeightIfTooBig('id20');adjustFontSizeIfTooBig('id20');adjustLineHeightIfTooBig('id21');adjustFontSizeIfTooBig('id21');adjustLineHeightIfTooBig('id22');adjustFontSizeIfTooBig('id22');adjustLineHeightIfTooBig('id23');adjustFontSizeIfTooBig('id23');adjustLineHeightIfTooBig('id24');adjustFontSizeIfTooBig('id24');adjustLineHeightIfTooBig('id25');adjustFontSizeIfTooBig('id25');adjustLineHeightIfTooBig('id26');adjustFontSizeIfTooBig('id26');adjustLineHeightIfTooBig('id27');adjustFontSizeIfTooBig('id27');adjustLineHeightIfTooBig('id28');adjustFontSizeIfTooBig('id28');adjustLineHeightIfTooBig('id29');adjustFontSizeIfTooBig('id29');Widget.onload();fixupIECSS3Opacity('id1');fixupIECSS3Opacity('id2');fixAllIEPNGs('Media/transparent.gif');fixupAllIEPNGBGs();fixupIECSS3Opacity('id30');applyEffects()
initializeMediaStream_id16()}
function onPageUnload()
{Widget.onunload();}

