// Created by iWeb 3.0.3 local-build-20110810

function createMediaStream_id1()
{return IWCreateMediaCollection("http://www.midlifeauto.com/Midlife_Auto_specializing_in_sales_of_Rare_Muscle_Cars/Retro-MotoX/Retro-MotoX_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.midlifeauto.com/Midlife_Auto_specializing_in_sales_of_Rare_Muscle_Cars/Retro-MotoX',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget9'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://www.midlifeauto.com/Midlife_Auto_specializing_in_sales_of_Rare_Muscle_Cars/Retro-MotoX',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(2,new IWSize(306,230),new IWSize(306,29),new IWSize(340,274),27,27,0,new IWSize(60,62)),new IWPhotoFrame([IWCreateImage('Retro-MotoX_files/kids_ul.png'),IWCreateImage('Retro-MotoX_files/kids_top.jpg'),IWCreateImage('Retro-MotoX_files/kids_ur.png'),IWCreateImage('Retro-MotoX_files/kids_right.png'),IWCreateImage('Retro-MotoX_files/kids_lr.png'),IWCreateImage('Retro-MotoX_files/kids_bottom.png'),IWCreateImage('Retro-MotoX_files/kids_ll.png'),IWCreateImage('Retro-MotoX_files/kids_left.png')],null,0,0.600000,118.000000,0.000000,132.000000,0.000000,174.000000,44.000000,176.000000,58.000000,60.000000,63.000000,60.000000,63.000000,null,null,null,0.300000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget9',null,'widget10',{showTitle:true,showMetric:true})});}
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 IWStrokeParts([{rect:new IWRect(-2,2,4,225),url:'Retro-MotoX_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'Retro-MotoX_files/stroke_1.png'},{rect:new IWRect(2,-2,334,4),url:'Retro-MotoX_files/stroke_2.png'},{rect:new IWRect(336,-2,4,4),url:'Retro-MotoX_files/stroke_3.png'},{rect:new IWRect(336,2,4,225),url:'Retro-MotoX_files/stroke_4.png'},{rect:new IWRect(336,227,4,5),url:'Retro-MotoX_files/stroke_5.png'},{rect:new IWRect(2,227,334,5),url:'Retro-MotoX_files/stroke_6.png'},{rect:new IWRect(-2,227,4,5),url:'Retro-MotoX_files/stroke_7.png'}],new IWSize(338,229)),shadow_0:new IWShadow({blurRadius:16,offset:new IWPoint(-4.4463,12.2160),color:'#000000',opacity:0.750000})});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('Retro-MotoX_files/Retro-MotoXMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}

