// Created by iWeb 3.0.1 local-build-20100115

function createMediaStream_id3()
{return IWCreateMediaCollection("http://www.jeffreykern.com/jeffreykern.com/Photos/Photos_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.jeffreykern.com/jeffreykern.com/Photos',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget11'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.jeffreykern.com/jeffreykern.com/Photos',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(2,new IWSize(301,226),new IWSize(301,32),new IWSize(336,273),27,27,0,new IWSize(123,101)),new IWPhotoFrame([IWCreateImage('Photos_files/ul.png'),IWCreateImage('Photos_files/top.png'),IWCreateImage('Photos_files/ur.png'),IWCreateImage('Photos_files/right.png'),IWCreateImage('Photos_files/lr.png'),IWCreateImage('Photos_files/bottom.png'),IWCreateImage('Photos_files/ll.png'),IWCreateImage('Photos_files/left.png')],null,1,1.000000,0.000000,0.000000,0.000000,0.000000,78.000000,46.000000,45.000000,55.000000,300.000000,313.000000,300.000000,313.000000,null,null,null,0.500000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget11',null,'widget12',{showTitle:true,showMetric:true})});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),args.id);}
if(window.stubPage)
{onStubPage();}
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="75" height="16"><param name="src" value="../Media/01%20Battle%20Without%20Honor%20or%20Humanity.m4a" /><param name="controller" value="false" /><param name="autoplay" value="true" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="true" /></object>');}
else if(isiPhone)
{document.write('<object id="id4" type="video/quicktime" width="75" height="16"><param name="src" value="../Media/01%20Battle%20Without%20Honor%20or%20Humanity.m4a"/><param name="controller" value="false"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id4" type="video/quicktime" width="75" height="16" data="../Media/01%20Battle%20Without%20Honor%20or%20Humanity.m4a"><param name="src" value="../Media/01%20Battle%20Without%20Honor%20or%20Humanity.m4a"/><param name="controller" value="false"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="true"/></object>');}}
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')
loadMozillaCSS('Photos_files/PhotosMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');fixupIECSS3Opacity('id5');initializeMediaStream_id3()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}

