// Created by iWeb 3.0.1 local-build-20100729

function createMediaStream_id4()
{return IWCreateMediaCollection("http://powentertainment.com/Gallery/Gallery_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('http://powentertainment.com/Gallery',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget18'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('http://powentertainment.com/Gallery',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(2,new IWSize(287,215),new IWSize(287,41),new IWSize(344,271),27,27,0,new IWSize(18,31)),new IWPhotoFrame([IWCreateImage('Gallery_files/Pushpin_01.jpg'),IWCreateImage('Gallery_files/Pushpin_02.jpg'),IWCreateImage('Gallery_files/Pushpin_03.jpg'),IWCreateImage('Gallery_files/Pushpin_06.jpg'),IWCreateImage('Gallery_files/Pushpin_09.jpg'),IWCreateImage('Gallery_files/Pushpin_02_1.jpg'),IWCreateImage('Gallery_files/Pushpin_03_1.jpg'),IWCreateImage('Gallery_files/Pushpin_04.jpg')],null,1,0.500000,0.000000,0.000000,0.000000,0.000000,18.000000,18.000000,18.000000,18.000000,298.000000,472.000000,298.000000,472.000000,'Gallery_files/bullet_pp_3.png',new IWPoint(0.500000,-10),new IWSize(45,65),0.100000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget18',null,'widget19',{showTitle:false,showMetric:false})});}
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();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_1:new IWShadow({blurRadius:1,offset:new IWPoint(3.5355,3.5355),color:'#2b2b2a',opacity:1.000000}),shadow_0:new IWShadow({blurRadius:1,offset:new IWPoint(3.5355,3.5355),color:'#2b2b2a',opacity:1.000000}),shadow_2:new IWShadow({blurRadius:1,offset:new IWPoint(4.2426,4.2426),color:'#2b2b2a',opacity:0.900000}),shadow_3:new IWShadow({blurRadius:1,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:0.700000})});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('Gallery_files/GalleryMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');NotificationCenter.addObserver(null,relayoutMediaGrid_id4,'RangeChanged','id4')
fixAllIEPNGs('../Media/transparent.gif');IMpreload('Gallery_files','shapeimage_3','0');IMpreload('Gallery_files','shapeimage_3','1');IMpreload('Gallery_files','shapeimage_3','2');IMpreload('Gallery_files','shapeimage_3','3');IMpreload('Gallery_files','shapeimage_3','4');IMpreload('Gallery_files','shapeimage_3','5');IMpreload('Gallery_files','shapeimage_3','6');IMpreload('Gallery_files','shapeimage_3','7');IMpreload('Gallery_files','shapeimage_3','8');IMpreload('Gallery_files','shapeimage_3','9');IMpreload('Gallery_files','shapeimage_3','10');IMpreload('Gallery_files','shapeimage_4','0');IMpreload('Gallery_files','shapeimage_5','0');IMpreload('Gallery_files','shapeimage_5','1');Widget.onload();fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}
