// Created by iWeb 2.0.4 local-build-20100604

function createMediaStream_id8()
{return IWCreatePhotocast("http://web.me.com/kingsearls/King-Searls_Designs/Web_Design_II_files/rss.xml",false,true);}
function initializeMediaStream_id8()
{createMediaStream_id8().load('http://web.me.com/kingsearls/King-Searls_Designs',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget2'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id8',{pageIndex:0}));});}
function layoutMediaGrid_id8(range)
{createMediaStream_id8().load('http://web.me.com/kingsearls/King-Searls_Designs',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id8',new IWPhotoGridLayout(1,new IWSize(344,344),new IWSize(344,0),new IWSize(516,359),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,null,null,1.000000,{backgroundColor:'#ffffff',reflectionHeight:0,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:9},'Media/slideshow.html','widget2','widget3','widget4')});}
function relayoutMediaGrid_id8(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id8(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id8(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_0:new IWShadow({blurRadius:8,offset:new IWPoint(2.8284,2.8284),color:'#000000',opacity:0.500000})});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('Web_Design_II_files/Web_Design_IIMoz.css')
detectBrowser();adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');NotificationCenter.addObserver(null,relayoutMediaGrid_id8,'RangeChanged','id8')
fixAllIEPNGs('Media/transparent.gif');IMpreload('Web_Design_II_files','shapeimage_1','0');IMpreload('Web_Design_II_files','shapeimage_2','0');IMpreload('Web_Design_II_files','shapeimage_3','0');IMpreload('Web_Design_II_files','shapeimage_4','0');IMpreload('Web_Design_II_files','shapeimage_5','0');IMpreload('Web_Design_II_files','shapeimage_11','0');Widget.onload();fixupAllIEPNGBGs();IMpreload('Web_Design_II_files','shapeimage_15','0');IMpreload('Web_Design_II_files','shapeimage_16','0');IMpreload('Web_Design_II_files','shapeimage_17','0');IMpreload('Web_Design_II_files','shapeimage_18','0');applyEffects()
initializeMediaStream_id8()}
function onPageUnload()
{Widget.onunload();}

