// Created by iWeb 2.0.4 local-build-20091010

function createMediaStream_id1()
{return IWCreatePhotocast("http://www.gerberac.com/Site18/Palomar_files/rss.xml",false,true);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.gerberac.com/Site18',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://www.gerberac.com/Site18',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(3,new IWSize(186,186),new IWSize(186,24),new IWSize(186,225),27,27,0,new IWSize(27,29)),new IWPhotoFrame([IWCreateImage('Palomar_files/Freestyle_01.png'),IWCreateImage('Palomar_files/Freestyle_02.png'),IWCreateImage('Palomar_files/Freestyle_03.png'),IWCreateImage('Palomar_files/Freestyle_06.png'),IWCreateImage('Palomar_files/Freestyle_09.png'),IWCreateImage('Palomar_files/Freestyle_08.png'),IWCreateImage('Palomar_files/Freestyle_07.png'),IWCreateImage('Palomar_files/Freestyle_04.png')],null,2,0.666667,3.000000,3.000000,3.000000,3.000000,22.000000,24.000000,23.000000,25.000000,166.000000,222.000000,166.000000,222.000000,null,null,null,0.100000),imageStream,range,new IWShadow({blurRadius:9,offset:new IWPoint(0.7071,0.7071),color:'#463c3c',opacity:0.300000}),null,1.000000,{backgroundColor:'#000000',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id1(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id1(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id1(),args.id);}
if(window.stubPage)
{onStubPage();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id2" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="300" height="241" style="height: 241px; left: 47px; position: absolute; top: 108px; width: 300px; z-index: 1; "><param name="src" value="Media/Palomarfull2.mp4" /><param name="controller" value="true" /><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id2" type="video/quicktime" width="300" height="241" style="height: 241px; left: 47px; position: absolute; top: 108px; width: 300px; z-index: 1; "><param name="src" value="Palomar_files/Palomarfull2.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/Palomarfull2.mp4"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id2" type="video/quicktime" width="300" height="241" data="Media/Palomarfull2.mp4" style="height: 241px; left: 47px; position: absolute; top: 108px; width: 300px; z-index: 1; "><param name="src" value="Media/Palomarfull2.mp4"/><param name="controller" value="true"/><param name="autoplay" value="false"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
function writeMovie2()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id4" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="300" height="241" style="height: 241px; left: 47px; position: absolute; top: 371px; width: 300px; z-index: 1; "><param name="src" value="Media/baldyskilifts.MP4" /><param name="controller" value="true" /><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id4" type="video/quicktime" width="300" height="241" style="height: 241px; left: 47px; position: absolute; top: 371px; width: 300px; z-index: 1; "><param name="src" value="Palomar_files/baldyskilifts.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/baldyskilifts.MP4"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id4" type="video/quicktime" width="300" height="241" data="Media/baldyskilifts.MP4" style="height: 241px; left: 47px; position: absolute; top: 371px; width: 300px; z-index: 1; "><param name="src" value="Media/baldyskilifts.MP4"/><param name="controller" value="true"/><param name="autoplay" value="false"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
function writeMovie3()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id5" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="300" height="241" style="height: 241px; left: 354px; position: absolute; top: 613px; width: 300px; z-index: 1; "><param name="src" value="Media/gmrdeer.MP4" /><param name="controller" value="true" /><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id5" type="video/quicktime" width="300" height="241" style="height: 241px; left: 354px; position: absolute; top: 613px; width: 300px; z-index: 1; "><param name="src" value="Palomar_files/gmrdeer.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/gmrdeer.MP4"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id5" type="video/quicktime" width="300" height="241" data="Media/gmrdeer.MP4" style="height: 241px; left: 354px; position: absolute; top: 613px; width: 300px; z-index: 1; "><param name="src" value="Media/gmrdeer.MP4"/><param name="controller" value="true"/><param name="autoplay" value="false"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_0:new IWShadow({blurRadius:4,offset:new IWPoint(1.4142,1.4142),color:'#463c3c',opacity:0.800000})});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('Palomar_files/PalomarMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');fixAllIEPNGs('Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}
