// Created by iWeb 3.0.1 local-build-20100507

function writeMovie1()
{detectBrowser();if(windowsInternetExplorer)
{document.write('<object id="id7" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="852" height="496" style="height: 480px; left: 153px; position: absolute; top: 2px; width: 852px; z-index: 1; "><param name="src" value="Media/Rosato%20Factory%20Update-2.m4v" /><param name="starttime" value="00:00:01:25.4" /><param name="controller" value="false" /><param name="autoplay" value="true" /><param name="scale" value="tofit" /><param name="volume" value="100" /><param name="loop" value="false" /></object>');}
else if(isiPhone)
{document.write('<object id="id7" type="video/quicktime" width="852" height="496" style="height: 480px; left: 153px; position: absolute; top: 2px; width: 852px; z-index: 1; "><param name="src" value="National_Campign_files/Rosato%20Factory%20Update-6.jpg"/><param name="target" value="myself"/><param name="href" value="../Media/Rosato%20Factory%20Update-2.m4v"/><param name="controller" value="false"/><param name="scale" value="tofit"/></object>');}
else
{document.write('<object id="id7" type="video/quicktime" width="852" height="496" data="Media/Rosato%20Factory%20Update-2.m4v" starttime="00:00:01:25.4" style="height: 480px; left: 153px; position: absolute; top: 2px; width: 852px; z-index: 1; "><param name="src" value="Media/Rosato%20Factory%20Update-2.m4v"/><param name="starttime" value="00:00:01:25.4"/><param name="controller" value="false"/><param name="autoplay" value="true"/><param name="scale" value="tofit"/><param name="volume" value="100"/><param name="loop" value="false"/></object>');}}
function createMediaStream_id10()
{return IWCreatePhotocast("http://www.rosatojewelry.com/Rosato/National_Campign_files/rss.xml",false);}
function initializeMediaStream_id10()
{createMediaStream_id10().load('http://www.rosatojewelry.com/Rosato',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget1'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id10',{pageIndex:0}));});}
function layoutMediaGrid_id10(range)
{createMediaStream_id10().load('http://www.rosatojewelry.com/Rosato',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id10',new IWPhotoGridLayout(6,new IWSize(139,139),new IWSize(139,0),new IWSize(174,154),27,27,0,new IWSize(0,1)),new IWPhotoFrame([IWCreateImage('National_Campign_files/green_linen_ul.png'),IWCreateImage('National_Campign_files/green_linen_top.png'),IWCreateImage('National_Campign_files/green_linen_ur.png'),IWCreateImage('National_Campign_files/green_linen_right.png'),IWCreateImage('National_Campign_files/green_linen_lr.png'),IWCreateImage('National_Campign_files/green_linen_bottom.png'),IWCreateImage('National_Campign_files/green_linen_ll.png'),IWCreateImage('National_Campign_files/green_linen_left.png')],null,0,0.400000,13.000000,12.000000,13.000000,13.000000,15.000000,15.000000,15.000000,15.000000,15.000000,15.000000,15.000000,15.000000,null,null,null,0.400000),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:0,fullScreen:1,transitionIndex:2},'Media/slideshow.html','widget1','widget2','widget3')});}
function relayoutMediaGrid_id10(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id10(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({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('National_Campign_files/National_CampignMoz.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');detectBrowser();adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');NotificationCenter.addObserver(null,relayoutMediaGrid_id10,'RangeChanged','id10')
fixAllIEPNGs('Media/transparent.gif');IMpreload('National_Campign_files','shapeimage_2','0');Widget.onload();fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id10()}
function onPageUnload()
{Widget.onunload();}
