// Created by iWeb 2.0.3 local-build-20080520

function createMediaStream_id1()
{return IWCreatePhotocast("http://www.godlovesmebest.com/THE420NETWORK/featuredartist_files/rss.xml",true,true);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.godlovesmebest.com/THE420NETWORK',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://www.godlovesmebest.com/THE420NETWORK',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(2,new IWSize(216,216),new IWSize(216,30),new IWSize(324,261),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,null,null,0.900000,{backgroundColor:'#000000',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'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=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id1(),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" style="height: 16px; left: 310px; position: absolute; top: 529px; width: 75px; z-index: 1; "><param name="src" value="Media/its%20all%20good-low-1.mov" /><param name="controller" value="true" /><param name="autoplay" value="true" /><param name="scale" value="tofit" /><param name="volume" value="51" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id4" type="video/quicktime" width="75" height="16" style="height: 16px; left: 310px; position: absolute; top: 529px; width: 75px; z-index: 1; "><param name="src" value="Media/its%20all%20good-low-1.mov"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id4" type="video/quicktime" width="75" height="16" data="Media/its%20all%20good-low-1.mov" style="height: 16px; left: 310px; position: absolute; top: 529px; width: 75px; z-index: 1; "><param name="src" value="Media/its%20all%20good-low-1.mov"/><param name="controller" value="true"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="51"/><param name="loop" value="false"/></object>');}}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_4:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#2b2b2a',opacity:0.900000}),shadow_3:new IWShadow({blurRadius:5,offset:new IWPoint(4.2426,4.2426),color:'#191919',opacity:1.000000}),shadow_0:new IWShadow({blurRadius:7,offset:new IWPoint(3.0902,5.1430),color:'#2b2b2a',opacity:0.900000}),shadow_7:new IWShadow({blurRadius:1,offset:new IWPoint(3.5355,3.5355),color:'#2b2b2a',opacity:1.000000}),shadow_6:new IWShadow({blurRadius:10,offset:new IWPoint(2.1213,2.1213),color:'#191919',opacity:1.000000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,71),url:'featuredartist_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'featuredartist_files/stroke_1.png'},{rect:new IWRect(1,-1,658,2),url:'featuredartist_files/stroke_2.png'},{rect:new IWRect(659,-1,2,2),url:'featuredartist_files/stroke_3.png'},{rect:new IWRect(659,1,2,71),url:'featuredartist_files/stroke_4.png'},{rect:new IWRect(659,72,2,2),url:'featuredartist_files/stroke_5.png'},{rect:new IWRect(1,72,658,2),url:'featuredartist_files/stroke_6.png'},{rect:new IWRect(-1,72,2,2),url:'featuredartist_files/stroke_7.png'}],new IWSize(660,73)),shadow_1:new IWShadow({blurRadius:6,offset:new IWPoint(3.9364,4.5283),color:'#2b2b2a',opacity:0.900000}),shadow_5:new IWShadow({blurRadius:1,offset:new IWPoint(2.1213,2.1213),color:'#000000',opacity:0.700000}),shadow_2:new IWShadow({blurRadius:6,offset:new IWPoint(4.2426,4.2426),color:'#2b2b2a',opacity:0.900000})});registry.applyEffects();}
function hostedOnDM()
{return false;}
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('featuredartist_files/featuredartistMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');IMpreload('featuredartist_files','shapeimage_4','0');IMpreload('featuredartist_files','shapeimage_6','0');IMpreload('featuredartist_files','shapeimage_6','1');IMpreload('featuredartist_files','shapeimage_7','0');IMpreload('featuredartist_files','shapeimage_7','1');IMpreload('featuredartist_files','shapeimage_8','0');IMpreload('featuredartist_files','shapeimage_8','1');Widget.onload();applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}
