// Created by iWeb 2.0.4 local-build-20100512

function createMediaStream_id3()
{return IWCreatePhotocast("file://localhost/Users/tamarahaight/Documents/3_Sevens_Ranch_Appaloosas_-_Kansas/Bright_Crime_files/rss.xml",false,true);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('file://localhost/Users/tamarahaight/Documents/3_Sevens_Ranch_Appaloosas_-_Kansas',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('file://localhost/Users/tamarahaight/Documents/3_Sevens_Ranch_Appaloosas_-_Kansas',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(5,new IWSize(125,125),new IWSize(125,15),new IWSize(125,155),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,null,null,1.000000,{backgroundColor:'#000000',reflectionHeight:0,reflectionOffset:2,captionHeight:100,fullScreen:1,transitionIndex:2},'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWPhotoFrame([IWCreateImage('Bright_Crime_files/Pinstripe_01.png'),IWCreateImage('Bright_Crime_files/Pinstripe_02.png'),IWCreateImage('Bright_Crime_files/Pinstripe_03.png'),IWCreateImage('Bright_Crime_files/Pinstripe_06.png'),IWCreateImage('Bright_Crime_files/Pinstripe_09.png'),IWCreateImage('Bright_Crime_files/Pinstripe_08.png'),IWCreateImage('Bright_Crime_files/Pinstripe_07.png'),IWCreateImage('Bright_Crime_files/Pinstripe_04.png')],null,2,0.550000,8.000000,8.000000,8.000000,8.000000,23.000000,23.000000,23.000000,23.000000,433.000000,319.000000,433.000000,319.000000,null,null,null,0.100000)});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('Bright_Crime_files/Bright_CrimeMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');fixAllIEPNGs('Media/transparent.gif');IMpreload('Bright_Crime_files','shapeimage_1','0');IMpreload('Bright_Crime_files','shapeimage_2','0');IMpreload('Bright_Crime_files','shapeimage_3','0');IMpreload('Bright_Crime_files','shapeimage_4','0');IMpreload('Bright_Crime_files','shapeimage_5','0');IMpreload('Bright_Crime_files','shapeimage_6','0');IMpreload('Bright_Crime_files','shapeimage_7','0');fixupAllIEPNGBGs();Widget.onload();applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}
