// Script Source: CodeLifter.com
// Copyright 2003
// Do not remove this notice.
// Adapted bij Bernd Arents
// Copyright 2005/2006

// SETUPS:
// ===============================

// Set the horizontal and vertical position for the popup

PositionX = 75;
PositionY = 75;

// Set autoclose true to have the window close automatically
// Set autoclose false to allow multiple popup windows

var AutoClose = true;
var OffsetURL="http://www.arnhemmodebiennale.com/"

// Do not edit below this line...
// ================================
function popImage(imageURL,imageTitle,imageWIDTH, imageHEIGTH)
  {
  var options='scrollbars=no,statusbar=no,width='+imageWIDTH+',height='+imageHEIGTH+',left='+PositionX+',top='+PositionY;
  imgWin=window.open('about:blank','',options);

  with (imgWin.document)
    {
    writeln('<html><head><title>Loading...</title>');
    writeln('<style>body{margin:0px;}img.x {position:absolute;top:0px;left:0px;}');
    writeln('p.t{position:absolute;top:'+(imageHEIGTH-15)+'px;left:'+(imageWIDTH-245)+'px;font-size=10px;');
    writeln('font-weight=bold;color:#FFFFFF;font-family:verdana,arial,helvetica;text-align:right;</style>');
    writeln('<sc'+'ript>');
    writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln('</sc'+'ript>');
    if (!AutoClose) writeln('</head><body bgcolor=000000 scroll="no" onload="doTitle();self.focus()">')
    else writeln('</head><body bgcolor=000000 scroll="no" onload="doTitle();self.focus()" onblur="self.close()">');

    imageURL=OffsetURL+imageURL;
    writeln('<a href="javascript:window.close()"><img class="x" src='+imageURL+' border=0 galleryimg="no"></a>');
    writeln('</body></html>');
    close();
    }
  }
