// Created by iWeb 3.0.3 local-build-20120203

function createMediaStream_id4()
{return IWCreatePhotocast("http://www.theavensgallery.com/The_Avens_Gallery/Painting/Pages/Kari_Duke_files/rss.xml",true);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('http://www.theavensgallery.com/The_Avens_Gallery/Painting/Pages',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('http://www.theavensgallery.com/The_Avens_Gallery/Painting/Pages',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(3,new IWSize(198,198),new IWSize(198,74),new IWSize(218,287),27,27,0,new IWSize(0,0)),new IWEmptyStroke(),imageStream,range,new IWShadow({blurRadius:10,offset:new IWPoint(0.1047,5.9991),color:'#000000',opacity:0.750000}),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_id4(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id4(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id4(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({reflection_0:new IWReflection({opacity:0.50,offset:1.00}),shadow_3:new IWShadow({blurRadius:10,offset:new IWPoint(0.1047,5.9991),color:'#000000',opacity:1.000000}),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(0.1047,5.9991),color:'#000000',opacity:0.750000}),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(0.1047,5.9991),color:'#000000',opacity:0.750000}),shadow_4:new IWShadow({blurRadius:10,offset:new IWPoint(0.0698,3.9994),color:'#000000',opacity:0.750000}),shadow_5:new IWShadow({blurRadius:10,offset:new IWPoint(0.0698,3.9994),color:'#000000',opacity:0.750000}),shadow_2:new IWShadow({blurRadius:6,offset:new IWPoint(0.0524,2.9995),color:'#000000',opacity:1.000000})});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('Kari_Duke_files/Kari_DukeMoz.css')
adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');NotificationCenter.addObserver(null,relayoutMediaGrid_id4,'RangeChanged','id4')
adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');fixAllIEPNGs('../../Media/transparent.gif');fixupIECSS3Opacity('id1');fixupIECSS3Opacity('id2');fixupAllIEPNGBGs();Widget.onload();fixupIECSS3Opacity('id5');fixupIECSS3Opacity('id8');IMpreload('Kari_Duke_files','shapeimage_9','0');applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}

