// Created by iWeb 3.0.1 local-build-20100814

function createMediaStream_id8()
{return IWCreateMediaCollection("file://localhost/Users/CCG5/Sites/SCOTT%20UPLOAD%20FOLDER/ScottMedlock.com/Events/Events_files/rss.xml",true,9,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id8()
{createMediaStream_id8().load('file://localhost/Users/CCG5/Sites/SCOTT%20UPLOAD%20FOLDER/ScottMedlock.com/Events',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget7'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id8',{pageIndex:0}));});}
function layoutMediaGrid_id8(range)
{createMediaStream_id8().load('file://localhost/Users/CCG5/Sites/SCOTT%20UPLOAD%20FOLDER/ScottMedlock.com/Events',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id8',new IWPhotoGridLayout(4,new IWSize(181,136),new IWSize(181,43),new IWSize(188,194),27,27,0,new IWSize(67,56)),new IWPhotoFrame([IWCreateImage('Events_files/spiralboook_ul.png'),IWCreateImage('Events_files/spiralboook_top.png'),IWCreateImage('Events_files/spiralboook_ur.png'),IWCreateImage('Events_files/spiralboook_right.png'),IWCreateImage('Events_files/spiralboook_lr.png'),IWCreateImage('Events_files/spiralboook_bottom.png'),IWCreateImage('Events_files/spiralboook_ll.png'),IWCreateImage('Events_files/spiralboook_left.png')],null,1,0.600000,0.000000,10.000000,0.000000,19.000000,62.000000,49.000000,48.000000,72.000000,20.000000,1.000000,20.000000,1.000000,null,null,null,0.100000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget7',null,'widget8',{showTitle:false,showMetric:false})});}
function relayoutMediaGrid_id8(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id8(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id8(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWPhotoFrame([IWCreateImage('Events_files/Freestyle_01.png'),IWCreateImage('Events_files/Freestyle_02.png'),IWCreateImage('Events_files/Freestyle_03.png'),IWCreateImage('Events_files/Freestyle_06.png'),IWCreateImage('Events_files/Freestyle_09.png'),IWCreateImage('Events_files/Freestyle_08.png'),IWCreateImage('Events_files/Freestyle_07.png'),IWCreateImage('Events_files/Freestyle_04.png')],null,2,0.720000,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),shadow_4:new IWShadow({blurRadius:10,offset:new IWPoint(-1.7794,33.9534),color:'#000000',opacity:0.220000}),reflection_0:new IWReflection({opacity:0.55,offset:1.00}),shadow_3:new IWShadow({blurRadius:10,offset:new IWPoint(24.0416,24.0416),color:'#000000',opacity:0.220000}),reflection_1:new IWReflection({opacity:0.42,offset:1.00}),shadow_2:new IWShadow({blurRadius:4,offset:new IWPoint(12.7279,-12.7279),color:'#000000',opacity:0.500000}),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(-13.0156,29.2335),color:'#000000',opacity:0.750000}),shadow_1:new IWShadow({blurRadius:17,offset:new IWPoint(-7.0711,7.0711),color:'#000000',opacity:0.730000})});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('Events_files/EventsMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');detectBrowser();NotificationCenter.addObserver(null,relayoutMediaGrid_id8,'RangeChanged','id8')
adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');fixAllIEPNGs('../Media/transparent.gif');fixupIECSS3Opacity('id4');Widget.onload();fixupAllIEPNGBGs();IMpreload('Events_files','shapeimage_5','0');IMpreload('Events_files','shapeimage_29','0');applyEffects()
initializeMediaStream_id8()}
function onPageUnload()
{Widget.onunload();}
