// Created by iWeb 3.0.3 local-build-20110609

function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id4" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="209" height="173" style="clear: right; float: right; height: 157px; margin: 12px 0px 12px 12px; position: relative; width: 209px; " class="inline-block"><param name="src" value="Media/MVI_1923-6.mov"/><param name="controller" value="false"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="0"/><param name="loop" value="true"/></object>');}
else if(isiPhone)
{document.write('<object id="id4" type="video/quicktime" width="209" height="173" style="clear: right; float: right; height: 157px; margin: 12px 0px 12px 12px; position: relative; width: 209px; " class="inline-block"><param name="src" value="About_our_Snorkel_Adventures_files/MVI_1923-1.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/MVI_1923-6.mov"/><param name="controller" value="false"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id4" type="video/quicktime" width="209" height="173" data="Media/MVI_1923-6.mov" style="clear: right; float: right; height: 157px; margin: 12px 0px 12px 12px; position: relative; width: 209px; " class="inline-block"><param name="src" value="Media/MVI_1923-6.mov"/><param name="controller" value="false"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="0"/><param name="loop" value="true"/></object>');}}
function createMediaStream_id5()
{return IWCreatePhotocast("http://www.seaquesthawaii.com/seaquesthawaii.com/About_our_Snorkel_Adventures_files/rss.xml",false);}
function initializeMediaStream_id5()
{createMediaStream_id5().load('http://www.seaquesthawaii.com/seaquesthawaii.com',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id5',{pageIndex:0}));});}
function layoutMediaGrid_id5(range)
{createMediaStream_id5().load('http://www.seaquesthawaii.com/seaquesthawaii.com',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id5',new IWPhotoGridLayout(4,new IWSize(126,126),new IWSize(126,16),new IWSize(152,157),27,27,0,new IWSize(0,0)),new IWStrokeParts([{rect:new IWRect(-4,4,10,118),url:'About_our_Snorkel_Adventures_files/stroke_16.png'},{rect:new IWRect(-8,-5,14,9),url:'About_our_Snorkel_Adventures_files/stroke_17.png'},{rect:new IWRect(6,-4,113,8),url:'About_our_Snorkel_Adventures_files/stroke_18.png'},{rect:new IWRect(119,-4,11,8),url:'About_our_Snorkel_Adventures_files/stroke_19.png'},{rect:new IWRect(119,4,7,118),url:'About_our_Snorkel_Adventures_files/stroke_20.png'},{rect:new IWRect(119,122,14,12),url:'About_our_Snorkel_Adventures_files/stroke_21.png'},{rect:new IWRect(6,122,113,8),url:'About_our_Snorkel_Adventures_files/stroke_22.png'},{rect:new IWRect(-13,122,19,7),url:'About_our_Snorkel_Adventures_files/stroke_23.png'}],new IWSize(126,126)),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:0,fullScreen:1,transitionIndex:0},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id5(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id5(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id5(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_1:new IWEmptyStroke(),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,109),url:'About_our_Snorkel_Adventures_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'About_our_Snorkel_Adventures_files/stroke_1.png'},{rect:new IWRect(1,-1,901,2),url:'About_our_Snorkel_Adventures_files/stroke_2.png'},{rect:new IWRect(902,-1,2,2),url:'About_our_Snorkel_Adventures_files/stroke_3.png'},{rect:new IWRect(902,1,2,109),url:'About_our_Snorkel_Adventures_files/stroke_4.png'},{rect:new IWRect(902,110,2,2),url:'About_our_Snorkel_Adventures_files/stroke_5.png'},{rect:new IWRect(1,110,901,2),url:'About_our_Snorkel_Adventures_files/stroke_6.png'},{rect:new IWRect(-1,110,2,2),url:'About_our_Snorkel_Adventures_files/stroke_7.png'}],new IWSize(903,111)),stroke_2:new IWStrokeParts([{rect:new IWRect(-1,1,2,349),url:'About_our_Snorkel_Adventures_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'About_our_Snorkel_Adventures_files/stroke_9.png'},{rect:new IWRect(1,-1,420,2),url:'About_our_Snorkel_Adventures_files/stroke_10.png'},{rect:new IWRect(421,-1,2,2),url:'About_our_Snorkel_Adventures_files/stroke_11.png'},{rect:new IWRect(421,1,2,349),url:'About_our_Snorkel_Adventures_files/stroke_12.png'},{rect:new IWRect(421,350,2,2),url:'About_our_Snorkel_Adventures_files/stroke_13.png'},{rect:new IWRect(1,350,420,2),url:'About_our_Snorkel_Adventures_files/stroke_14.png'},{rect:new IWRect(-1,350,2,2),url:'About_our_Snorkel_Adventures_files/stroke_15.png'}],new IWSize(422,351))});registry.applyEffects();}
function hostedOnDM()
{return false;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
loadMozillaCSS('About_our_Snorkel_Adventures_files/About_our_Snorkel_AdventuresMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');NotificationCenter.addObserver(null,relayoutMediaGrid_id5,'RangeChanged','id5')
adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');fixAllIEPNGs('Media/transparent.gif');fixupIECSS3Opacity('id2');Widget.onload();fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id5()}
function onPageUnload()
{Widget.onunload();}

