// Created by iWeb 2.0.4 local-build-20101013

function createMediaStream_id7()
{return IWCreatePhotocast("http://www.tonydeluca.com/Jazz_Pop/Dates_files/rss.xml",false,true);}
function initializeMediaStream_id7()
{createMediaStream_id7().load('http://www.tonydeluca.com/Jazz_Pop',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id7',{pageIndex:0}));});}
function layoutMediaGrid_id7(range)
{createMediaStream_id7().load('http://www.tonydeluca.com/Jazz_Pop',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id7',new IWPhotoGridLayout(4,new IWSize(157,157),new IWSize(157,0),new IWSize(172,172),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,null,null,1.000000,null,'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id7(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id7(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id7(),args.id);}
if(window.stubPage)
{onStubPage();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id29" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="2" height="16"><param name="src" value="Media/OneSecondSilence.mov" /><param name="controller" value="false" /><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="id29" type="video/quicktime" width="2" height="16"><param name="src" value="Media/OneSecondSilence.mov"/><param name="controller" value="false"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id29" type="video/quicktime" width="2" height="16" data="Media/OneSecondSilence.mov"><param name="src" value="Media/OneSecondSilence.mov"/><param name="controller" value="false"/><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:2,offset:new IWPoint(1.0000,-0.0000),color:'#3a060f',opacity:1.000000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-2,0,4,93),url:'Dates_files/stroke.png'},{rect:new IWRect(-2,-2,4,2),url:'Dates_files/stroke_1.png'},{rect:new IWRect(2,-2,89,2),url:'Dates_files/stroke_2.png'},{rect:new IWRect(91,-2,5,2),url:'Dates_files/stroke_3.png'},{rect:new IWRect(91,0,5,93),url:'Dates_files/stroke_4.png'},{rect:new IWRect(91,93,5,3),url:'Dates_files/stroke_5.png'},{rect:new IWRect(2,93,89,3),url:'Dates_files/stroke_6.png'},{rect:new IWRect(-2,93,4,3),url:'Dates_files/stroke_7.png'}],new IWSize(94,94)),stroke_1:new IWEmptyStroke()});registry.applyEffects();}
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('Dates_files/DatesMoz.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');NotificationCenter.addObserver(null,relayoutMediaGrid_id7,'RangeChanged','id7')
adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');detectBrowser();adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');adjustLineHeightIfTooBig('id17');adjustFontSizeIfTooBig('id17');adjustLineHeightIfTooBig('id19');adjustFontSizeIfTooBig('id19');adjustLineHeightIfTooBig('id21');adjustFontSizeIfTooBig('id21');adjustLineHeightIfTooBig('id23');adjustFontSizeIfTooBig('id23');adjustLineHeightIfTooBig('id25');adjustFontSizeIfTooBig('id25');adjustLineHeightIfTooBig('id28');adjustFontSizeIfTooBig('id28');fixAllIEPNGs('Media/transparent.gif');Widget.onload();fixupIECSS3Opacity('id14');fixupIECSS3Opacity('id16');fixupIECSS3Opacity('id18');fixupIECSS3Opacity('id20');fixupIECSS3Opacity('id22');fixupAllIEPNGBGs();fixupIECSS3Opacity('id24');fixupIECSS3Opacity('id26');fixupIECSS3Opacity('id27');applyEffects()
initializeMediaStream_id7()}
function onPageUnload()
{Widget.onunload();}

