// Created by iWeb 2.0.4 local-build-20080916

function createMediaStream_id7()
{return IWCreatePhotocast("file://localhost/Users/bmkcreative/Desktop/BMK%20web%20test/BMK-GUSA/BMK-California_files/rss.xml",false,true);}
function initializeMediaStream_id7()
{createMediaStream_id7().load('file://localhost/Users/bmkcreative/Desktop/BMK%20web%20test/BMK-GUSA',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget2'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id7',{pageIndex:0}));});}
function layoutMediaGrid_id7(range)
{createMediaStream_id7().load('file://localhost/Users/bmkcreative/Desktop/BMK%20web%20test/BMK-GUSA',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id7',new IWPhotoGridLayout(3,new IWSize(247,247),new IWSize(247,16),new IWSize(263,278),27,27,0,new IWSize(10,10)),new IWPhotoFrame([IWCreateImage('BMK-California_files/Hardcover_bevel_01.png'),IWCreateImage('BMK-California_files/Hardcover_bevel_02.png'),IWCreateImage('BMK-California_files/Hardcover_bevel_03.png'),IWCreateImage('BMK-California_files/Hardcover_bevel_06.png'),IWCreateImage('BMK-California_files/Hardcover_bevel_09.png'),IWCreateImage('BMK-California_files/Hardcover_bevel_08.png'),IWCreateImage('BMK-California_files/Hardcover_bevel_07.png'),IWCreateImage('BMK-California_files/Hardcover_bevel_04.png')],null,0,0.250000,0.000000,0.000000,0.000000,0.000000,17.000000,17.000000,17.000000,17.000000,403.000000,295.000000,403.000000,295.000000,null,null,null,0.100000),imageStream,range,new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),null,1.000000,{backgroundColor:'#000000',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget2','widget3','widget4')});}
function relayoutMediaGrid_id7(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id7(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({reflection_1:new IWReflection({opacity:0.50,offset:5.00}),stroke_0:new IWPhotoFrame([IWCreateImage('BMK-California_files/Portfolio_Frame_01.png'),IWCreateImage('BMK-California_files/Portfolio_Frame_02.png'),IWCreateImage('BMK-California_files/Portfolio_Frame_03.png'),IWCreateImage('BMK-California_files/Portfolio_Frame_06.png'),IWCreateImage('BMK-California_files/Portfolio_Frame_09.png'),IWCreateImage('BMK-California_files/Portfolio_Frame_08.png'),IWCreateImage('BMK-California_files/Portfolio_Frame_07.png'),IWCreateImage('BMK-California_files/Portfolio_Frame_04.png')],null,2,0.300000,0.000000,20.000000,10.000000,20.000000,22.000000,31.000000,19.000000,31.000000,407.000000,320.000000,407.000000,320.000000,null,null,null,0.100000),reflection_0:new IWReflection({opacity:0.50,offset:1.00}),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),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('BMK-California_files/BMK-CaliforniaMoz.css')
detectBrowser();adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');NotificationCenter.addObserver(null,relayoutMediaGrid_id7,'RangeChanged','id7')
adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');Widget.onload();fixAllIEPNGs('Media/transparent.gif');applyEffects()
initializeMediaStream_id7()}
function onPageUnload()
{Widget.onunload();}

