// Created by iWeb 2.0.4 local-build-20100809

function createMediaStream_id4()
{return IWCreatePhotocast("http://www.optphoto.com/Adam_Ramirez/Works/Pages/Locations_files/rss.xml",false,true);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('http://www.optphoto.com/Adam_Ramirez/Works/Pages',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('http://www.optphoto.com/Adam_Ramirez/Works/Pages',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(5,new IWSize(138,138),new IWSize(138,28),new IWSize(171,181),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,null,null,1.000000,null,'../../Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id4(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id4(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id4(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_2:new IWStrokeParts([{rect:new IWRect(-1,1,2,125),url:'Locations_files/stroke_16.png'},{rect:new IWRect(-1,-1,2,2),url:'Locations_files/stroke_17.png'},{rect:new IWRect(1,-1,894,2),url:'Locations_files/stroke_18.png'},{rect:new IWRect(895,-1,2,2),url:'Locations_files/stroke_19.png'},{rect:new IWRect(895,1,2,125),url:'Locations_files/stroke_20.png'},{rect:new IWRect(895,126,2,2),url:'Locations_files/stroke_21.png'},{rect:new IWRect(1,126,894,2),url:'Locations_files/stroke_22.png'},{rect:new IWRect(-1,126,2,2),url:'Locations_files/stroke_23.png'}],new IWSize(896,127)),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,1237),url:'Locations_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'Locations_files/stroke_9.png'},{rect:new IWRect(1,-1,894,2),url:'Locations_files/stroke_10.png'},{rect:new IWRect(895,-1,2,2),url:'Locations_files/stroke_11.png'},{rect:new IWRect(895,1,2,1237),url:'Locations_files/stroke_12.png'},{rect:new IWRect(895,1238,2,2),url:'Locations_files/stroke_13.png'},{rect:new IWRect(1,1238,894,2),url:'Locations_files/stroke_14.png'},{rect:new IWRect(-1,1238,2,2),url:'Locations_files/stroke_15.png'}],new IWSize(896,1239)),stroke_4:new IWStrokeParts([{rect:new IWRect(-1,1,2,40),url:'Locations_files/stroke_32.png'},{rect:new IWRect(-1,-1,2,2),url:'Locations_files/stroke_33.png'},{rect:new IWRect(1,-1,894,2),url:'Locations_files/stroke_34.png'},{rect:new IWRect(895,-1,2,2),url:'Locations_files/stroke_35.png'},{rect:new IWRect(895,1,2,40),url:'Locations_files/stroke_36.png'},{rect:new IWRect(895,41,2,2),url:'Locations_files/stroke_37.png'},{rect:new IWRect(1,41,894,2),url:'Locations_files/stroke_38.png'},{rect:new IWRect(-1,41,2,2),url:'Locations_files/stroke_39.png'}],new IWSize(896,42)),shadow_0:new IWShadow({blurRadius:20,offset:new IWPoint(-0.0000,0.0000),color:'#000000',opacity:0.750000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,99),url:'Locations_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Locations_files/stroke_1.png'},{rect:new IWRect(1,-1,894,2),url:'Locations_files/stroke_2.png'},{rect:new IWRect(895,-1,2,2),url:'Locations_files/stroke_3.png'},{rect:new IWRect(895,1,2,99),url:'Locations_files/stroke_4.png'},{rect:new IWRect(895,100,2,2),url:'Locations_files/stroke_5.png'},{rect:new IWRect(1,100,894,2),url:'Locations_files/stroke_6.png'},{rect:new IWRect(-1,100,2,2),url:'Locations_files/stroke_7.png'}],new IWSize(896,101)),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(-0.0000,0.0000),color:'#000000',opacity:0.750000}),stroke_3:new IWStrokeParts([{rect:new IWRect(-1,1,2,26),url:'Locations_files/stroke_24.png'},{rect:new IWRect(-1,-1,2,2),url:'Locations_files/stroke_25.png'},{rect:new IWRect(1,-1,894,2),url:'Locations_files/stroke_26.png'},{rect:new IWRect(895,-1,2,2),url:'Locations_files/stroke_27.png'},{rect:new IWRect(895,1,2,26),url:'Locations_files/stroke_28.png'},{rect:new IWRect(895,27,2,3),url:'Locations_files/stroke_29.png'},{rect:new IWRect(1,27,894,3),url:'Locations_files/stroke_30.png'},{rect:new IWRect(-1,27,2,3),url:'Locations_files/stroke_31.png'}],new IWSize(896,28))});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('Locations_files/LocationsMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');NotificationCenter.addObserver(null,relayoutMediaGrid_id4,'RangeChanged','id4')
adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');detectBrowser();adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');fixupIECSS3Opacity('id2');Widget.onload();fixAllIEPNGs('../../Media/transparent.gif');applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}
