
//<!-- hide this script from old browsers
// This script opens a new browser window and writes
// HTML to display an image with a title and caption
//<!--

// link to print the content ==============================
function printThis(){

if (!window.print){
alert("You need a 4.x browser or better to use this print button!")
return
}
window.print()
}

// link to bookmark the website URL ==============================
function addbookmark()
{
bookmarkurl="http://www.gobulex.be"
bookmarktitle="Gobulex"
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}

// link to pop-upa picture in the site ==============================
function show_photo( pFileName, pTitle, Width, Height) {

// specify window parameters
var winl = (screen.width - Width) / 2;
var wint = (screen.height - Height) / 2;

  photoWin = window.open( "", "photo", "width="+ Width +",height="+ Height +",top="+wint+",left="+winl+",status=no,scrollbars=no,resizable=no,screenX=40,screenY=40");


// wrote content to window
  photoWin.document.write('<html><head><title>' + pTitle + '</title></head>'); 
  photoWin.document.write('<BODY BGCOLOR=#000000 TEXT=#FFFFFF LINK=#FFFFFF VLINK=#FFFFFF topmargin=0 leftmargin=0 marginheight=0 marginwidth=0 onblur=self.close()>');
  photoWin.document.write('<center>');
  photoWin.document.write('<img src="' + pFileName + '"><br>');
  photoWin.document.write('<br>');
  photoWin.document.write('<a href=javascript:top.close()>Close window</a>');
  photoWin.document.write('</center>');
  photoWin.document.write('</font></body></html>');
  photoWin.document.close(); 

// If we are on NetScape, we can bring the window to the front
if (navigator.appName.substring(0,8) == "Netscape") photoWin.focus();

}

// done hiding from old browsers -->
//-->
