// Created by iWeb 3.0.4 local-build-20111104

function createMediaStream_id1()
{return IWCreateMediaCollection("http://www.jgmdesign.com/JGM_Design/Print_Design/Print_Design_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id1()
{createMediaStream_id1().load('http://www.jgmdesign.com/JGM_Design/Print_Design',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget10'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id1',{pageIndex:0}));});}
function layoutMediaGrid_id1(range)
{createMediaStream_id1().load('http://www.jgmdesign.com/JGM_Design/Print_Design',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id1',new IWPhotoGridLayout(2,new IWSize(195,146),new IWSize(195,28),new IWSize(275,189),27,27,0,new IWSize(29,29)),new IWPhotoFrame([IWCreateImage('Print_Design_files/ul.png'),IWCreateImage('Print_Design_files/top.png'),IWCreateImage('Print_Design_files/ur.png'),IWCreateImage('Print_Design_files/right.png'),IWCreateImage('Print_Design_files/lr.png'),IWCreateImage('Print_Design_files/bottom.png'),IWCreateImage('Print_Design_files/ll.png'),IWCreateImage('Print_Design_files/left.png')],null,0,0.500000,130.000000,10.000000,118.000000,45.000000,147.000000,30.000000,157.000000,83.000000,251.000000,120.000000,260.000000,120.000000,null,null,null,0.300000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget10',null,'widget11',{showTitle:true,showMetric:true})});}
function relayoutMediaGrid_id1(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id1(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id1(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,33),url:'Print_Design_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Print_Design_files/stroke_1.png'},{rect:new IWRect(1,-1,1000,2),url:'Print_Design_files/stroke_2.png'},{rect:new IWRect(1001,-1,2,2),url:'Print_Design_files/stroke_3.png'},{rect:new IWRect(1001,1,2,33),url:'Print_Design_files/stroke_4.png'},{rect:new IWRect(1001,34,2,2),url:'Print_Design_files/stroke_5.png'},{rect:new IWRect(1,34,1000,2),url:'Print_Design_files/stroke_6.png'},{rect:new IWRect(-1,34,2,2),url:'Print_Design_files/stroke_7.png'}],new IWSize(1002,35)),stroke_1:new IWStrokeParts([{rect:new IWRect(-1,1,2,84),url:'Print_Design_files/stroke_8.png'},{rect:new IWRect(-1,-1,2,2),url:'Print_Design_files/stroke_9.png'},{rect:new IWRect(1,-1,68,2),url:'Print_Design_files/stroke_10.png'},{rect:new IWRect(69,-1,2,2),url:'Print_Design_files/stroke_11.png'},{rect:new IWRect(69,1,2,84),url:'Print_Design_files/stroke_12.png'},{rect:new IWRect(69,85,2,3),url:'Print_Design_files/stroke_13.png'},{rect:new IWRect(1,85,68,3),url:'Print_Design_files/stroke_14.png'},{rect:new IWRect(-1,85,2,3),url:'Print_Design_files/stroke_15.png'}],new IWSize(70,86))});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('Print_Design_files/Print_DesignMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id1,'RangeChanged','id1')
adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('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('id11');adjustFontSizeIfTooBig('id11');adjustLineHeightIfTooBig('id12');adjustFontSizeIfTooBig('id12');adjustLineHeightIfTooBig('id13');adjustFontSizeIfTooBig('id13');adjustLineHeightIfTooBig('id14');adjustFontSizeIfTooBig('id14');adjustLineHeightIfTooBig('id15');adjustFontSizeIfTooBig('id15');adjustLineHeightIfTooBig('id16');adjustFontSizeIfTooBig('id16');adjustLineHeightIfTooBig('id17');adjustFontSizeIfTooBig('id17');adjustLineHeightIfTooBig('id18');adjustFontSizeIfTooBig('id18');detectBrowser();adjustLineHeightIfTooBig('id19');adjustFontSizeIfTooBig('id19');adjustLineHeightIfTooBig('id20');adjustFontSizeIfTooBig('id20');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');IMpreload('Print_Design_files','shapeimage_3','0');applyEffects()
initializeMediaStream_id1()}
function onPageUnload()
{Widget.onunload();}

