// Created by iWeb 3.0.1 local-build-20090611

function createMediaStream_id2()
{return IWCreatePhotocast("http://www.trunkitravels.com/trunkitravels.com/Hong_Kong_files/rss.xml",true);}
function initializeMediaStream_id2()
{createMediaStream_id2().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','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://www.trunkitravels.com/trunkitravels.com',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(3,new IWSize(229,229),new IWSize(229,32),new IWSize(229,276),27,27,0,new IWSize(23,24)),new IWPhotoFrame([IWCreateImage('Hong_Kong_files/NewTravel_C_TL.png'),IWCreateImage('Hong_Kong_files/NewTravel_S_T.png'),IWCreateImage('Hong_Kong_files/NewTravel_C_TR.png'),IWCreateImage('Hong_Kong_files/NewTravel_S_R.png'),IWCreateImage('Hong_Kong_files/NewTravel_C_BR.png'),IWCreateImage('Hong_Kong_files/NewTravel_S_B.png'),IWCreateImage('Hong_Kong_files/NewTravel_C_BL.png'),IWCreateImage('Hong_Kong_files/NewTravel_S_L.png')],null,1,1.000000,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_id2(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id2(range);}
function onStubPage()
{var args=window.location.href.toQueryParams();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id2(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_2: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_3:new IWShadow({blurRadius:7,offset:new IWPoint(4.1145,5.6631),color:'#000000',opacity:0.110000}),stroke_0:new IWEmptyStroke(),shadow_9:new IWShadow({blurRadius:6,offset:new IWPoint(4.2127,5.5904),color:'#000000',opacity:0.193448}),shadow_6: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}),shadow_12:new IWShadow({blurRadius:6,offset:new IWPoint(1.2036,1.5973),color:'#000000',opacity:0.193448}),shadow_10:new IWShadow({blurRadius:13,offset:new IWPoint(4.2127,5.5904),color:'#000000',opacity:0.193448}),shadow_0:new IWShadow({blurRadius:7,offset:new IWPoint(4.1145,5.6631),color:'#000000',opacity:0.110000}),shadow_8:new IWShadow({blurRadius:7,offset:new IWPoint(4.1145,5.6631),color:'#000000',opacity:0.110000}),shadow_7: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_14:new IWShadow({blurRadius:6,offset:new IWPoint(1.2036,1.5973),color:'#000000',opacity:0.193448}),shadow_11:new IWShadow({blurRadius:6,offset:new IWPoint(1.2036,1.5973),color:'#000000',opacity:0.193448})});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('Hong_Kong_files/Hong_KongMoz.css')
NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');fixAllIEPNGs('Media/transparent.gif');fixupIECSS3Opacity('id1');Widget.onload();applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}
