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

function iWebWriteCounter()
{try
{writeCounter();}
catch(e)
{}}
function createMediaStream_id4()
{return IWCreatePhotocast("http://web.me.com/fkpm/Assemblage_and_Construction_Sculpture/Assemblage_Art_1991_to_2003_files/rss.xml",true,true);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('http://web.me.com/fkpm/Assemblage_and_Construction_Sculpture',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('http://web.me.com/fkpm/Assemblage_and_Construction_Sculpture',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(1,new IWSize(546,546),new IWSize(546,37),new IWSize(655,598),27,27,0,new IWSize(34,34)),new IWPhotoFrame([IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Hardcover/Hardcover_bevel_01.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Hardcover/Hardcover_bevel_02.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Hardcover/Hardcover_bevel_03.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Hardcover/Hardcover_bevel_06.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Hardcover/Hardcover_bevel_09.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Hardcover/Hardcover_bevel_08.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Hardcover/Hardcover_bevel_07.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Hardcover/Hardcover_bevel_04.png')],null,0,1.000000,0.000000,0.000000,0.000000,0.000000,17.000000,17.000000,17.000000,17.000000,403.000000,295.000000,403.000000,295.000000,null,null,null,0.100000),imageStream,range,null,null,1.000000,{backgroundColor:'#000000',reflectionHeight:0,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:2},'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id4(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id4(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id4(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-2,2,4,296),url:'Assemblage_Art_1991_to_2003_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'Assemblage_Art_1991_to_2003_files/stroke_1.png'},{rect:new IWRect(2,-2,275,4),url:'Assemblage_Art_1991_to_2003_files/stroke_2.png'},{rect:new IWRect(277,-2,5,4),url:'Assemblage_Art_1991_to_2003_files/stroke_3.png'},{rect:new IWRect(277,2,5,296),url:'Assemblage_Art_1991_to_2003_files/stroke_4.png'},{rect:new IWRect(277,298,5,4),url:'Assemblage_Art_1991_to_2003_files/stroke_5.png'},{rect:new IWRect(2,298,275,4),url:'Assemblage_Art_1991_to_2003_files/stroke_6.png'},{rect:new IWRect(-2,298,4,4),url:'Assemblage_Art_1991_to_2003_files/stroke_7.png'}],new IWSize(279,300))});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
IWRegisterNamedImage('contribution overlay','Media/Photo-Overlay-Contribution.png')
loadMozillaCSS('Assemblage_Art_1991_to_2003_files/Assemblage_Art_1991_to_2003Moz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');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');detectBrowser();adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');Widget.onload();fixAllIEPNGs('Media/transparent.gif');fixupAllIEPNGBGs();iWebWriteCounter();applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}
