// Created by iWeb 3.0.1 local-build-20100810

function createMediaStream_id2()
{return IWCreateMediaCollection("file://localhost/Users/CCG5/Sites/SCOTT%20UPLOAD%20FOLDER/ScottMedlock.com/Collection_Albums/Collection_Albums_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('file://localhost/Users/CCG5/Sites/SCOTT%20UPLOAD%20FOLDER/ScottMedlock.com/Collection_Albums',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget7'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('file://localhost/Users/CCG5/Sites/SCOTT%20UPLOAD%20FOLDER/ScottMedlock.com/Collection_Albums',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(2,new IWSize(195,146),new IWSize(195,43),new IWSize(244,204),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget7',null,'widget8',{showTitle:true,showMetric:false})});}
function relayoutMediaGrid_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id2(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWEmptyStroke(),shadow_2:new IWShadow({blurRadius:10,offset:new IWPoint(-17.0829,38.3689),color:'#000000',opacity:0.750000}),shadow_6:new IWShadow({blurRadius:10,offset:new IWPoint(-17.0829,38.3689),color:'#000000',opacity:0.750000}),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(-13.0156,29.2335),color:'#000000',opacity:0.750000}),reflection_0:new IWReflection({opacity:0.75,offset:1.00}),shadow_3:new IWShadow({blurRadius:4,offset:new IWPoint(45.3154,-21.1309),color:'#000000',opacity:0.750000}),shadow_5:new IWShadow({blurRadius:4,offset:new IWPoint(44.1474,-23.4736),color:'#000000',opacity:0.750000}),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(-17.0829,38.3689),color:'#000000',opacity:0.750000}),shadow_7:new IWShadow({blurRadius:10,offset:new IWPoint(-17.0829,38.3689),color:'#000000',opacity:0.750000}),shadow_4:new IWShadow({blurRadius:4,offset:new IWPoint(46.0252,19.5366),color:'#000000',opacity:0.750000})});registry.applyEffects();}
function hostedOnDM()
{return false;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','../Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','../Media/Photo-Overlay-Movie.png')
loadMozillaCSS('Collection_Albums_files/Collection_AlbumsMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','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');Widget.onload();fixAllIEPNGs('../Media/transparent.gif');IMpreload('Collection_Albums_files','shapeimage_4','0');IMpreload('Collection_Albums_files','shapeimage_5','0');IMpreload('Collection_Albums_files','shapeimage_6','0');IMpreload('Collection_Albums_files','shapeimage_8','0');applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}
