// Created by iWeb 2.0.4 local-build-20090429

function createMediaStream_id1()
{return IWCreatePhotocast("file://localhost/Users/Gaviot/Desktop/web%20surf/surfer_television/Your_Photo_Foto_files/rss.xml",true,true);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('file://localhost/Users/Gaviot/Desktop/web%20surf/surfer_television',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('file://localhost/Users/Gaviot/Desktop/web%20surf/surfer_television',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(6,new IWSize(86,86),new IWSize(86,32),new IWSize(103,133),27,27,0,new IWSize(0,0)),new IWStrokeParts([{rect:new IWRect(-2,-1,1,87),url:'Your_Photo_Foto_files/stroke.png'},{rect:new IWRect(-2,-2,1,1),url:'Your_Photo_Foto_files/stroke_1.png'},{rect:new IWRect(-1,-2,87,1),url:'Your_Photo_Foto_files/stroke_2.png'},{rect:new IWRect(86,-2,1,1),url:'Your_Photo_Foto_files/stroke_3.png'},{rect:new IWRect(86,-1,1,87),url:'Your_Photo_Foto_files/stroke_4.png'},{rect:new IWRect(86,86,1,1),url:'Your_Photo_Foto_files/stroke_5.png'},{rect:new IWRect(-1,86,87,1),url:'Your_Photo_Foto_files/stroke_6.png'},{rect:new IWRect(-2,86,1,1),url:'Your_Photo_Foto_files/stroke_7.png'}],new IWSize(85,85)),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_id1(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id1(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-11,9,15,124),url:'Your_Photo_Foto_files/stroke_8.png'},{rect:new IWRect(-10,-13,14,22),url:'Your_Photo_Foto_files/stroke_9.png'},{rect:new IWRect(4,-12,175,21),url:'Your_Photo_Foto_files/stroke_10.png'},{rect:new IWRect(179,-4,20,13),url:'Your_Photo_Foto_files/stroke_11.png'},{rect:new IWRect(179,9,20,124),url:'Your_Photo_Foto_files/stroke_12.png'},{rect:new IWRect(179,133,16,18),url:'Your_Photo_Foto_files/stroke_13.png'},{rect:new IWRect(4,133,175,19),url:'Your_Photo_Foto_files/stroke_14.png'},{rect:new IWRect(-9,133,13,18),url:'Your_Photo_Foto_files/stroke_15.png'}],new IWSize(191,143)),shadow_3:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_2:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),stroke_5:new IWPhotoFrame([IWCreateImage('Your_Photo_Foto_files/green_linen_ul.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_top.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_ur.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_right.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_lr.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_bottom.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_ll.png'),IWCreateImage('Your_Photo_Foto_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),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),stroke_4:new IWPhotoFrame([IWCreateImage('Your_Photo_Foto_files/green_linen_ul.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_top.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_ur.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_right.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_lr.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_bottom.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_ll.png'),IWCreateImage('Your_Photo_Foto_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),reflection_0:new IWReflection({opacity:0.50,offset:9.71}),stroke_2:new IWStrokeParts([{rect:new IWRect(-8,9,16,28),url:'Your_Photo_Foto_files/stroke_16.png'},{rect:new IWRect(-8,-8,16,17),url:'Your_Photo_Foto_files/stroke_17.png'},{rect:new IWRect(8,-8,355,17),url:'Your_Photo_Foto_files/stroke_18.png'},{rect:new IWRect(363,-8,23,17),url:'Your_Photo_Foto_files/stroke_19.png'},{rect:new IWRect(363,9,14,28),url:'Your_Photo_Foto_files/stroke_20.png'},{rect:new IWRect(363,37,17,19),url:'Your_Photo_Foto_files/stroke_21.png'},{rect:new IWRect(8,37,355,14),url:'Your_Photo_Foto_files/stroke_22.png'},{rect:new IWRect(-13,37,21,17),url:'Your_Photo_Foto_files/stroke_23.png'}],new IWSize(374,45)),shadow_4:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),stroke_3:new IWPhotoFrame([IWCreateImage('Your_Photo_Foto_files/green_linen_ul.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_top.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_ur.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_right.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_lr.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_bottom.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_ll.png'),IWCreateImage('Your_Photo_Foto_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),stroke_7:new IWPhotoFrame([IWCreateImage('Your_Photo_Foto_files/green_linen_ul.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_top.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_ur.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_right.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_lr.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_bottom.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_ll.png'),IWCreateImage('Your_Photo_Foto_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),stroke_6:new IWPhotoFrame([IWCreateImage('Your_Photo_Foto_files/green_linen_ul.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_top.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_ur.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_right.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_lr.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_bottom.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_ll.png'),IWCreateImage('Your_Photo_Foto_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),reflection_1:new IWReflection({opacity:0.50,offset:3.00}),stroke_1:new IWPhotoFrame([IWCreateImage('Your_Photo_Foto_files/green_linen_ul.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_top.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_ur.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_right.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_lr.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_bottom.png'),IWCreateImage('Your_Photo_Foto_files/green_linen_ll.png'),IWCreateImage('Your_Photo_Foto_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)});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('Your_Photo_Foto_files/Your_Photo_FotoMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');fixAllIEPNGs('Media/transparent.gif');Widget.onload();IMpreload('Your_Photo_Foto_files','shapeimage_2','0');IMpreload('Your_Photo_Foto_files','shapeimage_26','0');applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}
