// Created by iWeb 3.0.1 local-build-20091216

function createMediaStream_id1()
{return IWCreatePhotocast("http://www.tanaharadesign.com/Tanahara_Design/Printwork_files/rss.xml",true);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.tanaharadesign.com/Tanahara_Design',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.tanaharadesign.com/Tanahara_Design',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(4,new IWSize(102,102),new IWSize(102,0),new IWSize(153,117),27,27,0,new IWSize(16,16)),new IWPhotoFrame([IWCreateImage('Printwork_files/Formal_inset_01.png'),IWCreateImage('Printwork_files/Formal_inset_02.png'),IWCreateImage('Printwork_files/Formal_inset_03.png'),IWCreateImage('Printwork_files/Formal_inset_06.png'),IWCreateImage('Printwork_files/Formal_inset_09.png'),IWCreateImage('Printwork_files/Formal_inset_08.png'),IWCreateImage('Printwork_files/Formal_inset_07.png'),IWCreateImage('Printwork_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:6,offset:new IWPoint(-0.0000,6.0000),color:'#484548',opacity:0.750000}),null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:0,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=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id1(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWEmptyStroke(),shadow_1:new IWShadow({blurRadius:4,offset:new IWPoint(-0.0000,4.0000),color:'#000000',opacity:0.750000}),shadow_5:new IWShadow({blurRadius:6,offset:new IWPoint(-0.0000,6.0000),color:'#3b2105',opacity:0.750000}),shadow_8:new IWShadow({blurRadius:6,offset:new IWPoint(-0.0000,6.0000),color:'#3b2105',opacity:0.750000}),shadow_2:new IWShadow({blurRadius:6,offset:new IWPoint(-0.0000,6.0000),color:'#3b2105',opacity:0.750000}),shadow_4:new IWShadow({blurRadius:6,offset:new IWPoint(-0.0000,6.0000),color:'#3b2105',opacity:0.750000}),shadow_11:new IWShadow({blurRadius:6,offset:new IWPoint(-0.0000,6.0000),color:'#3b2105',opacity:0.750000}),shadow_12:new IWShadow({blurRadius:6,offset:new IWPoint(-0.0000,6.0000),color:'#3b2105',opacity:0.750000}),shadow_13:new IWShadow({blurRadius:10,offset:new IWPoint(-0.0000,6.0000),color:'#484548',opacity:0.750000}),shadow_7:new IWShadow({blurRadius:6,offset:new IWPoint(-0.0000,6.0000),color:'#3b2105',opacity:0.750000}),shadow_10:new IWShadow({blurRadius:6,offset:new IWPoint(-0.0000,6.0000),color:'#3b2105',opacity:0.750000}),shadow_6:new IWShadow({blurRadius:6,offset:new IWPoint(-0.0000,6.0000),color:'#3b2105',opacity:0.750000}),shadow_9:new IWShadow({blurRadius:6,offset:new IWPoint(-0.0000,6.0000),color:'#3b2105',opacity:0.750000}),shadow_3:new IWShadow({blurRadius:6,offset:new IWPoint(-0.0000,6.0000),color:'#3b2105',opacity:0.750000}),shadow_0:new IWShadow({blurRadius:6,offset:new IWPoint(-0.0000,6.0000),color:'#484548',opacity:0.750000})});registry.applyEffects();}
function hostedOnDM()
{return true;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','Media/Photo-Overlay-Movie.png')
loadMozillaCSS('Printwork_files/PrintworkMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
detectBrowser();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');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');fixAllIEPNGs('Media/transparent.gif');Widget.onload();fixupIECSS3Opacity('id13');applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}

