// Created by iWeb 2.0.4 local-build-20091010

function createMediaStream_id4()
{return IWCreateMediaCollection("http://www.doctorcarreon.com/doc_careon_2/photos/photos_files/rss.xml",false,1,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('http://www.doctorcarreon.com/doc_careon_2/photos',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget4'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('http://www.doctorcarreon.com/doc_careon_2/photos',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(2,new IWSize(163,122),new IWSize(163,32),new IWSize(244,169),27,27,0,new IWSize(0,0)),new IWStrokeParts([{rect:new IWRect(-13,-1,12,124),url:'photos_files/stroke.png'},{rect:new IWRect(-13,-13,12,12),url:'photos_files/stroke_1.png'},{rect:new IWRect(-1,-13,164,12),url:'photos_files/stroke_2.png'},{rect:new IWRect(163,-13,12,12),url:'photos_files/stroke_3.png'},{rect:new IWRect(163,-1,12,124),url:'photos_files/stroke_4.png'},{rect:new IWRect(163,123,12,12),url:'photos_files/stroke_5.png'},{rect:new IWRect(-1,123,164,12),url:'photos_files/stroke_6.png'},{rect:new IWRect(-13,123,12,12),url:'photos_files/stroke_7.png'}],new IWSize(162,122)),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget4',null,'widget5',{showTitle:false,showMetric:false})});}
function relayoutMediaGrid_id4(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id4(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id4(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_2:new IWEmptyStroke(),shadow_0:new IWShadow({blurRadius:23,offset:new IWPoint(0.5209,2.9544),color:'#000000',opacity:0.700000}),stroke_3:new IWPhotoFrame([IWCreateImage('photos_files/Formal_inset_01.png'),IWCreateImage('photos_files/Formal_inset_02.png'),IWCreateImage('photos_files/Formal_inset_03.png'),IWCreateImage('photos_files/Formal_inset_06.png'),IWCreateImage('photos_files/Formal_inset_09.png'),IWCreateImage('photos_files/Formal_inset_08.png'),IWCreateImage('photos_files/Formal_inset_07.png'),IWCreateImage('photos_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),shadow_2:new IWShadow({blurRadius:15,offset:new IWPoint(-0.0000,3.0000),color:'#000000',opacity:0.830000}),stroke_1:new IWEmptyStroke(),shadow_3:new IWShadow({blurRadius:23,offset:new IWPoint(-2.9982,0.1047),color:'#000000',opacity:0.700000}),shadow_4:new IWShadow({blurRadius:23,offset:new IWPoint(-2.9982,0.1047),color:'#000000',opacity:0.700000}),stroke_4:new IWEmptyStroke(),stroke_0:new IWPhotoFrame([IWCreateImage('photos_files/comic-1_01.png'),IWCreateImage('photos_files/comic-1_02.png'),IWCreateImage('photos_files/comic-1_03.png'),IWCreateImage('photos_files/comic-1_06.png'),IWCreateImage('photos_files/comic-1_09.png'),IWCreateImage('photos_files/comic-1_08.png'),IWCreateImage('photos_files/comic-1_07.png'),IWCreateImage('photos_files/comic-1_04.png')],null,0,0.500000,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),stroke_5:new IWEmptyStroke(),shadow_1:new IWShadow({blurRadius:23,offset:new IWPoint(-2.9982,0.1047),color:'#000000',opacity:0.700000})});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('photos_files/photosMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');NotificationCenter.addObserver(null,relayoutMediaGrid_id4,'RangeChanged','id4')
adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');detectBrowser();adjustLineHeightIfTooBig('id16');adjustFontSizeIfTooBig('id16');adjustLineHeightIfTooBig('id17');adjustFontSizeIfTooBig('id17');adjustLineHeightIfTooBig('id18');adjustFontSizeIfTooBig('id18');adjustLineHeightIfTooBig('id19');adjustFontSizeIfTooBig('id19');adjustLineHeightIfTooBig('id20');adjustFontSizeIfTooBig('id20');adjustLineHeightIfTooBig('id21');adjustFontSizeIfTooBig('id21');adjustLineHeightIfTooBig('id22');adjustFontSizeIfTooBig('id22');fixAllIEPNGs('../Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();IMpreload('photos_files','shapeimage_7','0');IMpreload('photos_files','shapeimage_8','0');applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}

