// Created by iWeb 2.0 local-build-20100719

function createMediaStream_id3()
{return IWCreateMediaCollection("http://www.smartkonst.com/Smartkonst/Smartkonst/Smartkonst_files/rss.xml",true,255,["Inga bilder än","%d bild","%d bilder"],["","%d klipp","%d klipp"]);}
function initializeMediaStream_id3()
{createMediaStream_id3().load('http://www.smartkonst.com/Smartkonst/Smartkonst',function(imageStream)
{var entryCount=imageStream.length;var headerView=widgets['widget10'];headerView.setPreferenceForKey(imageStream.length,'entryCount');NotificationCenter.postNotification(new IWNotification('SetPage','id3',{pageIndex:0}));});}
function layoutMediaGrid_id3(range)
{createMediaStream_id3().load('http://www.smartkonst.com/Smartkonst/Smartkonst',function(imageStream)
{if(range==null)
{range=new IWRange(0,imageStream.length);}
IWLayoutPhotoGrid('id3',new IWPhotoGridLayout(3,new IWSize(180,135),new IWSize(180,32),new IWSize(224,182),27,27,0,new IWSize(62,51)),new IWPhotoFrame([IWCreateImage('Smartkonst_files/ul.png'),IWCreateImage('Smartkonst_files/top.png'),IWCreateImage('Smartkonst_files/ur.png'),IWCreateImage('Smartkonst_files/right.png'),IWCreateImage('Smartkonst_files/lr.png'),IWCreateImage('Smartkonst_files/bottom.png'),IWCreateImage('Smartkonst_files/ll.png'),IWCreateImage('Smartkonst_files/left.png')],null,1,0.500000,0.000000,0.000000,0.000000,0.000000,78.000000,46.000000,45.000000,55.000000,300.000000,313.000000,300.000000,313.000000,null,null,null,0.500000),imageStream,range,(null),null,1.000000,null,'../Media/slideshow.html','widget10',null,'widget11',{showTitle:true,showMetric:false})});}
function relayoutMediaGrid_id3(notification)
{var userInfo=notification.userInfo();var range=userInfo['range'];layoutMediaGrid_id3(range);}
function onStubPage()
{var args=getArgs();parent.IWMediaStreamPhotoPageSetMediaStream(createMediaStream_id3(),args.id);}
if(window.stubPage)
{onStubPage();}
setTransparentGifURL('../Media/transparent.gif');function applyEffects()
{var registry=IWCreateEffectRegistry();registry.registerEffects({stroke_0:new IWStrokeParts([{rect:new IWRect(-2,2,4,124),url:'Smartkonst_files/stroke.png'},{rect:new IWRect(-2,-2,4,4),url:'Smartkonst_files/stroke_1.png'},{rect:new IWRect(2,-2,126,4),url:'Smartkonst_files/stroke_2.png'},{rect:new IWRect(128,-2,5,4),url:'Smartkonst_files/stroke_3.png'},{rect:new IWRect(128,2,5,124),url:'Smartkonst_files/stroke_4.png'},{rect:new IWRect(128,126,5,4),url:'Smartkonst_files/stroke_5.png'},{rect:new IWRect(2,126,126,4),url:'Smartkonst_files/stroke_6.png'},{rect:new IWRect(-2,126,4,4),url:'Smartkonst_files/stroke_7.png'}],new IWSize(130,128))});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('Smartkonst_files/SmartkonstMoz.css')
detectBrowser();adjustLineHeightIfTooBig('id1');adjustFontSizeIfTooBig('id1');adjustLineHeightIfTooBig('id2');adjustFontSizeIfTooBig('id2');NotificationCenter.addObserver(null,relayoutMediaGrid_id3,'RangeChanged','id3')
adjustLineHeightIfTooBig('id4');adjustFontSizeIfTooBig('id4');adjustLineHeightIfTooBig('id5');adjustFontSizeIfTooBig('id5');Widget.onload();fixupAllIEPNGBGs();fixAllIEPNGs('../Media/transparent.gif');applyEffects()
initializeMediaStream_id3()}
function onPageUnload()
{Widget.onunload();}
