// Created by iWeb 3.0.4 local-build-20110825

function createMediaStream_id6()
{return IWCreateMediaCollection("http://www.volkmedia.com/Volkmedia.com/writing/writing_files/rss.xml",false,1,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id6()
{createMediaStream_id6().load('http://www.volkmedia.com/Volkmedia.com/writing',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget5'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id6',{pageIndex:0}));});}
function layoutMediaGrid_id6(range)
{createMediaStream_id6().load('http://www.volkmedia.com/Volkmedia.com/writing',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id6',new IWPhotoGridLayout(3,new IWSize(170,128),new IWSize(170,42),new IWSize(238,185),27,27,0,new IWSize(22,31)),new IWPhotoFrame([IWCreateImage('writing_files/FormalShadow_01.png'),IWCreateImage('writing_files/FormalShadow_02.png'),IWCreateImage('writing_files/FormalShadow_03.png'),IWCreateImage('writing_files/FormalShadow_06.png'),IWCreateImage('writing_files/FormalShadow_12.png'),IWCreateImage('writing_files/FormalShadow_11.png'),IWCreateImage('writing_files/FormalShadow_10.png'),IWCreateImage('writing_files/FormalShadow_04.png')],null,2,0.700000,1.000000,5.000000,1.000000,4.000000,17.000000,17.000000,17.000000,36.000000,4.000000,837.000000,4.000000,837.000000,null,null,null,0.100000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget5',null,'widget6',{showTitle:true,showMetric:false})});}
function relayoutMediaGrid_id6(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id6(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id6(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-3,3,6,68),url:'writing_files/stroke.png'},{rect:new IWRect(-3,-3,6,6),url:'writing_files/stroke_1.png'},{rect:new IWRect(3,-3,487,6),url:'writing_files/stroke_2.png'},{rect:new IWRect(490,-3,6,6),url:'writing_files/stroke_3.png'},{rect:new IWRect(490,3,6,68),url:'writing_files/stroke_4.png'},{rect:new IWRect(490,71,6,6),url:'writing_files/stroke_5.png'},{rect:new IWRect(3,71,487,6),url:'writing_files/stroke_6.png'},{rect:new IWRect(-3,71,6,6),url:'writing_files/stroke_7.png'}],new IWSize(493,74)),shadow_3:new IWShadow({blurRadius:10,offset:new IWPoint(-0.0000,0.0000),color:'#2a0d07',opacity:0.800000}),stroke_1:new IWStrokeParts([{rect:new IWRect(-3,3,6,175),url:'writing_files/stroke_8.png'},{rect:new IWRect(-3,-3,6,6),url:'writing_files/stroke_9.png'},{rect:new IWRect(3,-3,851,6),url:'writing_files/stroke_10.png'},{rect:new IWRect(854,-3,6,6),url:'writing_files/stroke_11.png'},{rect:new IWRect(854,3,6,175),url:'writing_files/stroke_12.png'},{rect:new IWRect(854,178,6,6),url:'writing_files/stroke_13.png'},{rect:new IWRect(3,178,851,6),url:'writing_files/stroke_14.png'},{rect:new IWRect(-3,178,6,6),url:'writing_files/stroke_15.png'}],new IWSize(857,181)),shadow_1:new IWShadow({blurRadius:8,offset:new IWPoint(-1.4142,-1.4142),color:'#000000',opacity:1.000000}),shadow_2:new IWShadow({blurRadius:10,offset:new IWPoint(1.4142,1.4142),color:'#2a0d07',opacity:0.500000}),shadow_0:new IWShadow({blurRadius:20,offset:new IWPoint(-0.0000,0.0000),color:'#000000',opacity:1.000000})});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('writing_files/writingMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');NotificationCenter.addObserver(null,relayoutMediaGrid_id6,'RangeChanged','id6')
fixAllIEPNGs('../Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id6()}
function onPageUnload()
{Widget.onunload();}

