// Created by iWeb 3.0.1 local-build-20091126

function createMediaStream_id7()
{return IWCreatePhotocast("file://localhost/Users/aaroncrisler/Sites/GospelMusicUpdate/musiccityupdate/gallery_cmaawardsweek/CMAAwards09_files/rss.xml",false);}
function initializeMediaStream_id7()
{createMediaStream_id7().load('file://localhost/Users/aaroncrisler/Sites/GospelMusicUpdate/musiccityupdate/gallery_cmaawardsweek',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget6'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id7',{pageIndex:0}));});}
function layoutMediaGrid_id7(range)
{createMediaStream_id7().load('file://localhost/Users/aaroncrisler/Sites/GospelMusicUpdate/musiccityupdate/gallery_cmaawardsweek',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id7',new IWPhotoGridLayout(3,new IWSize(198,198),new IWSize(198,39),new IWSize(198,252),27,27,0,new IWSize(14,14)),new IWPhotoFrame([IWCreateImage('CMAAwards09_files/Hardcover_bevel_01.png'),IWCreateImage('CMAAwards09_files/Hardcover_bevel_02.png'),IWCreateImage('CMAAwards09_files/Hardcover_bevel_03.png'),IWCreateImage('CMAAwards09_files/Hardcover_bevel_06.png'),IWCreateImage('CMAAwards09_files/Hardcover_bevel_09.png'),IWCreateImage('CMAAwards09_files/Hardcover_bevel_08.png'),IWCreateImage('CMAAwards09_files/Hardcover_bevel_07.png'),IWCreateImage('CMAAwards09_files/Hardcover_bevel_04.png')],null,0,0.400000,0.000000,0.000000,0.000000,0.000000,17.000000,17.000000,17.000000,17.000000,403.000000,295.000000,403.000000,295.000000,null,null,null,0.100000),imageStream,range,new IWShadow({blurRadius:5,offset:new IWPoint(-0.0000,0.0000),color:'#000000',opacity:0.750000}),null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'Media/slideshow.html','widget6','widget7','widget8')});}
function relayoutMediaGrid_id7(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id7(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-5,5,10,114),url:'CMAAwards09_files/stroke.png'},{rect:new IWRect(-5,-5,10,10),url:'CMAAwards09_files/stroke_1.png'},{rect:new IWRect(5,-5,873,10),url:'CMAAwards09_files/stroke_2.png'},{rect:new IWRect(878,-5,10,10),url:'CMAAwards09_files/stroke_3.png'},{rect:new IWRect(878,5,10,114),url:'CMAAwards09_files/stroke_4.png'},{rect:new IWRect(878,119,10,10),url:'CMAAwards09_files/stroke_5.png'},{rect:new IWRect(5,119,873,10),url:'CMAAwards09_files/stroke_6.png'},{rect:new IWRect(-5,119,10,10),url:'CMAAwards09_files/stroke_7.png'}],new IWSize(883,124)),stroke_1:new IWPhotoFrame([IWCreateImage('CMAAwards09_files/GraphPaper_01.png'),IWCreateImage('CMAAwards09_files/GraphPaper_02.png'),IWCreateImage('CMAAwards09_files/GraphPaper_01_1.png'),IWCreateImage('CMAAwards09_files/GraphPaper_01_2.png'),IWCreateImage('CMAAwards09_files/GraphPaper_09.png'),IWCreateImage('CMAAwards09_files/GraphPaper_08.png'),IWCreateImage('CMAAwards09_files/GraphPaper_07.png'),IWCreateImage('CMAAwards09_files/GraphPaper_01_3.png')],null,0,0.600000,90.000000,0.000000,90.000000,0.000000,89.000000,11.000000,89.000000,7.000000,11.000000,11.000000,11.000000,11.000000,'CMAAwards09_files/graphpaper_tape.png',new IWPoint(0.500000,0),new IWSize(155,47),0.300000)});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('CMAAwards09_files/CMAAwards09Moz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');NotificationCenter.addObserver(null,relayoutMediaGrid_id7,'RangeChanged','id7')
adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');fixAllIEPNGs('Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id7()}
function onPageUnload()
{Widget.onunload();}
