// Created by iWeb 2.0.4 local-build-20090820

function createMediaStream_id10()
{return IWCreatePhotocast("file://localhost/Users/darrencullis/Documents/WORK/2D/WEBSITE/new_iweb_sites/www.ncullisandsons.co.uk/Midlands_Mobile_Crane_Hire,_Contract_Lifting_And_Machinery_Moving_Midlands_And_Shropshire_-_Gallery_files/rss.xml",true,true);}
function initializeMediaStream_id10()
{createMediaStream_id10().load('file://localhost/Users/darrencullis/Documents/WORK/2D/WEBSITE/new_iweb_sites/www.ncullisandsons.co.uk',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id10',{pageIndex:0}));});}
function layoutMediaGrid_id10(range)
{createMediaStream_id10().load('file://localhost/Users/darrencullis/Documents/WORK/2D/WEBSITE/new_iweb_sites/www.ncullisandsons.co.uk',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id10',new IWPhotoGridLayout(5,new IWSize(112,112),new IWSize(112,0),new IWSize(138,127),27,27,0,new IWSize(19,20)),new IWPhotoFrame([IWCreateImage('Midlands_Mobile_Crane_Hire,_Contract_Lifting_And_Machinery_Moving_Midlands_And_Shropshire_-_Gallery_files/Freestyle_01.png'),IWCreateImage('Midlands_Mobile_Crane_Hire,_Contract_Lifting_And_Machinery_Moving_Midlands_And_Shropshire_-_Gallery_files/Freestyle_02.png'),IWCreateImage('Midlands_Mobile_Crane_Hire,_Contract_Lifting_And_Machinery_Moving_Midlands_And_Shropshire_-_Gallery_files/Freestyle_03.png'),IWCreateImage('Midlands_Mobile_Crane_Hire,_Contract_Lifting_And_Machinery_Moving_Midlands_And_Shropshire_-_Gallery_files/Freestyle_06.png'),IWCreateImage('Midlands_Mobile_Crane_Hire,_Contract_Lifting_And_Machinery_Moving_Midlands_And_Shropshire_-_Gallery_files/Freestyle_09.png'),IWCreateImage('Midlands_Mobile_Crane_Hire,_Contract_Lifting_And_Machinery_Moving_Midlands_And_Shropshire_-_Gallery_files/Freestyle_08.png'),IWCreateImage('Midlands_Mobile_Crane_Hire,_Contract_Lifting_And_Machinery_Moving_Midlands_And_Shropshire_-_Gallery_files/Freestyle_07.png'),IWCreateImage('Midlands_Mobile_Crane_Hire,_Contract_Lifting_And_Machinery_Moving_Midlands_And_Shropshire_-_Gallery_files/Freestyle_04.png')],null,2,0.480000,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,{backgroundColor:'#000000',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id10(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id10(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWEmptyStroke()});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('Midlands_Mobile_Crane_Hire,_Contract_Lifting_And_Machinery_Moving_Midlands_And_Shropshire_-_Gallery_files/Midlands_Mobile_Crane_Hire,_Contract_Lifting_And_Machinery_Moving_Midlands_And_Shropshire_-_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');NotificationCenter.addObserver(null,relayoutMediaGrid_id10,'RangeChanged','id10')
adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');detectBrowser();adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');fixAllIEPNGs('Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id10()}
function onPageUnload()
{Widget.onunload();}
