// Created by iWeb 3.0.1 local-build-20090611

function createMediaStream_id3()
{return IWCreatePhotocast("http://www.trunkitravels.com/trunkitravels.com/USA_files/rss.xml",true);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.trunkitravels.com/trunkitravels.com',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('http://www.trunkitravels.com/trunkitravels.com',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(3,new IWSize(207,207),new IWSize(207,32),new IWSize(229,254),27,27,0,new IWSize(21,23)),new IWPhotoFrame([IWCreateImage('USA_files/NewTravel_C_TL.png'),IWCreateImage('USA_files/NewTravel_S_T.png'),IWCreateImage('USA_files/NewTravel_C_TR.png'),IWCreateImage('USA_files/NewTravel_S_R.png'),IWCreateImage('USA_files/NewTravel_C_BR.png'),IWCreateImage('USA_files/NewTravel_S_B.png'),IWCreateImage('USA_files/NewTravel_C_BL.png'),IWCreateImage('USA_files/NewTravel_S_L.png')],null,1,0.900000,71.000000,0.000000,62.000000,62.000000,83.000000,9.000000,73.000000,77.000000,8.000000,8.000000,8.000000,9.000000,null,null,null,0.400000),imageStream,range,null,null,1.000000,{backgroundColor:'rgb(0, 0, 0)',reflectionHeight:100,reflectionOffset:2,captionHeight:100,fullScreen:0,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=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_0:new IWShadow({blurRadius:7,offset:new IWPoint(4.1145,5.6631),color:'#000000',opacity:0.110000}),stroke_0:new IWEmptyStroke(),shadow_15:new IWShadow({blurRadius:6,offset:new IWPoint(1.2036,1.5973),color:'#000000',opacity:0.193448}),shadow_6:new IWShadow({blurRadius:7,offset:new IWPoint(4.1145,5.6631),color:'#000000',opacity:0.110000}),shadow_14:new IWShadow({blurRadius:6,offset:new IWPoint(1.2036,1.5973),color:'#000000',opacity:0.193448}),shadow_7:new IWShadow({blurRadius:7,offset:new IWPoint(4.1145,5.6631),color:'#000000',opacity:0.110000}),shadow_13:new IWShadow({blurRadius:6,offset:new IWPoint(1.2036,1.5973),color:'#000000',opacity:0.193448}),shadow_12:new IWShadow({blurRadius:6,offset:new IWPoint(1.2036,1.5973),color:'#000000',opacity:0.193448}),shadow_8:new IWShadow({blurRadius:7,offset:new IWPoint(4.1145,5.6631),color:'#000000',opacity:0.110000}),shadow_9:new IWShadow({blurRadius:7,offset:new IWPoint(4.1145,5.6631),color:'#000000',opacity:0.110000}),shadow_10:new IWShadow({blurRadius:6,offset:new IWPoint(4.2127,5.5904),color:'#000000',opacity:0.193448}),shadow_11:new IWShadow({blurRadius:6,offset:new IWPoint(2.4073,3.1945),color:'#000000',opacity:0.193448}),shadow_2:new IWShadow({blurRadius:7,offset:new IWPoint(4.1145,5.6631),color:'#000000',opacity:0.110000}),shadow_1:new IWShadow({blurRadius:7,offset:new IWPoint(4.1145,5.6631),color:'#000000',opacity:0.110000}),shadow_5:new IWShadow({blurRadius:7,offset:new IWPoint(4.1145,5.6631),color:'#000000',opacity:0.110000}),shadow_3:new IWShadow({blurRadius:7,offset:new IWPoint(4.1145,5.6631),color:'#000000',opacity:0.110000}),shadow_4:new IWShadow({blurRadius:7,offset:new IWPoint(4.1145,5.6631),color:'#000000',opacity:0.110000})});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('USA_files/USAMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');fixAllIEPNGs('Media/transparent.gif');fixupIECSS3Opacity('id1');fixupIECSS3Opacity('id2');Widget.onload();fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}
