// Created by iWeb 2.0.4 local-build-20081126

function createMediaStream_id6()
{return IWCreatePhotocast("http://www.cartooncity.net/CARTOON_CITY/CARiCATURES_files/rss.xml",true,true);}
function initializeMediaStream_id6()
{createMediaStream_id6().load('http://www.cartooncity.net/CARTOON_CITY',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id6',{pageIndex:0}));});}
function layoutMediaGrid_id6(range)
{createMediaStream_id6().load('http://www.cartooncity.net/CARTOON_CITY',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id6',new IWPhotoGridLayout(4,new IWSize(146,146),new IWSize(146,32),new IWSize(154,193),27,27,0,new IWSize(4,5)),new IWPhotoFrame([IWCreateImage('CARiCATURES_files/green_linen_ul.png'),IWCreateImage('CARiCATURES_files/green_linen_top.png'),IWCreateImage('CARiCATURES_files/green_linen_ur.png'),IWCreateImage('CARiCATURES_files/green_linen_right.png'),IWCreateImage('CARiCATURES_files/green_linen_lr.png'),IWCreateImage('CARiCATURES_files/green_linen_bottom.png'),IWCreateImage('CARiCATURES_files/green_linen_ll.png'),IWCreateImage('CARiCATURES_files/green_linen_left.png')],null,0,0.750000,13.000000,12.000000,13.000000,13.000000,15.000000,15.000000,15.000000,15.000000,15.000000,15.000000,15.000000,15.000000,null,null,null,0.400000),imageStream,range,null,null,1.000000,{backgroundColor:'#000000',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:9},'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id6(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id6(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id6(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_0:new IWShadow({blurRadius:78,offset:new IWPoint(3.5967,3.4733),color:'#fc27d5',opacity:0.790000}),shadow_3:new IWShadow({blurRadius:58,offset:new IWPoint(0.0000,0.0000),color:'#fbfe39',opacity:0.610000}),shadow_4:new IWShadow({blurRadius:58,offset:new IWPoint(0.0000,0.0000),color:'#fbfe39',opacity:0.610000}),shadow_1:new IWShadow({blurRadius:58,offset:new IWPoint(0.0000,0.0000),color:'#fbfe39',opacity:0.610000}),shadow_2:new IWShadow({blurRadius:32,offset:new IWPoint(3.5967,3.4733),color:'#fc27d5',opacity:0.870000}),shadow_6:new IWShadow({blurRadius:58,offset:new IWPoint(0.0000,0.0000),color:'#fbfe39',opacity:0.610000}),shadow_5:new IWShadow({blurRadius:58,offset:new IWPoint(0.0000,0.0000),color:'#fbfe39',opacity:0.610000})});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('CARiCATURES_files/CARiCATURESMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');NotificationCenter.addObserver(null,relayoutMediaGrid_id6,'RangeChanged','id6')
fixupAllIEPNGBGs();Widget.onload();fixAllIEPNGs('Media/transparent.gif');fixupIECSS3Opacity('id7');applyEffects()
initializeMediaStream_id6()}
function onPageUnload()
{Widget.onunload();}
