// Created by iWeb 3.0.1 local-build-20100713
//
//  iWeb - iWebHitCounter.js
//  Copyright (c) 2007-2008 Apple Inc. All rights reserved.
//

function iWebWriteCounter()
{try
{writeCounter();}
catch(e)
{}}
function createMediaStream_id3()
{return IWCreatePhotocast("http://www.actorwriter.com/Actor_Writer/Accomplishments_files/rss.xml",true);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.actorwriter.com/Actor_Writer',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.actorwriter.com/Actor_Writer',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(3,new IWSize(218,218),new IWSize(218,54),new IWSize(218,287),27,27,0,new IWSize(38,38)),new IWPhotoFrame([IWCreateImage('Accomplishments_files/Crayon_BK_v4%20%2801%29.png'),IWCreateImage('Accomplishments_files/Crayon_BK_v4%20%2802%29.png'),IWCreateImage('Accomplishments_files/Crayon_BK_v4%20%2803%29.png'),IWCreateImage('Accomplishments_files/Crayon_BK_v4%20%2805%29.png'),IWCreateImage('Accomplishments_files/Crayon_BK_v4%20%2808%29.png'),IWCreateImage('Accomplishments_files/Crayon_BK_v4%20%2807%29.png'),IWCreateImage('Accomplishments_files/Crayon_BK_v4%20%2806%29.png'),IWCreateImage('Accomplishments_files/Crayon_BK_v4%20%2804%29.png')],null,0,0.875000,19.000000,19.000000,19.000000,19.000000,41.000000,41.000000,41.000000,41.000000,2.000000,1.000000,2.000000,1.000000,null,null,null,0.100000),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:2},'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_0:new IWShadow({blurRadius:21,offset:new IWPoint(3.5355,3.5355),color:'#ffffff',opacity:1.000000}),shadow_1:new IWShadow({blurRadius:21,offset:new IWPoint(3.5355,3.5355),color:'#ffffff',opacity:1.000000}),stroke_1:new IWStrokeParts([{rect:new IWRect(-2,2,4,20),url:'Accomplishments_files/stroke_8.png'},{rect:new IWRect(-2,-2,4,4),url:'Accomplishments_files/stroke_9.png'},{rect:new IWRect(2,-2,20,4),url:'Accomplishments_files/stroke_10.png'},{rect:new IWRect(22,-2,4,4),url:'Accomplishments_files/stroke_11.png'},{rect:new IWRect(22,2,4,20),url:'Accomplishments_files/stroke_12.png'},{rect:new IWRect(22,22,4,4),url:'Accomplishments_files/stroke_13.png'},{rect:new IWRect(2,22,20,4),url:'Accomplishments_files/stroke_14.png'},{rect:new IWRect(-2,22,4,4),url:'Accomplishments_files/stroke_15.png'}],new IWSize(24,24)),stroke_0:new IWStrokeParts([{rect:new IWRect(-2,2,4,377),url:'Accomplishments_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'Accomplishments_files/stroke_1.png'},{rect:new IWRect(2,-2,266,4),url:'Accomplishments_files/stroke_2.png'},{rect:new IWRect(268,-2,4,4),url:'Accomplishments_files/stroke_3.png'},{rect:new IWRect(268,2,4,377),url:'Accomplishments_files/stroke_4.png'},{rect:new IWRect(268,379,4,5),url:'Accomplishments_files/stroke_5.png'},{rect:new IWRect(2,379,266,5),url:'Accomplishments_files/stroke_6.png'},{rect:new IWRect(-2,379,4,5),url:'Accomplishments_files/stroke_7.png'}],new IWSize(270,381))});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('Accomplishments_files/AccomplishmentsMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
detectBrowser();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');adjustLineHeightIfTooBig('id27');adjustFontSizeIfTooBig('id27');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');iWebWriteCounter();applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}
