// Created by iWeb 2.0.4 local-build-20120103

function createMediaStream_id1()
{return IWCreatePhotocast("http://www.contortionchris.com/SHOW/Workshop_Photos_files/rss.xml",true,true);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.contortionchris.com/SHOW',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.contortionchris.com/SHOW',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(3,new IWSize(165,165),new IWSize(165,0),new IWSize(204,180),27,27,0,new IWSize(6,6)),new IWPhotoFrame([IWCreateImage('Workshop_Photos_files/comic-1_01.png'),IWCreateImage('Workshop_Photos_files/comic-1_02.png'),IWCreateImage('Workshop_Photos_files/comic-1_03.png'),IWCreateImage('Workshop_Photos_files/comic-1_06.png'),IWCreateImage('Workshop_Photos_files/comic-1_09.png'),IWCreateImage('Workshop_Photos_files/comic-1_08.png'),IWCreateImage('Workshop_Photos_files/comic-1_07.png'),IWCreateImage('Workshop_Photos_files/comic-1_04.png')],null,0,1.000000,4.000000,4.000000,1.000000,1.000000,5.000000,5.000000,6.000000,6.000000,71.000000,115.000000,71.000000,115.000000,null,null,null,0.500000),imageStream,range,null,null,1.000000,{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();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_2:new IWStrokeParts([{rect:new IWRect(-1,2,5,42),url:'Workshop_Photos_files/stroke_16.png'},{rect:new IWRect(-3,-4,7,6),url:'Workshop_Photos_files/stroke_17.png'},{rect:new IWRect(4,-4,1010,6),url:'Workshop_Photos_files/stroke_18.png'},{rect:new IWRect(1014,-4,7,6),url:'Workshop_Photos_files/stroke_19.png'},{rect:new IWRect(1014,2,5,42),url:'Workshop_Photos_files/stroke_20.png'},{rect:new IWRect(1014,44,5,9),url:'Workshop_Photos_files/stroke_21.png'},{rect:new IWRect(4,44,1010,9),url:'Workshop_Photos_files/stroke_22.png'},{rect:new IWRect(-3,44,7,8),url:'Workshop_Photos_files/stroke_23.png'}],new IWSize(1016,48)),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,2,5,54),url:'Workshop_Photos_files/stroke_8.png'},{rect:new IWRect(-2,-3,6,5),url:'Workshop_Photos_files/stroke_9.png'},{rect:new IWRect(4,-3,926,5),url:'Workshop_Photos_files/stroke_10.png'},{rect:new IWRect(930,-3,7,5),url:'Workshop_Photos_files/stroke_11.png'},{rect:new IWRect(930,2,4,54),url:'Workshop_Photos_files/stroke_12.png'},{rect:new IWRect(930,56,4,8),url:'Workshop_Photos_files/stroke_13.png'},{rect:new IWRect(4,56,926,8),url:'Workshop_Photos_files/stroke_14.png'},{rect:new IWRect(-2,56,6,8),url:'Workshop_Photos_files/stroke_15.png'}],new IWSize(932,60)),stroke_0:new IWStrokeParts([{rect:new IWRect(-2,2,6,65),url:'Workshop_Photos_files/stroke.png'},{rect:new IWRect(-3,-4,7,6),url:'Workshop_Photos_files/stroke_1.png'},{rect:new IWRect(4,-4,926,6),url:'Workshop_Photos_files/stroke_2.png'},{rect:new IWRect(930,-4,7,6),url:'Workshop_Photos_files/stroke_3.png'},{rect:new IWRect(930,2,5,65),url:'Workshop_Photos_files/stroke_4.png'},{rect:new IWRect(930,67,5,9),url:'Workshop_Photos_files/stroke_5.png'},{rect:new IWRect(4,67,926,10),url:'Workshop_Photos_files/stroke_6.png'},{rect:new IWRect(-3,67,7,8),url:'Workshop_Photos_files/stroke_7.png'}],new IWSize(932,71)),stroke_4:new IWStrokeParts([{rect:new IWRect(-1,1,2,67),url:'Workshop_Photos_files/stroke_24.png'},{rect:new IWRect(-1,-1,2,2),url:'Workshop_Photos_files/stroke_25.png'},{rect:new IWRect(1,-1,37,2),url:'Workshop_Photos_files/stroke_26.png'},{rect:new IWRect(38,-1,2,2),url:'Workshop_Photos_files/stroke_27.png'},{rect:new IWRect(38,1,2,67),url:'Workshop_Photos_files/stroke_28.png'},{rect:new IWRect(38,68,2,2),url:'Workshop_Photos_files/stroke_29.png'},{rect:new IWRect(1,68,37,2),url:'Workshop_Photos_files/stroke_30.png'},{rect:new IWRect(-1,68,2,2),url:'Workshop_Photos_files/stroke_31.png'}],new IWSize(39,69)),stroke_3:new IWEmptyStroke()});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('Workshop_Photos_files/Workshop_PhotosMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','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');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');Widget.onload();fixAllIEPNGs('Media/transparent.gif');applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}

