// Created by iWeb 3.0.4 local-build-20120101

function createMediaStream_id2()
{return IWCreatePhotocast("http://www.s-linecargo.com/s-linecargo/Photos_files/rss.xml",true);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://www.s-linecargo.com/s-linecargo',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://www.s-linecargo.com/s-linecargo',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(3,new IWSize(136,136),new IWSize(136,30),new IWSize(163,181),27,27,0,new IWSize(0,0)),new IWEmptyStroke(),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_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id2(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_2:new IWPhotoFrame([IWCreateImage('Photos_files/Pushpin_01_1.jpg'),IWCreateImage('Photos_files/Pushpin_02_2.jpg'),IWCreateImage('Photos_files/Pushpin_03_2.jpg'),IWCreateImage('Photos_files/Pushpin_06_1.jpg'),IWCreateImage('Photos_files/Pushpin_09_1.jpg'),IWCreateImage('Photos_files/Pushpin_02_3.jpg'),IWCreateImage('Photos_files/Pushpin_03_3.jpg'),IWCreateImage('Photos_files/Pushpin_04_1.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,'Photos_files/bullet_pp_3.png',new IWPoint(0.500000,-10),new IWSize(45,65),0.100000),stroke_3:new IWPhotoFrame([IWCreateImage('Photos_files/Pushpin_01_2.jpg'),IWCreateImage('Photos_files/Pushpin_02_4.jpg'),IWCreateImage('Photos_files/Pushpin_03_4.jpg'),IWCreateImage('Photos_files/Pushpin_06_2.jpg'),IWCreateImage('Photos_files/Pushpin_09_2.jpg'),IWCreateImage('Photos_files/Pushpin_02_5.jpg'),IWCreateImage('Photos_files/Pushpin_03_5.jpg'),IWCreateImage('Photos_files/Pushpin_04_2.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,'Photos_files/bullet_pp_3.png',new IWPoint(0.500000,-10),new IWSize(45,65),0.100000),stroke_4:new IWPhotoFrame([IWCreateImage('Photos_files/Modern_C_TL.png'),IWCreateImage('Photos_files/Modern_S_T.png'),IWCreateImage('Photos_files/Modern_C_TR.png'),IWCreateImage('Photos_files/Modern_S_R.png'),IWCreateImage('Photos_files/Modern_C_BR.png'),IWCreateImage('Photos_files/Modern_S_B.png'),IWCreateImage('Photos_files/Modern_C_BL.png'),IWCreateImage('Photos_files/Modern_S_L.png')],null,2,0.502632,0.000000,0.000000,0.000000,0.000000,17.000000,17.000000,17.000000,20.000000,40.000000,40.000000,40.000000,240.000000,null,null,null,0.100000),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(0.3140,5.9918),color:'#000000',opacity:0.750000}),shadow_3:new IWShadow({blurRadius:10,offset:new IWPoint(0.3140,5.9918),color:'#000000',opacity:0.750000}),shadow_2:new IWShadow({blurRadius:10,offset:new IWPoint(0.3140,5.9918),color:'#000000',opacity:0.750000}),stroke_1:new IWPhotoFrame([IWCreateImage('Photos_files/Pushpin_01.jpg'),IWCreateImage('Photos_files/Pushpin_02.jpg'),IWCreateImage('Photos_files/Pushpin_03.jpg'),IWCreateImage('Photos_files/Pushpin_06.jpg'),IWCreateImage('Photos_files/Pushpin_09.jpg'),IWCreateImage('Photos_files/Pushpin_02_1.jpg'),IWCreateImage('Photos_files/Pushpin_03_1.jpg'),IWCreateImage('Photos_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,'Photos_files/bullet_pp_3.png',new IWPoint(0.500000,-10),new IWSize(45,65),0.100000),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(0.3140,5.9918),color:'#000000',opacity:0.750000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-2,2,4,67),url:'Photos_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'Photos_files/stroke_1.png'},{rect:new IWRect(2,-2,672,4),url:'Photos_files/stroke_2.png'},{rect:new IWRect(674,-2,4,4),url:'Photos_files/stroke_3.png'},{rect:new IWRect(674,2,4,67),url:'Photos_files/stroke_4.png'},{rect:new IWRect(674,69,4,4),url:'Photos_files/stroke_5.png'},{rect:new IWRect(2,69,672,4),url:'Photos_files/stroke_6.png'},{rect:new IWRect(-2,69,4,4),url:'Photos_files/stroke_7.png'}],new IWSize(676,71))});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('Photos_files/PhotosMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');Widget.onload();fixAllIEPNGs('Media/transparent.gif');IMpreload('Photos_files','shapeimage_2','0');IMpreload('Photos_files','shapeimage_3','0');IMpreload('Photos_files','shapeimage_4','0');IMpreload('Photos_files','shapeimage_5','0');IMpreload('Photos_files','shapeimage_6','0');IMpreload('Photos_files','shapeimage_7','0');IMpreload('Photos_files','shapeimage_8','0');IMpreload('Photos_files','shapeimage_9','0');IMpreload('Photos_files','shapeimage_10','0');IMpreload('Photos_files','shapeimage_11','0');IMpreload('Photos_files','shapeimage_12','0');IMpreload('Photos_files','shapeimage_13','0');IMpreload('Photos_files','shapeimage_14','0');IMpreload('Photos_files','shapeimage_15','0');IMpreload('Photos_files','shapeimage_16','0');IMpreload('Photos_files','shapeimage_17','0');IMpreload('Photos_files','shapeimage_18','0');IMpreload('Photos_files','shapeimage_19','0');IMpreload('Photos_files','shapeimage_20','0');IMpreload('Photos_files','shapeimage_21','0');applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}

