// Created by iWeb 2.0.4 local-build-20090821

function createMediaStream_id16()
{return IWCreateMediaCollection("file://localhost/Users/markmensching/Desktop/New%20output/jade/pierces/pierces_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id16()
{createMediaStream_id16().load('file://localhost/Users/markmensching/Desktop/New%20output/jade/pierces',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget9'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id16',{pageIndex:0}));});}
function layoutMediaGrid_id16(range)
{createMediaStream_id16().load('file://localhost/Users/markmensching/Desktop/New%20output/jade/pierces',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id16',new IWPhotoGridLayout(2,new IWSize(259,194),new IWSize(259,48),new IWSize(309,257),27,27,0,new IWSize(31,34)),new IWPhotoFrame([IWCreateImage('pierces_files/Freestyle_01.png'),IWCreateImage('pierces_files/Freestyle_02.png'),IWCreateImage('pierces_files/Freestyle_03.png'),IWCreateImage('pierces_files/Freestyle_06.png'),IWCreateImage('pierces_files/Freestyle_09.png'),IWCreateImage('pierces_files/Freestyle_08.png'),IWCreateImage('pierces_files/Freestyle_07.png'),IWCreateImage('pierces_files/Freestyle_04.png')],null,2,0.800000,3.000000,3.000000,3.000000,3.000000,22.000000,24.000000,23.000000,25.000000,166.000000,222.000000,166.000000,222.000000,null,null,null,0.100000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget9',null,'widget10',{showTitle:false,showMetric:false})});}
function relayoutMediaGrid_id16(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id16(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id16(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_6:new IWShadow({blurRadius:5,offset:new IWPoint(4.9497,4.9497),color:'#000000',opacity:1.000000}),shadow_1:new IWShadow({blurRadius:5,offset:new IWPoint(2.5173,3.1086),color:'#000000',opacity:1.000000}),shadow_3:new IWShadow({blurRadius:5,offset:new IWPoint(4.9497,4.9497),color:'#000000',opacity:1.000000}),shadow_4:new IWShadow({blurRadius:5,offset:new IWPoint(4.9497,4.9497),color:'#000000',opacity:1.000000}),shadow_0:new IWShadow({blurRadius:5,offset:new IWPoint(2.5173,3.1086),color:'#000000',opacity:1.000000}),shadow_7:new IWShadow({blurRadius:5,offset:new IWPoint(4.9497,4.9497),color:'#000000',opacity:1.000000}),shadow_5:new IWShadow({blurRadius:5,offset:new IWPoint(4.9497,4.9497),color:'#000000',opacity:1.000000}),shadow_8:new IWShadow({blurRadius:5,offset:new IWPoint(4.9497,4.9497),color:'#000000',opacity:1.000000}),shadow_2:new IWShadow({blurRadius:5,offset:new IWPoint(4.9497,4.9497),color:'#000000',opacity:1.000000})});registry.applyEffects();}
function hostedOnDM()
{return false;}
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('pierces_files/piercesMoz.css')
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');NotificationCenter.addObserver(null,relayoutMediaGrid_id16,'RangeChanged','id16')
adjustLineHeightIfTooBig('id17');adjustFontSizeIfTooBig('id17');adjustLineHeightIfTooBig('id18');adjustFontSizeIfTooBig('id18');fixAllIEPNGs('../Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id16()}
function onPageUnload()
{Widget.onunload();}
