// Created by iWeb 3.0.1 local-build-20100512

function createMediaStream_id5()
{return IWCreatePhotocast("file://localhost/Users/kivajmurphy/Sites/Alakazam_Clowns/Face_Painting_files/rss.xml",true);}
function initializeMediaStream_id5()
{createMediaStream_id5().load('file://localhost/Users/kivajmurphy/Sites/Alakazam_Clowns',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id5',{pageIndex:0}));});}
function layoutMediaGrid_id5(range)
{createMediaStream_id5().load('file://localhost/Users/kivajmurphy/Sites/Alakazam_Clowns',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id5',new IWPhotoGridLayout(3,new IWSize(190,190),new IWSize(190,0),new IWSize(190,205),27,27,0,new IWSize(16,16)),new IWPhotoFrame([IWCreateImage('Face_Painting_files/Formal_inset_01.png'),IWCreateImage('Face_Painting_files/Formal_inset_02.png'),IWCreateImage('Face_Painting_files/Formal_inset_03.png'),IWCreateImage('Face_Painting_files/Formal_inset_06.png'),IWCreateImage('Face_Painting_files/Formal_inset_09.png'),IWCreateImage('Face_Painting_files/Formal_inset_08.png'),IWCreateImage('Face_Painting_files/Formal_inset_07.png'),IWCreateImage('Face_Painting_files/Formal_inset_04.png')],null,0,0.600000,1.000000,1.000000,1.000000,1.000000,14.000000,14.000000,14.000000,14.000000,191.000000,262.000000,191.000000,262.000000,null,null,null,0.100000),imageStream,range,new IWShadow({blurRadius:10,offset:new IWPoint(-0.0000,2.0000),color:'#000000',opacity:0.600000}),null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id5(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id5(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({reflection_0:new IWReflection({opacity:0.50,offset:1.00}),stroke_1:new IWEmptyStroke(),stroke_0:new IWStrokeParts([{rect:new IWRect(-2,2,4,29),url:'Face_Painting_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'Face_Painting_files/stroke_1.png'},{rect:new IWRect(2,-2,966,4),url:'Face_Painting_files/stroke_2.png'},{rect:new IWRect(968,-2,4,4),url:'Face_Painting_files/stroke_3.png'},{rect:new IWRect(968,2,4,29),url:'Face_Painting_files/stroke_4.png'},{rect:new IWRect(968,31,4,4),url:'Face_Painting_files/stroke_5.png'},{rect:new IWRect(2,31,966,4),url:'Face_Painting_files/stroke_6.png'},{rect:new IWRect(-2,31,4,4),url:'Face_Painting_files/stroke_7.png'}],new IWSize(970,33))});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('Face_Painting_files/Face_PaintingMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');NotificationCenter.addObserver(null,relayoutMediaGrid_id5,'RangeChanged','id5')
adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');fixAllIEPNGs('Media/transparent.gif');Widget.onload();IMpreload('Face_Painting_files','shapeimage_12','0');IMpreload('Face_Painting_files','shapeimage_12','1');IMpreload('Face_Painting_files','shapeimage_13','0');IMpreload('Face_Painting_files','shapeimage_14','0');IMpreload('Face_Painting_files','shapeimage_15','0');IMpreload('Face_Painting_files','shapeimage_16','0');IMpreload('Face_Painting_files','shapeimage_17','0');IMpreload('Face_Painting_files','shapeimage_18','0');IMpreload('Face_Painting_files','shapeimage_19','0');IMpreload('Face_Painting_files','shapeimage_20','0');applyEffects()
initializeMediaStream_id5()}
function onPageUnload()
{Widget.onunload();}
