<!-- Begin
function zoubida(retour)
{
	window.open('ClubPics/'+retour.name+'.jpg','Terms','width=600','height=200','top=10','left=20','menubar=no','toolbar=no','status=no')
}
//  End -->


<!-- Begin
function BKS_Popup(URL, WIDTH, HEIGHT) {//fonction de Popup pour les images

timeout = 60; // Close window after __ number of seconds?
// 0 = do not close, anything else = number of seconds
//<!-- Original:  Ronnie T. Moore, Editor -->

/////-----Added to center the popup-----/////
var winLEFT = (screen.width - WIDTH) / 2;
var winTOP = (screen.height - HEIGHT) / 2;
//////--------Ronny----(another one ;-P)---//

//windowprops = "scrollbars=yes,resizable=yes,left=" + winLEFT + ",top=" + winTOP + ",width=" + (WIDTH+50) + ",height=" + (HEIGHT+50);
windowprops = "scrollbars=no,resizable=no,left=" + winLEFT + ",top=" + winTOP + ",width=" + WIDTH + ",height=" + HEIGHT;

text = "<html><head><title>BangkokSpin - This window will close in " + timeout + " seconds.</title>";
text += "<link href=Css/Bkspinclass.css rel=stylesheet type=text/css></head><body bgcolor='black'";
text += " leftmargin=0 topmargin=0 marginwidth=0 marginheight=0";
if (timeout != 0) text +=" onLoad=\"setTimeout('window.close()', " + timeout*1000 + ");\"";
text += "><center><a href=javascript:window.close();><img src='" + URL + "' border=0 ALT='Click here to close the window'";
text += "></a></center></body></html>";

//if (timeout != 0) text +="<br><br>This window will close in " + timeout + " seconds.";

preview = window.open("", "preview", windowprops);
preview.document.open();
preview.document.write(text);
preview.document.close();
}
//  End -->


<!-- Begin
//Preloading function
function loadImages() {
if (document.getElementById) {  // DOM3 = IE5, NS6
document.getElementById('hidepage').style.visibility = 'hidden';
}
else {
if (document.layers) {  // Netscape 4
document.hidepage.visibility = 'hidden';
}
else {  // IE 4
document.all.hidepage.style.visibility = 'hidden';
      }
   }
}
