// Created by iWeb 3.0.1 local-build-20090517

function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id10" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="373" height="226" style="height: 226px; left: 45px; position: absolute; top: 74px; width: 373px; z-index: 1; "><param name="src" value="Media/Edgerton%20City%20Hall%20Video%20Tour.m4v" /><param name="controller" value="true" /><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id10" type="video/quicktime" width="373" height="226" style="height: 226px; left: 45px; position: absolute; top: 74px; width: 373px; z-index: 1; "><param name="src" value="Edgerton_City_Hall_Video_Tour_files/Edgerton%20City%20Hall%20Video%20Tour.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/Edgerton%20City%20Hall%20Video%20Tour.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id10" type="video/quicktime" width="373" height="226" data="Media/Edgerton%20City%20Hall%20Video%20Tour.m4v" style="height: 226px; left: 45px; position: absolute; top: 74px; width: 373px; z-index: 1; "><param name="src" value="Media/Edgerton%20City%20Hall%20Video%20Tour.m4v"/><param name="controller" value="true"/><param name="autoplay" value="false"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
function createMediaStream_id11()
{return IWCreatePhotocast("http://edgertoncityhall.beansandbrains.com/City_Hall_Referendum_Information/Edgerton_City_Hall_Video_Tour_files/rss.xml",true);}
function initializeMediaStream_id11()
{createMediaStream_id11().load('http://edgertoncityhall.beansandbrains.com/City_Hall_Referendum_Information',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id11',{pageIndex:0}));});}
function layoutMediaGrid_id11(range)
{createMediaStream_id11().load('http://edgertoncityhall.beansandbrains.com/City_Hall_Referendum_Information',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id11',new IWPhotoGridLayout(3,new IWSize(182,182),new IWSize(182,28),new IWSize(204,225),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.500000}),null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id11(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id11(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_2:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.500000}),shadow_3:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.500000}),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.500000}),shadow_4:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.500000}),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.500000})});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('Edgerton_City_Hall_Video_Tour_files/Edgerton_City_Hall_Video_TourMoz.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_id11,'RangeChanged','id11')
adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');adjustLineHeightIfTooBig('id16');adjustFontSizeIfTooBig('id16');fixAllIEPNGs('Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id11()}
function onPageUnload()
{Widget.onunload();}
