// Created by iWeb 2.0.3 local-build-20090312

function createMediaStream_id5()
{return IWCreateMediaCollection("http://www.bluesunroofing.com/BSRsite/LONGISLAND_ROOFING_EXPERTS/LONGISLAND_ROOFING_EXPERTS_files/rss.xml",true,8,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id5()
{createMediaStream_id5().load('http://www.bluesunroofing.com/BSRsite/LONGISLAND_ROOFING_EXPERTS',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget3'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id5',{pageIndex:0}));});}
function layoutMediaGrid_id5(range)
{createMediaStream_id5().load('http://www.bluesunroofing.com/BSRsite/LONGISLAND_ROOFING_EXPERTS',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id5',new IWPhotoGridLayout(1,new IWSize(488,366),new IWSize(488,34),new IWSize(488,415),27,27,0,new IWSize(16,16)),new IWPhotoFrame([IWCreateImage('LONGISLAND_ROOFING_EXPERTS_files/Formal_inset_01.png'),IWCreateImage('LONGISLAND_ROOFING_EXPERTS_files/Formal_inset_02.png'),IWCreateImage('LONGISLAND_ROOFING_EXPERTS_files/Formal_inset_03.png'),IWCreateImage('LONGISLAND_ROOFING_EXPERTS_files/Formal_inset_06.png'),IWCreateImage('LONGISLAND_ROOFING_EXPERTS_files/Formal_inset_09.png'),IWCreateImage('LONGISLAND_ROOFING_EXPERTS_files/Formal_inset_08.png'),IWCreateImage('LONGISLAND_ROOFING_EXPERTS_files/Formal_inset_07.png'),IWCreateImage('LONGISLAND_ROOFING_EXPERTS_files/Formal_inset_04.png')],null,0,0.600000,1.000000,1.000000,1.000000,1.000000,14.000000,14.000000,14.000000,14.000000,191.000000,262.000000,191.000000,262.000000,null,null,null,0.100000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget3',null,'widget4',{showTitle:true,showMetric:false})});}
function relayoutMediaGrid_id5(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id5(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id5(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_1:new IWShadow({blurRadius:7,offset:new IWPoint(4.2402,2.6496),color:'#000000',opacity:0.980000}),shadow_0:new IWShadow({blurRadius:3,offset:new IWPoint(4.4589,4.0148),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('LONGISLAND_ROOFING_EXPERTS_files/LONGISLAND_ROOFING_EXPERTSMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');NotificationCenter.addObserver(null,relayoutMediaGrid_id5,'RangeChanged','id5')
adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');fixAllIEPNGs('../Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id5()}
function onPageUnload()
{Widget.onunload();}
