// Created by iWeb 3.0.3 local-build-20110420

function createMediaStream_id1()
{return IWCreateMediaCollection("http://www.jeffrodesigns.com/Jeffro_Designs/Jeffros_Portfolio/Jeffros_Portfolio_files/rss.xml",true,8,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.jeffrodesigns.com/Jeffro_Designs/Jeffros_Portfolio',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget11'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://www.jeffrodesigns.com/Jeffro_Designs/Jeffros_Portfolio',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(2,new IWSize(318,239),new IWSize(318,42),new IWSize(362,296),27,27,0,new IWSize(0,0)),new IWEmptyStroke(),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget11',null,'widget12',{showTitle:true,showMetric:false})});}
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="id2" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="75" height="16"><param name="src" value="../Media/Instrumentals%20-%20Mims%20-%20This%20Is%20Why%20Im%20Hot.mp3" /><param name="controller" value="true" /><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="id2" type="video/quicktime" width="75" height="16"><param name="src" value="../Media/Instrumentals%20-%20Mims%20-%20This%20Is%20Why%20Im%20Hot.mp3"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id2" type="video/quicktime" width="75" height="16" data="../Media/Instrumentals%20-%20Mims%20-%20This%20Is%20Why%20Im%20Hot.mp3"><param name="src" value="../Media/Instrumentals%20-%20Mims%20-%20This%20Is%20Why%20Im%20Hot.mp3"/><param name="controller" value="true"/><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 applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({reflection_0:new IWReflection({opacity:1.00,offset:1.00}),shadow_4:new IWShadow({blurRadius:9,offset:new IWPoint(-0.0000,0.0000),color:'#fffbfb',opacity:1.000000}),shadow_0:new IWShadow({blurRadius:8,offset:new IWPoint(-0.0000,7.0000),color:'#000000',opacity:1.000000}),shadow_2:new IWShadow({blurRadius:9,offset:new IWPoint(-0.0000,0.0000),color:'#1025a1',opacity:1.000000}),shadow_1:new IWShadow({blurRadius:9,offset:new IWPoint(-0.0000,0.0000),color:'#1025a1',opacity:1.000000}),shadow_3:new IWShadow({blurRadius:9,offset:new IWPoint(-0.0000,0.0000),color:'#1025a1',opacity:1.000000})});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('Jeffros_Portfolio_files/Jeffros_PortfolioMoz.css')
detectBrowser();NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');Widget.onload();IMpreload('Jeffros_Portfolio_files','shapeimage_2','0');IMpreload('Jeffros_Portfolio_files','shapeimage_3','0');IMpreload('Jeffros_Portfolio_files','shapeimage_4','0');applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}

