// Created by iWeb 2.0.2 local-build-20071221

function createMediaStream_id4()
{return IWCreateMediaCollection("http://www.matacanesnl.com/matacanes/Gallery/Gallery_files/rss.xml",false,1,["Aún no hay fotos","%d foto","%d fotos"],["","%d clip","%d clips"]);}
function initializeMediaStream_id4()
{createMediaStream_id4().load('http://www.matacanesnl.com/matacanes/Gallery',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget3'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id4',{pageIndex:0}));});}
function layoutMediaGrid_id4(range)
{createMediaStream_id4().load('http://www.matacanesnl.com/matacanes/Gallery',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id4',new IWPhotoGridLayout(2,new IWSize(303,227),new IWSize(303,32),new IWSize(336,274),27,27,0,new IWSize(16,16)),new IWPhotoFrame([IWCreateImage('Gallery_files/Formal_inset_01.png'),IWCreateImage('Gallery_files/Formal_inset_02.png'),IWCreateImage('Gallery_files/Formal_inset_03.png'),IWCreateImage('Gallery_files/Formal_inset_06.png'),IWCreateImage('Gallery_files/Formal_inset_09.png'),IWCreateImage('Gallery_files/Formal_inset_08.png'),IWCreateImage('Gallery_files/Formal_inset_07.png'),IWCreateImage('Gallery_files/Formal_inset_04.png')],null,0,0.600000,1.000000,1.000000,1.000000,1.000000,14.000000,14.000000,14.000000,14.000000,191.000000,262.000000,191.000000,262.000000,null,null,null,0.100000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget3',null,'widget4',{showTitle:true,showMetric:false})});}
function relayoutMediaGrid_id4(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id4(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id4(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({shadow_4:new IWShadow({blurRadius:2,offset:new IWPoint(-0.2425,-0.9701),color:'#000000',opacity:0.385862}),shadow_1:new IWShadow({blurRadius:2,offset:new IWPoint(-0.2425,-0.9701),color:'#000000',opacity:0.385862}),shadow_3:new IWShadow({blurRadius:2,offset:new IWPoint(-0.2425,-0.9701),color:'#000000',opacity:0.385862}),shadow_2:new IWShadow({blurRadius:2,offset:new IWPoint(-0.2425,-0.9701),color:'#000000',opacity:0.385862}),shadow_0:new IWShadow({blurRadius:2,offset:new IWPoint(-0.2425,-0.9701),color:'#000000',opacity:0.385862})});registry.applyEffects();}
function hostedOnDM()
{return false;}
function onPageLoad()
{IWRegisterNamedImage('comment overlay','../Media/Photo-Overlay-Comment.png')
IWRegisterNamedImage('movie overlay','../Media/Photo-Overlay-Movie.png')
IWRegisterNamedImage('contribution overlay','../Media/Photo-Overlay-Contribution.png')
loadMozillaCSS('Gallery_files/GalleryMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');adjustLineHeightIfTooBig('id3');adjustFontSizeIfTooBig('id3');NotificationCenter.addObserver(null,relayoutMediaGrid_id4,'RangeChanged','id4')
adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');fixAllIEPNGs('../Media/transparent.gif');IMpreload('Gallery_files','shapeimage_3','0');IMpreload('Gallery_files','shapeimage_4','0');IMpreload('Gallery_files','shapeimage_7','0');IMpreload('Gallery_files','shapeimage_8','0');Widget.onload();applyEffects()
initializeMediaStream_id4()}
function onPageUnload()
{Widget.onunload();}
