// Created by iWeb 3.0.1 local-build-20100728

function createMediaStream_id6()
{return IWCreatePhotocast("http://www.restauranteterra.pt/English/Portuguese_Vegetarian_Dictionary_files/rss.xml",false);}
function initializeMediaStream_id6()
{createMediaStream_id6().load('http://www.restauranteterra.pt/English',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget0'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id6',{pageIndex:0}));});}
function layoutMediaGrid_id6(range)
{createMediaStream_id6().load('http://www.restauranteterra.pt/English',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id6',new IWPhotoGridLayout(5,new IWSize(133,133),new IWSize(133,80),new IWSize(142,228),27,27,0,new IWSize(2,2)),new IWEmptyStroke(),imageStream,range,new IWShadow({blurRadius:5,offset:new IWPoint(0.7071,0.7071),color:'#000000',opacity:0.500000}),null,1.000000,null,'Media/slideshow.html','widget0','widget1','widget2')});}
function relayoutMediaGrid_id6(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id6(range);}
setTransparentGifURL('Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_2:new IWShadow({blurRadius:8,offset:new IWPoint(-2.3390,7.6504),color:'#000000',opacity:0.500000}),shadow_0:new IWShadow({blurRadius:5,offset:new IWPoint(-0.0000,1.0000),color:'#000000',opacity:0.500000}),shadow_1:new IWShadow({blurRadius:10,offset:new IWPoint(4.2426,4.2426),color:'#000000',opacity:0.750000}),stroke_0:new IWStrokeParts([{rect:new IWRect(-1,1,2,117),url:'Portuguese_Vegetarian_Dictionary_files/stroke.png'},{rect:new IWRect(-1,-1,2,2),url:'Portuguese_Vegetarian_Dictionary_files/stroke_1.png'},{rect:new IWRect(1,-1,157,2),url:'Portuguese_Vegetarian_Dictionary_files/stroke_3.png'},{rect:new IWRect(158,-1,2,2),url:'Portuguese_Vegetarian_Dictionary_files/stroke_4.png'},{rect:new IWRect(158,1,2,117),url:'Portuguese_Vegetarian_Dictionary_files/stroke_5.png'},{rect:new IWRect(158,118,2,2),url:'Portuguese_Vegetarian_Dictionary_files/stroke_6.png'},{rect:new IWRect(1,118,157,2),url:'Portuguese_Vegetarian_Dictionary_files/stroke_7.png'},{rect:new IWRect(-1,118,2,2),url:'Portuguese_Vegetarian_Dictionary_files/stroke_8.png'}],new IWSize(159,119))});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('Portuguese_Vegetarian_Dictionary_files/Portuguese_Vegetarian_DictionaryMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');NotificationCenter.addObserver(null,relayoutMediaGrid_id6,'RangeChanged','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');fixupAllIEPNGBGs();fixAllIEPNGs('Media/transparent.gif');IMpreload('Portuguese_Vegetarian_Dictionary_files','shapeimage_10','0');Widget.onload();applyEffects()
initializeMediaStream_id6()}
function onPageUnload()
{Widget.onunload();}
