// Created by iWeb 3.0.1 local-build-20100814

function createMediaStream_id12()
{return IWCreateMediaCollection("http://www.markeloper.com/photography/Gallery/Gallery_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id12()
{createMediaStream_id12().load('http://www.markeloper.com/photography/Gallery',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget17'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id12',{pageIndex:0}));});}
function layoutMediaGrid_id12(range)
{createMediaStream_id12().load('http://www.markeloper.com/photography/Gallery',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id12',new IWPhotoGridLayout(3,new IWSize(287,216),new IWSize(287,32),new IWSize(329,263),27,27,0,new IWSize(24,25)),new IWPhotoFrame([IWCreateImage('Gallery_files/techblack-frame_01.png'),IWCreateImage('Gallery_files/techblack-frame_02.png'),IWCreateImage('Gallery_files/techblack-frame_03.png'),IWCreateImage('Gallery_files/techblack-frame_06.png'),IWCreateImage('Gallery_files/techblack-frame_09.png'),IWCreateImage('Gallery_files/techblack-frame_08.png'),IWCreateImage('Gallery_files/techblack-frame_07.png'),IWCreateImage('Gallery_files/techblack-frame_04.png')],null,2,0.700000,0.000000,0.000000,0.000000,0.000000,16.000000,16.000000,16.000000,18.000000,543.000000,380.000000,543.000000,380.000000,null,null,null,0.100000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget17',null,'widget18',{showTitle:true,showMetric:true})});}
function relayoutMediaGrid_id12(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id12(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id12(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_4:new IWShadow({blurRadius:10,offset:new IWPoint(6.3640,6.3640),color:'#000000',opacity:0.750000}),shadow_0:new IWShadow({blurRadius:2,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:1.000000}),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(6.3640,6.3640),color:'#000000',opacity:0.750000}),shadow_3:new IWShadow({blurRadius:2,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:1.000000}),shadow_2:new IWShadow({blurRadius:2,offset:new IWPoint(2.1213,2.1213),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('Gallery_files/GalleryMoz.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');NotificationCenter.addObserver(null,relayoutMediaGrid_id12,'RangeChanged','id12')
adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');fixAllIEPNGs('../Media/transparent.gif');Widget.onload();IMpreload('Gallery_files','shapeimage_5','0');IMpreload('Gallery_files','shapeimage_5','1');IMpreload('Gallery_files','shapeimage_5','2');IMpreload('Gallery_files','shapeimage_5','3');IMpreload('Gallery_files','shapeimage_5','4');IMpreload('Gallery_files','shapeimage_5','5');IMpreload('Gallery_files','shapeimage_5','6');IMpreload('Gallery_files','shapeimage_5','7');IMpreload('Gallery_files','shapeimage_5','8');IMpreload('Gallery_files','shapeimage_5','9');IMpreload('Gallery_files','shapeimage_5','10');IMpreload('Gallery_files','shapeimage_5','11');IMpreload('Gallery_files','shapeimage_5','12');IMpreload('Gallery_files','shapeimage_5','13');applyEffects()
initializeMediaStream_id12()}
function onPageUnload()
{Widget.onunload();}
