// Created by iWeb 2.0.4 local-build-20100719
//
//  iWeb - iWebHitCounter.js
//  Copyright (c) 2007 Apple Inc. All rights reserved.
//

function iWebWriteCounter()
{try
{writeCounter();}
catch(e)
{}}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id9" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="484" height="379" style="height: 379px; left: 24px; position: absolute; top: 54px; width: 484px; z-index: 1; "><param name="src" value="Media/GlimpseManishaWeddingiPh-iPhone.m4v" /><param name="controller" value="true" /><param name="autoplay" value="true" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id9" type="video/quicktime" width="484" height="379" style="height: 379px; left: 24px; position: absolute; top: 54px; width: 484px; z-index: 1; "><param name="src" value="ClipsClaps.com_files/GlimpseManishaWeddingiPh-iPhone.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/GlimpseManishaWeddingiPh-iPhone.m4v"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id9" type="video/quicktime" width="484" height="379" data="Media/GlimpseManishaWeddingiPh-iPhone.m4v" style="height: 379px; left: 24px; position: absolute; top: 54px; width: 484px; z-index: 1; "><param name="src" value="Media/GlimpseManishaWeddingiPh-iPhone.m4v"/><param name="controller" value="true"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
function createMediaStream_id10()
{return IWCreatePhotocast("http://web.me.com/predheep/NewSite/ClipsClaps.com_files/rss.xml",true,true);}
function initializeMediaStream_id10()
{createMediaStream_id10().load('http://web.me.com/predheep/NewSite',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget2'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id10',{pageIndex:0}));});}
function layoutMediaGrid_id10(range)
{createMediaStream_id10().load('http://web.me.com/predheep/NewSite',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id10',new IWPhotoGridLayout(1,new IWSize(379,379),new IWSize(379,0),new IWSize(568,394),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,null,null,1.000000,{backgroundColor:'#000000',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget2','widget3','widget4')});}
function relayoutMediaGrid_id10(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id10(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id10(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function hostedOnDM()
{return true;}
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('ClipsClaps.com_files/ClipsClaps.comMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('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');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');NotificationCenter.addObserver(null,relayoutMediaGrid_id10,'RangeChanged','id10')
detectBrowser();adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');Widget.onload();fixAllIEPNGs('Media/transparent.gif');fixupAllIEPNGBGs();iWebWriteCounter();initializeMediaStream_id10()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}

