// Created by iWeb 2.0.4 local-build-20081120

function createMediaStream_id9()
{return IWCreatePhotocast("http://www.mil.ru/SOVET/News_130307_files/rss.xml",true,true);}
function initializeMediaStream_id9()
{createMediaStream_id9().load('http://www.mil.ru/SOVET',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id9',{pageIndex:0}));});}
function layoutMediaGrid_id9(range)
{createMediaStream_id9().load('http://www.mil.ru/SOVET',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id9',new IWPhotoGridLayout(3,new IWSize(148,148),new IWSize(148,0),new IWSize(177,162),27,27,0,new IWSize(4,5)),new IWPhotoFrame([IWCreateImage('News_130307_files/green_linen_ul.png'),IWCreateImage('News_130307_files/green_linen_top.png'),IWCreateImage('News_130307_files/green_linen_ur.png'),IWCreateImage('News_130307_files/green_linen_right.png'),IWCreateImage('News_130307_files/green_linen_lr.png'),IWCreateImage('News_130307_files/green_linen_bottom.png'),IWCreateImage('News_130307_files/green_linen_ll.png'),IWCreateImage('News_130307_files/green_linen_left.png')],null,0,1.000000,13.000000,12.000000,13.000000,13.000000,15.000000,15.000000,15.000000,15.000000,15.000000,15.000000,15.000000,15.000000,null,null,null,0.400000),imageStream,range,null,null,1.000000,{backgroundColor:'#000000',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id9(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id9(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_4:new IWShadow({blurRadius:6,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.750000}),shadow_1:new IWShadow({blurRadius:6,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.750000}),shadow_2:new IWShadow({blurRadius:6,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.750000}),shadow_6:new IWShadow({blurRadius:6,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.750000}),shadow_5:new IWShadow({blurRadius:7,offset:new IWPoint(0.7071,0.7071),color:'#000000',opacity:0.510000}),shadow_3:new IWShadow({blurRadius:6,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.750000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,25),url:'News_130307_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'News_130307_files/stroke_1.png'},{rect:new IWRect(1,-1,107,2),url:'News_130307_files/stroke_2.png'},{rect:new IWRect(108,-1,2,2),url:'News_130307_files/stroke_3.png'},{rect:new IWRect(108,1,2,25),url:'News_130307_files/stroke_4.png'},{rect:new IWRect(108,26,2,2),url:'News_130307_files/stroke_5.png'},{rect:new IWRect(1,26,107,2),url:'News_130307_files/stroke_6.png'},{rect:new IWRect(-1,26,2,2),url:'News_130307_files/stroke_7.png'}],new IWSize(109,27)),shadow_7:new IWShadow({blurRadius:6,offset:new IWPoint(2.8284,2.8284),color:'#000000',opacity:0.540000}),shadow_0:new IWShadow({blurRadius:6,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.750000}),shadow_8:new IWShadow({blurRadius:6,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.750000})});registry.applyEffects();}
function hostedOnDM()
{return false;}
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('News_130307_files/News_130307Moz.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');NotificationCenter.addObserver(null,relayoutMediaGrid_id9,'RangeChanged','id9')
fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id9()}
function onPageUnload()
{Widget.onunload();}
