// Created by iWeb 3.0.3 local-build-20111113

function createMediaStream_id1()
{return IWCreateMediaCollection("http://www.carolynpolk.com/art_website/artwork/artwork_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.carolynpolk.com/art_website/artwork',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget3'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://www.carolynpolk.com/art_website/artwork',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(2,new IWSize(203,152),new IWSize(203,40),new IWSize(244,207),27,27,0,new IWSize(89,74)),new IWPhotoFrame([IWCreateImage('artwork_files/spiralboook_ul.png'),IWCreateImage('artwork_files/spiralboook_top.png'),IWCreateImage('artwork_files/spiralboook_ur.png'),IWCreateImage('artwork_files/spiralboook_right.png'),IWCreateImage('artwork_files/spiralboook_lr.png'),IWCreateImage('artwork_files/spiralboook_bottom.png'),IWCreateImage('artwork_files/spiralboook_ll.png'),IWCreateImage('artwork_files/spiralboook_left.png')],null,1,0.800000,0.000000,10.000000,0.000000,19.000000,62.000000,49.000000,48.000000,72.000000,20.000000,1.000000,20.000000,1.000000,null,null,null,0.100000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget3',null,'widget4',{showTitle:false,showMetric:false})});}
function relayoutMediaGrid_id1(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id1(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id1(),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:4.00}),reflection_1:new IWReflection({opacity:0.50,offset:4.00}),shadow_0:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_2:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),stroke_2:new IWStrokeParts([{rect:new IWRect(-4,3,7,216),url:'artwork_files/stroke_15.png'},{rect:new IWRect(-6,-6,0,0),url:null},{rect:new IWRect(3,-4,304,7),url:'artwork_files/stroke_16.png'},{rect:new IWRect(307,-4,7,7),url:'artwork_files/stroke_17.png'},{rect:new IWRect(307,3,7,216),url:'artwork_files/stroke_18.png'},{rect:new IWRect(307,219,7,7),url:'artwork_files/stroke_19.png'},{rect:new IWRect(3,219,304,7),url:'artwork_files/stroke_20.png'},{rect:new IWRect(-4,219,7,7),url:'artwork_files/stroke_21.png'}],new IWSize(311,223)),stroke_3:new IWStrokeParts([{rect:new IWRect(-3,3,6,209),url:'artwork_files/stroke_22.png'},{rect:new IWRect(-16,-6,0,0),url:null},{rect:new IWRect(3,-4,325,7),url:'artwork_files/stroke_23.png'},{rect:new IWRect(328,-4,8,7),url:'artwork_files/stroke_24.png'},{rect:new IWRect(328,3,8,209),url:'artwork_files/stroke_25.png'},{rect:new IWRect(328,212,7,7),url:'artwork_files/stroke_26.png'},{rect:new IWRect(3,212,325,7),url:'artwork_files/stroke_27.png'},{rect:new IWRect(-3,212,6,7),url:'artwork_files/stroke_28.png'}],new IWSize(332,216)),shadow_3:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),stroke_1:new IWStrokeParts([{rect:new IWRect(-4,3,7,233),url:'artwork_files/stroke_8.png'},{rect:new IWRect(-6,-6,0,0),url:null},{rect:new IWRect(3,-4,313,7),url:'artwork_files/stroke_9.png'},{rect:new IWRect(316,-4,7,7),url:'artwork_files/stroke_10.png'},{rect:new IWRect(316,3,7,233),url:'artwork_files/stroke_11.png'},{rect:new IWRect(316,236,7,7),url:'artwork_files/stroke_12.png'},{rect:new IWRect(3,236,313,7),url:'artwork_files/stroke_13.png'},{rect:new IWRect(-4,236,7,7),url:'artwork_files/stroke_14.png'}],new IWSize(320,240)),shadow_1:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-4,3,7,235),url:'artwork_files/stroke.png'},{rect:new IWRect(1,-1,2,4),url:'artwork_files/stroke_1.png'},{rect:new IWRect(3,-4,236,7),url:'artwork_files/stroke_2.png'},{rect:new IWRect(239,-4,7,7),url:'artwork_files/stroke_3.png'},{rect:new IWRect(239,3,7,235),url:'artwork_files/stroke_4.png'},{rect:new IWRect(239,238,7,7),url:'artwork_files/stroke_5.png'},{rect:new IWRect(3,238,236,7),url:'artwork_files/stroke_6.png'},{rect:new IWRect(-4,238,7,7),url:'artwork_files/stroke_7.png'}],new IWSize(243,242)),reflection_2:new IWReflection({opacity:0.50,offset:4.00}),reflection_3:new IWReflection({opacity:0.50,offset:4.00})});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('artwork_files/artworkMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
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');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');fixupIECSS3Opacity('id2');applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}

