// Created by iWeb 3.0.4 local-build-20120109

function createMediaStream_id2()
{return IWCreateMediaCollection("http://www.triplessportingsupplies.com/index/Dealer_Show/Dealer_Show_files/rss.xml",false,1,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://www.triplessportingsupplies.com/index/Dealer_Show',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget5'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://www.triplessportingsupplies.com/index/Dealer_Show',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(2,new IWSize(249,187),new IWSize(249,34),new IWSize(309,236),27,27,0,new IWSize(10,14)),new IWPhotoFrame([IWCreateImage('Dealer_Show_files/FormalShadow_01.png'),IWCreateImage('Dealer_Show_files/FormalShadow_02.png'),IWCreateImage('Dealer_Show_files/FormalShadow_03.png'),IWCreateImage('Dealer_Show_files/FormalShadow_06.png'),IWCreateImage('Dealer_Show_files/FormalShadow_12.png'),IWCreateImage('Dealer_Show_files/FormalShadow_11.png'),IWCreateImage('Dealer_Show_files/FormalShadow_10.png'),IWCreateImage('Dealer_Show_files/FormalShadow_04.png')],null,2,0.328947,1.000000,5.000000,1.000000,4.000000,17.000000,17.000000,17.000000,36.000000,4.000000,837.000000,4.000000,837.000000,null,null,null,0.100000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget5',null,'widget6',{showTitle:true,showMetric:false})});}
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();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_2:new IWPhotoFrame([IWCreateImage('Dealer_Show_files/FormalShadow_01_2.png'),IWCreateImage('Dealer_Show_files/FormalShadow_02_2.png'),IWCreateImage('Dealer_Show_files/FormalShadow_03_2.png'),IWCreateImage('Dealer_Show_files/FormalShadow_06_2.png'),IWCreateImage('Dealer_Show_files/FormalShadow_12_2.png'),IWCreateImage('Dealer_Show_files/FormalShadow_11_2.png'),IWCreateImage('Dealer_Show_files/FormalShadow_10_2.png'),IWCreateImage('Dealer_Show_files/FormalShadow_04_2.png')],null,2,0.328947,1.000000,5.000000,1.000000,4.000000,17.000000,17.000000,17.000000,36.000000,4.000000,837.000000,4.000000,837.000000,null,null,null,0.100000),shadow_1:new IWShadow({blurRadius:5,offset:new IWPoint(-0.0000,1.0000),color:'#666666',opacity:0.750000}),stroke_4:new IWPhotoFrame([IWCreateImage('Dealer_Show_files/FormalShadow_01_4.png'),IWCreateImage('Dealer_Show_files/FormalShadow_02_4.png'),IWCreateImage('Dealer_Show_files/FormalShadow_03_4.png'),IWCreateImage('Dealer_Show_files/FormalShadow_06_4.png'),IWCreateImage('Dealer_Show_files/FormalShadow_12_4.png'),IWCreateImage('Dealer_Show_files/FormalShadow_11_4.png'),IWCreateImage('Dealer_Show_files/FormalShadow_10_4.png'),IWCreateImage('Dealer_Show_files/FormalShadow_04_4.png')],null,2,0.328947,1.000000,5.000000,1.000000,4.000000,17.000000,17.000000,17.000000,36.000000,4.000000,837.000000,4.000000,837.000000,null,null,null,0.100000),stroke_3:new IWPhotoFrame([IWCreateImage('Dealer_Show_files/FormalShadow_01_3.png'),IWCreateImage('Dealer_Show_files/FormalShadow_02_3.png'),IWCreateImage('Dealer_Show_files/FormalShadow_03_3.png'),IWCreateImage('Dealer_Show_files/FormalShadow_06_3.png'),IWCreateImage('Dealer_Show_files/FormalShadow_12_3.png'),IWCreateImage('Dealer_Show_files/FormalShadow_11_3.png'),IWCreateImage('Dealer_Show_files/FormalShadow_10_3.png'),IWCreateImage('Dealer_Show_files/FormalShadow_04_3.png')],null,2,0.328947,1.000000,5.000000,1.000000,4.000000,17.000000,17.000000,17.000000,36.000000,4.000000,837.000000,4.000000,837.000000,null,null,null,0.100000),shadow_0:new IWShadow({blurRadius:6,offset:new IWPoint(-0.0000,2.0000),color:'#b3b3b3',opacity:0.760000}),shadow_2:new IWShadow({blurRadius:6,offset:new IWPoint(-0.0000,2.0000),color:'#b3b3b3',opacity:0.760000}),stroke_1:new IWPhotoFrame([IWCreateImage('Dealer_Show_files/FormalShadow_01_1.png'),IWCreateImage('Dealer_Show_files/FormalShadow_02_1.png'),IWCreateImage('Dealer_Show_files/FormalShadow_03_1.png'),IWCreateImage('Dealer_Show_files/FormalShadow_06_1.png'),IWCreateImage('Dealer_Show_files/FormalShadow_12_1.png'),IWCreateImage('Dealer_Show_files/FormalShadow_11_1.png'),IWCreateImage('Dealer_Show_files/FormalShadow_10_1.png'),IWCreateImage('Dealer_Show_files/FormalShadow_04_1.png')],null,2,0.328947,1.000000,5.000000,1.000000,4.000000,17.000000,17.000000,17.000000,36.000000,4.000000,837.000000,4.000000,837.000000,null,null,null,0.100000),stroke_0:new IWEmptyStroke()});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('Dealer_Show_files/Dealer_ShowMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');detectBrowser();adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');fixAllIEPNGs('../Media/transparent.gif');Widget.onload();fixupAllIEPNGBGs();IMpreload('Dealer_Show_files','shapeimage_2','0');IMpreload('Dealer_Show_files','shapeimage_3','0');fixupIECSS3Opacity('id10');applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}

