// Created by iWeb 3.0.1 local-build-20100308

function createMediaStream_id4()
{return IWCreatePhotocast("http://www.chiodokennels.com/chiodo_kennels/chiodokennelsweb_files/rss.xml",true);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('http://www.chiodokennels.com/chiodo_kennels',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('http://www.chiodokennels.com/chiodo_kennels',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(6,new IWSize(89,89),new IWSize(89,15),new IWSize(115,119),27,27,0,new IWSize(10,10)),new IWPhotoFrame([IWCreateImage('chiodokennelsweb_files/Hardcover_bevel_01.png'),IWCreateImage('chiodokennelsweb_files/Hardcover_bevel_02.png'),IWCreateImage('chiodokennelsweb_files/Hardcover_bevel_03.png'),IWCreateImage('chiodokennelsweb_files/Hardcover_bevel_06.png'),IWCreateImage('chiodokennelsweb_files/Hardcover_bevel_09.png'),IWCreateImage('chiodokennelsweb_files/Hardcover_bevel_08.png'),IWCreateImage('chiodokennelsweb_files/Hardcover_bevel_07.png'),IWCreateImage('chiodokennelsweb_files/Hardcover_bevel_04.png')],null,0,0.250000,0.000000,0.000000,0.000000,0.000000,17.000000,17.000000,17.000000,17.000000,403.000000,295.000000,403.000000,295.000000,null,null,null,0.100000),imageStream,range,null,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_id4(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id4(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id4(),args.id);}
if(window.stubPage)
{onStubPage();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id6" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="82" height="16"><param name="src" value="Media/15%20The%20Hornburg.m4a" /><param name="controller" value="false" /><param name="autoplay" value="true" /><param name="scale" value="tofit" /><param name="volume" value="24" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id6" type="video/quicktime" width="82" height="16"><param name="src" value="Media/15%20The%20Hornburg.m4a"/><param name="controller" value="false"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id6" type="video/quicktime" width="82" height="16" data="Media/15%20The%20Hornburg.m4a"><param name="src" value="Media/15%20The%20Hornburg.m4a"/><param name="controller" value="false"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="24"/><param name="loop" value="false"/></object>');}}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,39),url:'chiodokennelsweb_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'chiodokennelsweb_files/stroke_1.png'},{rect:new IWRect(1,-1,638,2),url:'chiodokennelsweb_files/stroke_2.png'},{rect:new IWRect(639,-1,2,2),url:'chiodokennelsweb_files/stroke_3.png'},{rect:new IWRect(639,1,2,39),url:'chiodokennelsweb_files/stroke_4.png'},{rect:new IWRect(639,40,2,2),url:'chiodokennelsweb_files/stroke_5.png'},{rect:new IWRect(1,40,638,2),url:'chiodokennelsweb_files/stroke_6.png'},{rect:new IWRect(-1,40,2,2),url:'chiodokennelsweb_files/stroke_7.png'}],new IWSize(640,41)),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,73),url:'chiodokennelsweb_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'chiodokennelsweb_files/stroke_9.png'},{rect:new IWRect(1,-1,638,2),url:'chiodokennelsweb_files/stroke_10.png'},{rect:new IWRect(639,-1,2,2),url:'chiodokennelsweb_files/stroke_11.png'},{rect:new IWRect(639,1,2,73),url:'chiodokennelsweb_files/stroke_12.png'},{rect:new IWRect(639,74,2,2),url:'chiodokennelsweb_files/stroke_13.png'},{rect:new IWRect(1,74,638,2),url:'chiodokennelsweb_files/stroke_14.png'},{rect:new IWRect(-1,74,2,2),url:'chiodokennelsweb_files/stroke_15.png'}],new IWSize(640,75)),stroke_3:new IWStrokeParts([{rect:new IWRect(-1,1,2,21),url:'chiodokennelsweb_files/stroke_24.png'},{rect:new IWRect(-1,-1,2,2),url:'chiodokennelsweb_files/stroke_25.png'},{rect:new IWRect(1,-1,638,2),url:'chiodokennelsweb_files/stroke_26.png'},{rect:new IWRect(639,-1,2,2),url:'chiodokennelsweb_files/stroke_27.png'},{rect:new IWRect(639,1,2,21),url:'chiodokennelsweb_files/stroke_28.png'},{rect:new IWRect(639,22,2,2),url:'chiodokennelsweb_files/stroke_29.png'},{rect:new IWRect(1,22,638,2),url:'chiodokennelsweb_files/stroke_30.png'},{rect:new IWRect(-1,22,2,2),url:'chiodokennelsweb_files/stroke_31.png'}],new IWSize(640,23)),stroke_2:new IWStrokeParts([{rect:new IWRect(-1,1,2,29),url:'chiodokennelsweb_files/stroke_16.png'},{rect:new IWRect(-1,-1,2,2),url:'chiodokennelsweb_files/stroke_17.png'},{rect:new IWRect(1,-1,638,2),url:'chiodokennelsweb_files/stroke_18.png'},{rect:new IWRect(639,-1,2,2),url:'chiodokennelsweb_files/stroke_19.png'},{rect:new IWRect(639,1,2,29),url:'chiodokennelsweb_files/stroke_20.png'},{rect:new IWRect(639,30,2,2),url:'chiodokennelsweb_files/stroke_21.png'},{rect:new IWRect(1,30,638,2),url:'chiodokennelsweb_files/stroke_22.png'},{rect:new IWRect(-1,30,2,2),url:'chiodokennelsweb_files/stroke_23.png'}],new IWSize(640,31))});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('chiodokennelsweb_files/chiodokennelswebMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');NotificationCenter.addObserver(null,relayoutMediaGrid_id4,'RangeChanged','id4')
adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}
