// Created by iWeb 3.0.1 local-build-20090829

function createMediaStream_id1()
{return IWCreatePhotocast("http://frankiecreel.com/Site/portraits_files/rss.xml",true);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://frankiecreel.com/Site',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://frankiecreel.com/Site',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(6,new IWSize(112,112),new IWSize(112,0),new IWSize(112,128),27,27,0,new IWSize(10,8)),new IWPhotoFrame([IWCreateImage('portraits_files/Portfolio_Frame_01.png'),IWCreateImage('portraits_files/Portfolio_Frame_02.png'),IWCreateImage('portraits_files/Portfolio_Frame_03.png'),IWCreateImage('portraits_files/Portfolio_Frame_06.png'),IWCreateImage('portraits_files/Portfolio_Frame_09.png'),IWCreateImage('portraits_files/Portfolio_Frame_08.png'),IWCreateImage('portraits_files/Portfolio_Frame_07.png'),IWCreateImage('portraits_files/Portfolio_Frame_04.png')],null,2,0.300000,0.000000,20.000000,10.000000,20.000000,22.000000,31.000000,19.000000,31.000000,407.000000,320.000000,407.000000,320.000000,null,null,null,0.100000),imageStream,range,null,null,1.000000,null,'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id1(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id1(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id1(),args.id);}
if(window.stubPage)
{onStubPage();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id3" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="75" height="16" style="height: 0px; left: 703px; position: absolute; top: 129px; width: 75px; z-index: 1; "><param name="src" value="Media/Viva%20La%20Vida.mp3" /><param name="controller" value="false" /><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="id3" type="video/quicktime" width="75" height="16" style="height: 0px; left: 703px; position: absolute; top: 129px; width: 75px; z-index: 1; "><param name="src" value="Media/Viva%20La%20Vida.mp3"/><param name="controller" value="false"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id3" type="video/quicktime" width="75" height="16" data="Media/Viva%20La%20Vida.mp3" style="height: 0px; left: 703px; position: absolute; top: 129px; width: 75px; z-index: 1; "><param name="src" value="Media/Viva%20La%20Vida.mp3"/><param name="controller" value="false"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
setTransparentGifURL('Media/transparent.gif');function hostedOnDM()
{return false;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
loadMozillaCSS('portraits_files/portraitsMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');initializeMediaStream_id1()
performPostEffectsFixups()}
function onPageUnload()
{Widget.onunload();}
