// Created by iWeb 3.0.4 local-build-20111107

function createMediaStream_id3()
{return IWCreatePhotocast("http://www.petrosguitars.com/gallery/Petros_Guitars_Gallery/Models/Pages/Yellow_Rose_files/rss.xml",true);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.petrosguitars.com/gallery/Petros_Guitars_Gallery/Models/Pages',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.petrosguitars.com/gallery/Petros_Guitars_Gallery/Models/Pages',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(3,new IWSize(208,208),new IWSize(208,48),new IWSize(254,271),27,27,0,new IWSize(0,0)),new IWEmptyStroke(),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,transitionIndex:2},'../../Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),args.id);}
if(window.stubPage)
{onStubPage();}
function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id11" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="347" height="16"><param name="src" value="../../Media/Yellow%20Rose-6.mp3" /><param name="controller" value="true" /><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id11" type="video/quicktime" width="347" height="16"><param name="src" value="../../Media/Yellow%20Rose-6.mp3"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id11" type="video/quicktime" width="347" height="16" data="../../Media/Yellow%20Rose-6.mp3"><param name="src" value="../../Media/Yellow%20Rose-6.mp3"/><param name="controller" value="true"/><param name="autoplay" value="false"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
function writeMovie2()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id13" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="315" height="16"><param name="src" value="../../Media/A%20Rose%20In%20Spanish%20Harlem%20mix,3%208-28-13.mp3" /><param name="controller" value="true" /><param name="autoplay" value="false" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id13" type="video/quicktime" width="315" height="16"><param name="src" value="../../Media/A%20Rose%20In%20Spanish%20Harlem%20mix,3%208-28-13.mp3"/><param name="controller" value="true"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id13" type="video/quicktime" width="315" height="16" data="../../Media/A%20Rose%20In%20Spanish%20Harlem%20mix,3%208-28-13.mp3"><param name="src" value="../../Media/A%20Rose%20In%20Spanish%20Harlem%20mix,3%208-28-13.mp3"/><param name="controller" value="true"/><param name="autoplay" value="false"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
setTransparentGifURL('../../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,68),url:'Yellow_Rose_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'Yellow_Rose_files/stroke_9.png'},{rect:new IWRect(1,-1,164,2),url:'Yellow_Rose_files/stroke_10.png'},{rect:new IWRect(165,-1,2,2),url:'Yellow_Rose_files/stroke_11.png'},{rect:new IWRect(165,1,2,68),url:'Yellow_Rose_files/stroke_12.png'},{rect:new IWRect(165,69,2,2),url:'Yellow_Rose_files/stroke_13.png'},{rect:new IWRect(1,69,164,2),url:'Yellow_Rose_files/stroke_14.png'},{rect:new IWRect(-1,69,2,2),url:'Yellow_Rose_files/stroke_15.png'}],new IWSize(166,70)),shadow_0:new IWShadow({blurRadius:7,offset:new IWPoint(7.7782,7.7782),color:'#000000',opacity:0.830000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,33),url:'Yellow_Rose_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Yellow_Rose_files/stroke_1.png'},{rect:new IWRect(1,-1,403,2),url:'Yellow_Rose_files/stroke_2.png'},{rect:new IWRect(404,-1,2,2),url:'Yellow_Rose_files/stroke_3.png'},{rect:new IWRect(404,1,2,33),url:'Yellow_Rose_files/stroke_4.png'},{rect:new IWRect(404,34,2,2),url:'Yellow_Rose_files/stroke_5.png'},{rect:new IWRect(1,34,403,2),url:'Yellow_Rose_files/stroke_6.png'},{rect:new IWRect(-1,34,2,2),url:'Yellow_Rose_files/stroke_7.png'}],new IWSize(405,35)),stroke_3:new IWStrokeParts([{rect:new IWRect(-1,1,2,61),url:'Yellow_Rose_files/stroke_24.png'},{rect:new IWRect(-1,-1,2,2),url:'Yellow_Rose_files/stroke_25.png'},{rect:new IWRect(1,-1,212,2),url:'Yellow_Rose_files/stroke_26.png'},{rect:new IWRect(213,-1,2,2),url:'Yellow_Rose_files/stroke_27.png'},{rect:new IWRect(213,1,2,61),url:'Yellow_Rose_files/stroke_28.png'},{rect:new IWRect(213,62,2,2),url:'Yellow_Rose_files/stroke_29.png'},{rect:new IWRect(1,62,212,2),url:'Yellow_Rose_files/stroke_30.png'},{rect:new IWRect(-1,62,2,2),url:'Yellow_Rose_files/stroke_31.png'}],new IWSize(214,63)),shadow_2:new IWShadow({blurRadius:10,offset:new IWPoint(6.3640,6.3640),color:'#000000',opacity:0.870000}),stroke_2:new IWStrokeParts([{rect:new IWRect(-1,1,2,87),url:'Yellow_Rose_files/stroke_16.png'},{rect:new IWRect(-1,-1,2,2),url:'Yellow_Rose_files/stroke_17.png'},{rect:new IWRect(1,-1,199,2),url:'Yellow_Rose_files/stroke_18.png'},{rect:new IWRect(200,-1,2,2),url:'Yellow_Rose_files/stroke_19.png'},{rect:new IWRect(200,1,2,87),url:'Yellow_Rose_files/stroke_20.png'},{rect:new IWRect(200,88,2,2),url:'Yellow_Rose_files/stroke_21.png'},{rect:new IWRect(1,88,199,2),url:'Yellow_Rose_files/stroke_22.png'},{rect:new IWRect(-1,88,2,2),url:'Yellow_Rose_files/stroke_23.png'}],new IWSize(201,89)),shadow_1:new IWShadow({blurRadius:6,offset:new IWPoint(7.0711,7.0711),color:'#000000',opacity:0.960000})});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('Yellow_Rose_files/Yellow_RoseMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');adjustLineHeightIfTooBig('id10');adjustFontSizeIfTooBig('id10');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');adjustLineHeightIfTooBig('id16');adjustFontSizeIfTooBig('id16');adjustLineHeightIfTooBig('id17');adjustFontSizeIfTooBig('id17');fixupAllIEPNGBGs();Widget.onload();fixAllIEPNGs('../../Media/transparent.gif');IMpreload('Yellow_Rose_files','shapeimage_6','0');IMpreload('Yellow_Rose_files','shapeimage_6','1');applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}

