// Created by iWeb 3.0.4 local-build-20120201

function createMediaStream_id3()
{return IWCreateMediaCollection("http://www.dachshundhall.com/dh/Puppies/Puppies_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.dachshundhall.com/dh/Puppies',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget8'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.dachshundhall.com/dh/Puppies',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(2,new IWSize(298,223),new IWSize(298,47),new IWSize(309,285),27,27,0,new IWSize(87,72)),new IWPhotoFrame([IWCreateImage('Puppies_files/ul.png'),IWCreateImage('Puppies_files/top.png'),IWCreateImage('Puppies_files/ur.png'),IWCreateImage('Puppies_files/right.png'),IWCreateImage('Puppies_files/lr.png'),IWCreateImage('Puppies_files/bottom.png'),IWCreateImage('Puppies_files/ll.png'),IWCreateImage('Puppies_files/left.png')],null,1,0.697368,0.000000,0.000000,0.000000,0.000000,78.000000,46.000000,45.000000,55.000000,300.000000,313.000000,300.000000,313.000000,null,null,null,0.500000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget8',null,'widget9',{showTitle:true,showMetric:true})});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_2:new IWShadow({blurRadius:6,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.600000}),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,60),url:'Puppies_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'Puppies_files/stroke_9.png'},{rect:new IWRect(1,-1,256,2),url:'Puppies_files/stroke_10.png'},{rect:new IWRect(257,-1,2,2),url:'Puppies_files/stroke_11.png'},{rect:new IWRect(257,1,2,60),url:'Puppies_files/stroke_12.png'},{rect:new IWRect(257,61,2,2),url:'Puppies_files/stroke_13.png'},{rect:new IWRect(1,61,256,2),url:'Puppies_files/stroke_14.png'},{rect:new IWRect(-1,61,2,2),url:'Puppies_files/stroke_15.png'}],new IWSize(258,62)),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,45),url:'Puppies_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Puppies_files/stroke_1.png'},{rect:new IWRect(1,-1,266,2),url:'Puppies_files/stroke_2.png'},{rect:new IWRect(267,-1,3,2),url:'Puppies_files/stroke_3.png'},{rect:new IWRect(267,1,3,45),url:'Puppies_files/stroke_4.png'},{rect:new IWRect(267,46,3,2),url:'Puppies_files/stroke_5.png'},{rect:new IWRect(1,46,266,2),url:'Puppies_files/stroke_6.png'},{rect:new IWRect(-1,46,2,2),url:'Puppies_files/stroke_7.png'}],new IWSize(268,47)),shadow_1:new IWShadow({blurRadius:4,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:0.600000}),shadow_3:new IWShadow({blurRadius:6,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.700000}),shadow_0:new IWShadow({blurRadius:4,offset:new IWPoint(0.0000,-0.0000),color:'#ffffcc',opacity:1.000000})});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','../Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','../Media/Photo-Overlay-Movie.png')
loadMozillaCSS('Puppies_files/PuppiesMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
detectBrowser();adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');fixAllIEPNGs('../Media/transparent.gif');fixupIECSS3Opacity('id1');Widget.onload();fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}

