// Created by iWeb 3.0.4 local-build-20111126

function createMediaStream_id3()
{return IWCreatePhotocast("http://ceramicsinthecity.com/Ceramics_in_the_City/Idea_Book_files/rss.xml",true);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://ceramicsinthecity.com/Ceramics_in_the_City',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget2'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://ceramicsinthecity.com/Ceramics_in_the_City',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(1,new IWSize(563,563),new IWSize(563,32),new IWSize(611,610),27,27,0,new IWSize(20,14)),new IWPhotoFrame([IWCreateImage('Idea_Book_files/Portfolio_Frame_01.png'),IWCreateImage('Idea_Book_files/Portfolio_Frame_02.png'),IWCreateImage('Idea_Book_files/Portfolio_Frame_03.png'),IWCreateImage('Idea_Book_files/Portfolio_Frame_06.png'),IWCreateImage('Idea_Book_files/Portfolio_Frame_09.png'),IWCreateImage('Idea_Book_files/Portfolio_Frame_08.png'),IWCreateImage('Idea_Book_files/Portfolio_Frame_07.png'),IWCreateImage('Idea_Book_files/Portfolio_Frame_04.png')],null,2,0.600000,0.000000,20.000000,10.000000,20.000000,22.000000,31.000000,19.000000,31.000000,407.000000,320.000000,407.000000,320.000000,null,null,null,0.100000),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget2','widget3','widget4')});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_1:new IWPhotoFrame([IWCreateImage('Idea_Book_files/Modern_C_TL.png'),IWCreateImage('Idea_Book_files/Modern_S_T.png'),IWCreateImage('Idea_Book_files/Modern_C_TR.png'),IWCreateImage('Idea_Book_files/Modern_S_R.png'),IWCreateImage('Idea_Book_files/Modern_C_BR.png'),IWCreateImage('Idea_Book_files/Modern_S_B.png'),IWCreateImage('Idea_Book_files/Modern_C_BL.png'),IWCreateImage('Idea_Book_files/Modern_S_L.png')],null,2,0.700000,0.000000,0.000000,0.000000,0.000000,17.000000,17.000000,17.000000,20.000000,40.000000,40.000000,40.000000,240.000000,null,null,null,0.100000),shadow_1:new IWShadow({blurRadius:8,offset:new IWPoint(3.3457,3.7157),color:'#000000',opacity:0.750000}),shadow_0:new IWShadow({blurRadius:8,offset:new IWPoint(3.3457,3.7157),color:'#000000',opacity:0.750000}),stroke_0: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')
loadMozillaCSS('Idea_Book_files/Idea_BookMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');detectBrowser();adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');fixAllIEPNGs('Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}

