// Created by iWeb 3.0.1 local-build-20100721

function createMediaStream_id2()
{return IWCreatePhotocast("http://www.tommosser.com/TomMosserArt/Loop_Technique_files/rss.xml",true);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://www.tommosser.com/TomMosserArt',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget2'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://www.tommosser.com/TomMosserArt',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(4,new IWSize(136,136),new IWSize(136,45),new IWSize(163,196),27,27,0,new IWSize(3,3)),new IWPhotoFrame([IWCreateImage('Loop_Technique_files/comic-1_01.png'),IWCreateImage('Loop_Technique_files/comic-1_02.png'),IWCreateImage('Loop_Technique_files/comic-1_03.png'),IWCreateImage('Loop_Technique_files/comic-1_06.png'),IWCreateImage('Loop_Technique_files/comic-1_09.png'),IWCreateImage('Loop_Technique_files/comic-1_08.png'),IWCreateImage('Loop_Technique_files/comic-1_07.png'),IWCreateImage('Loop_Technique_files/comic-1_04.png')],null,0,0.535714,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),imageStream,range,new IWShadow({blurRadius:2,offset:new IWPoint(2.2641,-1.9682),color:'#000000',opacity:0.280000}),null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:2},'Media/slideshow.html','widget2','widget3','widget4')});}
function relayoutMediaGrid_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id2(),args.id);}
if(window.stubPage)
{onStubPage();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id4" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="225" height="185" style="height: 185px; left: 247px; position: absolute; top: 6083px; width: 225px; z-index: 1; "><param name="src" value="Media/mosser.the.LOOP.movie.web..mov" /><param name="starttime" value="00:00:01:25.9" /><param name="controller" value="true" /><param name="autoplay" value="true" /><param name="scale" value="tofit" /><param name="volume" value="24" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id4" type="video/quicktime" width="225" height="185" style="height: 185px; left: 247px; position: absolute; top: 6083px; width: 225px; z-index: 1; "><param name="src" value="Loop_Technique_files/mosser.the.LOOP.movie.web.-1.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/mosser.the.LOOP.movie.web..mov"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id4" type="video/quicktime" width="225" height="185" data="Media/mosser.the.LOOP.movie.web..mov" starttime="00:00:01:25.9" style="height: 185px; left: 247px; position: absolute; top: 6083px; width: 225px; z-index: 1; "><param name="src" value="Media/mosser.the.LOOP.movie.web..mov"/><param name="starttime" value="00:00:01:25.9"/><param name="controller" value="true"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="24"/><param name="loop" value="false"/></object>');}}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_0:new IWShadow({blurRadius:4,offset:new IWPoint(8.4853,8.4853),color:'#000000',opacity:0.500000}),reflection_0:new IWReflection({opacity:0.50,offset:1.00})});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('Loop_Technique_files/Loop_TechniqueMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');detectBrowser();NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');fixupAllIEPNGBGs();Widget.onload();fixAllIEPNGs('Media/transparent.gif');applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}
