// Created by iWeb 2.0.4 local-build-20100908

function createMediaStream_id23()
{return IWCreatePhotocast("http://web.me.com/bronxnews/http%3A__www.bxnews.net/Bronx_News_files/rss.xml",true,true);}
function initializeMediaStream_id23()
{createMediaStream_id23().load('http://web.me.com/bronxnews/http%3A__www.bxnews.net',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget8'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id23',{pageIndex:0}));});}
function layoutMediaGrid_id23(range)
{createMediaStream_id23().load('http://web.me.com/bronxnews/http%3A__www.bxnews.net',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id23',new IWPhotoGridLayout(3,new IWSize(247,247),new IWSize(247,102),new IWSize(247,364),27,27,0,new IWSize(6,6)),new IWPhotoFrame([IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Comic_shadow/comic-1_01.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Comic_shadow/comic-1_02.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Comic_shadow/comic-1_03.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Comic_shadow/comic-1_06.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Comic_shadow/comic-1_09.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Comic_shadow/comic-1_08.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Comic_shadow/comic-1_07.png'),IWCreateImage('http://www.me.com/st/1/sharedassets/2.0.4/Common/Frames/Comic_shadow/comic-1_04.png')],null,0,1.000000,4.000000,4.000000,1.000000,1.000000,5.000000,5.000000,6.000000,6.000000,71.000000,115.000000,71.000000,115.000000,null,null,null,0.500000),imageStream,range,new IWShadow({blurRadius:2,offset:new IWPoint(0.9135,0.4067),color:'#000000',opacity:1.000000}),null,1.000000,{backgroundColor:'#000000',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget8','widget9','widget10')});}
function relayoutMediaGrid_id23(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id23(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_1:new IWStrokeParts([{rect:new IWRect(-2,0,4,127),url:'Bronx_News_files/stroke_8.png'},{rect:new IWRect(-2,-2,4,2),url:'Bronx_News_files/stroke_9.png'},{rect:new IWRect(2,-2,95,2),url:'Bronx_News_files/stroke_10.png'},{rect:new IWRect(97,-2,5,2),url:'Bronx_News_files/stroke_11.png'},{rect:new IWRect(97,0,5,127),url:'Bronx_News_files/stroke_12.png'},{rect:new IWRect(97,127,5,3),url:'Bronx_News_files/stroke_13.png'},{rect:new IWRect(2,127,95,3),url:'Bronx_News_files/stroke_14.png'},{rect:new IWRect(-2,127,4,3),url:'Bronx_News_files/stroke_15.png'}],new IWSize(100,128)),stroke_0:new IWStrokeParts([{rect:new IWRect(-5,-1,4,209),url:'Bronx_News_files/stroke.png'},{rect:new IWRect(-5,-5,4,4),url:'Bronx_News_files/stroke_1.png'},{rect:new IWRect(-1,-5,246,4),url:'Bronx_News_files/stroke_2.png'},{rect:new IWRect(245,-5,4,4),url:'Bronx_News_files/stroke_3.png'},{rect:new IWRect(245,-1,4,209),url:'Bronx_News_files/stroke_4.png'},{rect:new IWRect(245,208,4,4),url:'Bronx_News_files/stroke_5.png'},{rect:new IWRect(-1,208,246,4),url:'Bronx_News_files/stroke_6.png'},{rect:new IWRect(-5,208,4,4),url:'Bronx_News_files/stroke_7.png'}],new IWSize(244,206)),shadow_0:new IWShadow({blurRadius:2,offset:new IWPoint(1.0000,0.0000),color:'#3a060f',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')
IWRegisterNamedImage('contribution overlay','Media/Photo-Overlay-Contribution.png')
loadMozillaCSS('Bronx_News_files/Bronx_NewsMoz.css')
detectBrowser();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');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');adjustLineHeightIfTooBig('id16');adjustFontSizeIfTooBig('id16');adjustLineHeightIfTooBig('id17');adjustFontSizeIfTooBig('id17');adjustLineHeightIfTooBig('id18');adjustFontSizeIfTooBig('id18');adjustLineHeightIfTooBig('id19');adjustFontSizeIfTooBig('id19');adjustLineHeightIfTooBig('id20');adjustFontSizeIfTooBig('id20');adjustLineHeightIfTooBig('id21');adjustFontSizeIfTooBig('id21');adjustLineHeightIfTooBig('id22');adjustFontSizeIfTooBig('id22');NotificationCenter.addObserver(null,relayoutMediaGrid_id23,'RangeChanged','id23')
adjustLineHeightIfTooBig('id24');adjustFontSizeIfTooBig('id24');adjustLineHeightIfTooBig('id25');adjustFontSizeIfTooBig('id25');adjustLineHeightIfTooBig('id26');adjustFontSizeIfTooBig('id26');adjustLineHeightIfTooBig('id27');adjustFontSizeIfTooBig('id27');adjustLineHeightIfTooBig('id28');adjustFontSizeIfTooBig('id28');adjustLineHeightIfTooBig('id29');adjustFontSizeIfTooBig('id29');adjustLineHeightIfTooBig('id30');adjustFontSizeIfTooBig('id30');adjustLineHeightIfTooBig('id31');adjustFontSizeIfTooBig('id31');adjustLineHeightIfTooBig('id32');adjustFontSizeIfTooBig('id32');adjustLineHeightIfTooBig('id33');adjustFontSizeIfTooBig('id33');adjustLineHeightIfTooBig('id34');adjustFontSizeIfTooBig('id34');adjustLineHeightIfTooBig('id35');adjustFontSizeIfTooBig('id35');adjustLineHeightIfTooBig('id36');adjustFontSizeIfTooBig('id36');adjustLineHeightIfTooBig('id37');adjustFontSizeIfTooBig('id37');adjustLineHeightIfTooBig('id38');adjustFontSizeIfTooBig('id38');adjustLineHeightIfTooBig('id39');adjustFontSizeIfTooBig('id39');adjustLineHeightIfTooBig('id40');adjustFontSizeIfTooBig('id40');adjustLineHeightIfTooBig('id41');adjustFontSizeIfTooBig('id41');adjustLineHeightIfTooBig('id42');adjustFontSizeIfTooBig('id42');adjustLineHeightIfTooBig('id43');adjustFontSizeIfTooBig('id43');adjustLineHeightIfTooBig('id44');adjustFontSizeIfTooBig('id44');adjustLineHeightIfTooBig('id45');adjustFontSizeIfTooBig('id45');adjustLineHeightIfTooBig('id46');adjustFontSizeIfTooBig('id46');adjustLineHeightIfTooBig('id47');adjustFontSizeIfTooBig('id47');adjustLineHeightIfTooBig('id48');adjustFontSizeIfTooBig('id48');adjustLineHeightIfTooBig('id49');adjustFontSizeIfTooBig('id49');adjustLineHeightIfTooBig('id50');adjustFontSizeIfTooBig('id50');fixAllIEPNGs('Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id23()}
function onPageUnload()
{Widget.onunload();}
