// Created by iWeb 3.0.4 local-build-20120107

function createMediaStream_id3()
{return IWCreateMediaCollection("http://www.m-hesse.com/www.m-hesse.com/iran/iran_files/rss.xml",false,1,["Enthält noch keine Fotos","%d Foto","%d Fotos"],["","%d Clip","%d Clips"]);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.m-hesse.com/www.m-hesse.com/iran',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget9'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.m-hesse.com/www.m-hesse.com/iran',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(2,new IWSize(215,161),new IWSize(215,31),new IWSize(244,207),27,27,0,new IWSize(16,16)),new IWPhotoFrame([IWCreateImage('iran_files/Formal_inset_01.png'),IWCreateImage('iran_files/Formal_inset_02.png'),IWCreateImage('iran_files/Formal_inset_03.png'),IWCreateImage('iran_files/Formal_inset_06.png'),IWCreateImage('iran_files/Formal_inset_09.png'),IWCreateImage('iran_files/Formal_inset_08.png'),IWCreateImage('iran_files/Formal_inset_07.png'),IWCreateImage('iran_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','widget9',null,'widget10',{showTitle:true,showMetric:true})});}
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({stroke_0:new IWPhotoFrame([IWCreateImage('iran_files/Formal_inset_01_1.png'),IWCreateImage('iran_files/Formal_inset_02_1.png'),IWCreateImage('iran_files/Formal_inset_03_1.png'),IWCreateImage('iran_files/Formal_inset_06_1.png'),IWCreateImage('iran_files/Formal_inset_09_1.png'),IWCreateImage('iran_files/Formal_inset_08_1.png'),IWCreateImage('iran_files/Formal_inset_07_1.png'),IWCreateImage('iran_files/Formal_inset_04_1.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),stroke_2:new IWPhotoFrame([IWCreateImage('iran_files/Formal_inset_01_3.png'),IWCreateImage('iran_files/Formal_inset_02_3.png'),IWCreateImage('iran_files/Formal_inset_03_3.png'),IWCreateImage('iran_files/Formal_inset_06_3.png'),IWCreateImage('iran_files/Formal_inset_09_3.png'),IWCreateImage('iran_files/Formal_inset_08_3.png'),IWCreateImage('iran_files/Formal_inset_07_3.png'),IWCreateImage('iran_files/Formal_inset_04_3.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),shadow_0:new IWShadow({blurRadius:10,offset:new IWPoint(1.4142,1.4142),color:'#000000',opacity:0.750000}),stroke_1:new IWPhotoFrame([IWCreateImage('iran_files/Formal_inset_01_2.png'),IWCreateImage('iran_files/Formal_inset_02_2.png'),IWCreateImage('iran_files/Formal_inset_03_2.png'),IWCreateImage('iran_files/Formal_inset_06_2.png'),IWCreateImage('iran_files/Formal_inset_09_2.png'),IWCreateImage('iran_files/Formal_inset_08_2.png'),IWCreateImage('iran_files/Formal_inset_07_2.png'),IWCreateImage('iran_files/Formal_inset_04_2.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)});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('iran_files/iranMoz.css')
adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');adjustLineHeightIfTooBig('id6');adjustFontSizeIfTooBig('id6');adjustLineHeightIfTooBig('id7');adjustFontSizeIfTooBig('id7');adjustLineHeightIfTooBig('id8');adjustFontSizeIfTooBig('id8');detectBrowser();adjustLineHeightIfTooBig('id9');adjustFontSizeIfTooBig('id9');fixAllIEPNGs('../Media/transparent.gif');Widget.onload();applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}

