// Created by iWeb 3.0.1 local-build-20091231

function createMediaStream_id27()
{return IWCreatePhotocast("http://www.valsartdiary.com/valsartdiary/BUY_MY_ART_3_1_files/rss.xml",false);}
function initializeMediaStream_id27()
{createMediaStream_id27().load('http://www.valsartdiary.com/valsartdiary',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget5'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id27',{pageIndex:0}));});}
function layoutMediaGrid_id27(range)
{createMediaStream_id27().load('http://www.valsartdiary.com/valsartdiary',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id27',new IWPhotoGridLayout(6,new IWSize(75,75),new IWSize(75,0),new IWSize(89,90),27,27,0,new IWSize(0,0)),new IWStrokeParts([{rect:new IWRect(-1,1,2,72),url:'BUY_MY_ART_3_1_files/stroke_16.png'},{rect:new IWRect(-1,-1,2,2),url:'BUY_MY_ART_3_1_files/stroke_17.png'},{rect:new IWRect(1,-1,72,2),url:'BUY_MY_ART_3_1_files/stroke_18.png'},{rect:new IWRect(73,-1,2,2),url:'BUY_MY_ART_3_1_files/stroke_19.png'},{rect:new IWRect(73,1,2,72),url:'BUY_MY_ART_3_1_files/stroke_20.png'},{rect:new IWRect(73,73,2,2),url:'BUY_MY_ART_3_1_files/stroke_21.png'},{rect:new IWRect(1,73,72,2),url:'BUY_MY_ART_3_1_files/stroke_22.png'},{rect:new IWRect(-1,73,2,2),url:'BUY_MY_ART_3_1_files/stroke_23.png'}],new IWSize(74,74)),imageStream,range,new IWShadow({blurRadius:0,offset:new IWPoint(0.7071,0.7071),color:'#000000',opacity:0.333333}),null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget5','widget6','widget7')});}
function relayoutMediaGrid_id27(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id27(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_2:new IWShadow({blurRadius:10,offset:new IWPoint(0.8910,-0.4540),color:'#000000',opacity:0.750000}),stroke_3:new IWEmptyStroke(),stroke_0:new IWStrokeParts([{rect:new IWRect(-2,2,4,146),url:'BUY_MY_ART_3_1_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'BUY_MY_ART_3_1_files/stroke_1.png'},{rect:new IWRect(2,-2,182,4),url:'BUY_MY_ART_3_1_files/stroke_2.png'},{rect:new IWRect(184,-2,4,4),url:'BUY_MY_ART_3_1_files/stroke_3.png'},{rect:new IWRect(184,2,4,146),url:'BUY_MY_ART_3_1_files/stroke_4.png'},{rect:new IWRect(184,148,4,5),url:'BUY_MY_ART_3_1_files/stroke_5.png'},{rect:new IWRect(2,148,182,5),url:'BUY_MY_ART_3_1_files/stroke_6.png'},{rect:new IWRect(-2,148,4,5),url:'BUY_MY_ART_3_1_files/stroke_7.png'}],new IWSize(186,150)),stroke_1:new IWEmptyStroke(),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(0.8910,-0.4540),color:'#000000',opacity:0.750000}),stroke_2:new IWStrokeParts([{rect:new IWRect(-1,1,2,205),url:'BUY_MY_ART_3_1_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'BUY_MY_ART_3_1_files/stroke_9.png'},{rect:new IWRect(1,-1,279,2),url:'BUY_MY_ART_3_1_files/stroke_10.png'},{rect:new IWRect(280,-1,2,2),url:'BUY_MY_ART_3_1_files/stroke_11.png'},{rect:new IWRect(280,1,2,205),url:'BUY_MY_ART_3_1_files/stroke_12.png'},{rect:new IWRect(280,206,2,3),url:'BUY_MY_ART_3_1_files/stroke_13.png'},{rect:new IWRect(1,206,279,3),url:'BUY_MY_ART_3_1_files/stroke_14.png'},{rect:new IWRect(-1,206,2,3),url:'BUY_MY_ART_3_1_files/stroke_15.png'}],new IWSize(281,207)),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(0.8910,-0.4540),color:'#000000',opacity:0.750000})});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
loadMozillaCSS('BUY_MY_ART_3_1_files/BUY_MY_ART_3_1Moz.css')
detectBrowser();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');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');adjustLineHeightIfTooBig('id16');adjustFontSizeIfTooBig('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');NotificationCenter.addObserver(null,relayoutMediaGrid_id27,'RangeChanged','id27')
adjustLineHeightIfTooBig('id28');adjustFontSizeIfTooBig('id28');adjustLineHeightIfTooBig('id29');adjustFontSizeIfTooBig('id29');adjustLineHeightIfTooBig('id30');adjustFontSizeIfTooBig('id30');adjustLineHeightIfTooBig('id31');adjustFontSizeIfTooBig('id31');adjustLineHeightIfTooBig('id32');adjustFontSizeIfTooBig('id32');adjustLineHeightIfTooBig('id33');adjustFontSizeIfTooBig('id33');adjustLineHeightIfTooBig('id34');adjustFontSizeIfTooBig('id34');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');applyEffects()
initializeMediaStream_id27()}
function onPageUnload()
{Widget.onunload();}
