// Created by iWeb 3.0.3 local-build-20110721

function createMediaStream_id2()
{return IWCreateMediaCollection("http://www.lukullus.com.br/Lukullus_German_Cuisine_%26_Bread/Fotos/Fotos_files/rss.xml",true,255,["No photos yet","%d photo","%d photos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id2()
{createMediaStream_id2().load('http://www.lukullus.com.br/Lukullus_German_Cuisine_%26_Bread/Fotos',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget5'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id2',{pageIndex:0}));});}
function layoutMediaGrid_id2(range)
{createMediaStream_id2().load('http://www.lukullus.com.br/Lukullus_German_Cuisine_%26_Bread/Fotos',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id2',new IWPhotoGridLayout(3,new IWSize(174,131),new IWSize(174,34),new IWSize(174,180),27,27,0,new IWSize(37,33)),new IWPhotoFrame([IWCreateImage('Fotos_files/spiralbook-creme_ul.png'),IWCreateImage('Fotos_files/spiralbook-creme_top.png'),IWCreateImage('Fotos_files/spiralbook-creme_ur.png'),IWCreateImage('Fotos_files/spiralbook-creme_right.png'),IWCreateImage('Fotos_files/spiralbook-creme_lr.png'),IWCreateImage('Fotos_files/spiralbook-creme_bottom.png'),IWCreateImage('Fotos_files/spiralbook-creme_ll.png'),IWCreateImage('Fotos_files/spiralbook-creme_left.png')],null,1,0.343275,15.000000,0.000000,0.000000,0.000000,83.000000,40.000000,40.000000,55.000000,106.000000,40.000000,40.000000,32.000000,null,null,null,0.300000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget5',null,'widget6',{showTitle:true,showMetric:false})});}
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({stroke_0:new IWPhotoFrame([IWCreateImage('Fotos_files/Freestyle_01.png'),IWCreateImage('Fotos_files/Freestyle_02.png'),IWCreateImage('Fotos_files/Freestyle_03.png'),IWCreateImage('Fotos_files/Freestyle_06.png'),IWCreateImage('Fotos_files/Freestyle_09.png'),IWCreateImage('Fotos_files/Freestyle_08.png'),IWCreateImage('Fotos_files/Freestyle_07.png'),IWCreateImage('Fotos_files/Freestyle_04.png')],null,2,0.502632,3.000000,3.000000,3.000000,3.000000,22.000000,24.000000,23.000000,25.000000,166.000000,222.000000,166.000000,222.000000,null,null,null,0.100000),stroke_2:new IWEmptyStroke(),stroke_1:new IWStrokeParts([{rect:new IWRect(-6,5,11,38),url:'Fotos_files/stroke.png'},{rect:new IWRect(-5,-5,10,10),url:'Fotos_files/stroke_1.png'},{rect:new IWRect(5,-6,203,11),url:'Fotos_files/stroke_2.png'},{rect:new IWRect(208,-5,10,10),url:'Fotos_files/stroke_3.png'},{rect:new IWRect(208,5,10,38),url:'Fotos_files/stroke_4.png'},{rect:new IWRect(208,43,10,10),url:'Fotos_files/stroke_5.png'},{rect:new IWRect(5,43,203,11),url:'Fotos_files/stroke_6.png'},{rect:new IWRect(-5,43,10,10),url:'Fotos_files/stroke_7.png'}],new IWSize(214,49))});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('Fotos_files/FotosMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');NotificationCenter.addObserver(null,relayoutMediaGrid_id2,'RangeChanged','id2')
adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');fixAllIEPNGs('../Media/transparent.gif');IMpreload('Fotos_files','shapeimage_2','0');IMpreload('Fotos_files','shapeimage_3','0');IMpreload('Fotos_files','shapeimage_4','0');IMpreload('Fotos_files','shapeimage_5','0');IMpreload('Fotos_files','shapeimage_6','0');Widget.onload();fixupAllIEPNGBGs();applyEffects()
initializeMediaStream_id2()}
function onPageUnload()
{Widget.onunload();}

