// Created by iWeb 3.0.1 local-build-20100317

function createMediaStream_id1()
{return IWCreateMediaCollection("http://www.aeballoonflights.com/AEBalloonFlights/Tethers/Tethers_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.aeballoonflights.com/AEBalloonFlights/Tethers',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget8'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://www.aeballoonflights.com/AEBalloonFlights/Tethers',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(3,new IWSize(189,141),new IWSize(189,26),new IWSize(199,182),27,27,0,new IWSize(18,19)),new IWPhotoFrame([IWCreateImage('Tethers_files/ul.png'),IWCreateImage('Tethers_files/top.png'),IWCreateImage('Tethers_files/ur.png'),IWCreateImage('Tethers_files/right.png'),IWCreateImage('Tethers_files/lr.png'),IWCreateImage('Tethers_files/bottom.png'),IWCreateImage('Tethers_files/ll.png'),IWCreateImage('Tethers_files/left.png')],null,0,0.333333,130.000000,10.000000,118.000000,45.000000,147.000000,30.000000,157.000000,83.000000,251.000000,120.000000,260.000000,120.000000,null,null,null,0.300000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget8',null,'widget9',{showTitle:true,showMetric:true})});}
function relayoutMediaGrid_id1(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id1(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id1(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_36:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_41:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_1:new IWShadow({blurRadius:4,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.500000}),shadow_32:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_39:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_6:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_0:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_9:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_31:new IWShadow({blurRadius:4,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.500000}),shadow_35:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_30:new IWShadow({blurRadius:4,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.500000}),shadow_29:new IWShadow({blurRadius:4,offset:new IWPoint(-3.9364,4.5283),color:'#000000',opacity:0.500000}),shadow_16:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_34:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_2:new IWShadow({blurRadius:4,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.500000}),shadow_26:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_38:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_24:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_42:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,23),url:'Tethers_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Tethers_files/stroke_1.png'},{rect:new IWRect(1,-1,138,2),url:'Tethers_files/stroke_2.png'},{rect:new IWRect(139,-1,2,2),url:'Tethers_files/stroke_3.png'},{rect:new IWRect(139,1,2,23),url:'Tethers_files/stroke_4.png'},{rect:new IWRect(139,24,2,2),url:'Tethers_files/stroke_5.png'},{rect:new IWRect(1,24,138,2),url:'Tethers_files/stroke_6.png'},{rect:new IWRect(-1,24,2,2),url:'Tethers_files/stroke_7.png'}],new IWSize(140,25)),shadow_28:new IWShadow({blurRadius:4,offset:new IWPoint(-2.1631,6.6574),color:'#000000',opacity:0.500000}),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,1998),url:'Tethers_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'Tethers_files/stroke_9.png'},{rect:new IWRect(1,-1,43,2),url:'Tethers_files/stroke_10.png'},{rect:new IWRect(44,-1,2,2),url:'Tethers_files/stroke_11.png'},{rect:new IWRect(44,1,2,1998),url:'Tethers_files/stroke_12.png'},{rect:new IWRect(44,1999,2,2),url:'Tethers_files/stroke_13.png'},{rect:new IWRect(1,1999,43,2),url:'Tethers_files/stroke_14.png'},{rect:new IWRect(-1,1999,2,2),url:'Tethers_files/stroke_15.png'}],new IWSize(45,2000)),shadow_3:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),stroke_2:new IWStrokeParts([{rect:new IWRect(-1,1,2,207),url:'Tethers_files/stroke_16.png'},{rect:new IWRect(-1,-1,2,2),url:'Tethers_files/stroke_17.png'},{rect:new IWRect(1,-1,248,2),url:'Tethers_files/stroke_18.png'},{rect:new IWRect(249,-1,3,2),url:'Tethers_files/stroke_19.png'},{rect:new IWRect(249,1,3,207),url:'Tethers_files/stroke_20.png'},{rect:new IWRect(249,208,3,2),url:'Tethers_files/stroke_21.png'},{rect:new IWRect(1,208,248,2),url:'Tethers_files/stroke_22.png'},{rect:new IWRect(-1,208,2,2),url:'Tethers_files/stroke_23.png'}],new IWSize(250,209)),shadow_37:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_7:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_21:new IWShadow({blurRadius:4,offset:new IWPoint(-2.1631,6.6574),color:'#000000',opacity:0.500000}),shadow_14:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_11:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_5:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_20:new IWShadow({blurRadius:4,offset:new IWPoint(-2.1631,6.6574),color:'#000000',opacity:0.500000}),shadow_19:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_33:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_40:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.500000}),shadow_18:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_8:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_22:new IWShadow({blurRadius:4,offset:new IWPoint(-2.1631,6.6574),color:'#000000',opacity:0.500000}),shadow_17:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_23:new IWShadow({blurRadius:4,offset:new IWPoint(-2.1631,6.6574),color:'#000000',opacity:0.500000}),shadow_27:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_4:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_13:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_15:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),shadow_25:new IWShadow({blurRadius:4,offset:new IWPoint(-2.1631,6.6574),color:'#000000',opacity:0.500000}),shadow_10:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),reflection_0:new IWReflection({opacity:0.50,offset:1.00}),stroke_3:new IWStrokeParts([{rect:new IWRect(-1,1,2,1998),url:'Tethers_files/stroke_24.png'},{rect:new IWRect(-1,-1,2,2),url:'Tethers_files/stroke_25.png'},{rect:new IWRect(1,-1,43,2),url:'Tethers_files/stroke_26.png'},{rect:new IWRect(44,-1,2,2),url:'Tethers_files/stroke_27.png'},{rect:new IWRect(44,1,2,1998),url:'Tethers_files/stroke_28.png'},{rect:new IWRect(44,1999,2,2),url:'Tethers_files/stroke_29.png'},{rect:new IWRect(1,1999,43,2),url:'Tethers_files/stroke_30.png'},{rect:new IWRect(-1,1999,2,2),url:'Tethers_files/stroke_31.png'}],new IWSize(45,2000)),shadow_12:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000})});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','../Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','../Media/Photo-Overlay-Movie.png')
loadMozillaCSS('Tethers_files/TethersMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','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');detectBrowser();adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');IMpreload('Tethers_files','shapeimage_32','0');IMpreload('Tethers_files','shapeimage_32','1');applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}
