function lib_bwcheck() {
	this.ver = navigator.appVersion;
	this.agent = navigator.userAgent;
	this.dom = document.getElementById?1:0;
	this.print = window.print?1:0;
	this.opera5 = this.agent.indexOf("Opera 5")>-1;
	this.ie5 = (this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0; 
	this.ie6 = (this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;
	this.ie4 = (document.all && !this.dom && !this.opera5)?1:0;
	this.ie = this.ie4||this.ie5||this.ie6;
	this.mac = this.agent.indexOf("Mac")>-1;
	this.ns6 = (this.dom && parseInt(this.ver) >= 5) ?1:0; 
	this.ns4 = (document.layers && !this.dom)?1:0;
	this.bw = (this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5);
	return this;
}
var bw = new lib_bwcheck();

function ShowBigImage(lcImageBig,lcComment) {
	if(llImageBigLoaded) {
		llImageBigLoaded = false;
		loImageBig = new Image();
		loImageBig.src = lcImageBig;
		if(loImageBig.height>0 && loImageBig.height != null)
			Loaded();
		else
			loImageBig.onload = Loaded;
	}
	function Loaded() {
		llImageBigLoaded = true;
		lnWidth = loImageBig.width;
		lnHeight = loImageBig.height;
		if(typeof lcComment != "undefined") lnHeight+=60;
		consoleRef = window.open('','popup','width='+lnWidth+',height='+lnHeight+',menubar=0,toolbar=0,status=0,scrollbars=auto,resizable=0');
		consoleRef.document.writeln('<html><head>');
		consoleRef.document.writeln('<title>'+document.title+'</title></head>');
		consoleRef.document.writeln('<body style="margin:0px;padding:0px;">');
		consoleRef.document.writeln('<a href="javascript:close()"><img src="'+loImageBig.src+'" border="0" /></a>');
		if(typeof lcComment != "undefined")
			consoleRef.document.writeln('<div align="center"><font face="Arial" size="2">'+lcComment+'</font></div>');
		consoleRef.document.writeln('</body></html>');
		consoleRef.document.close();
	}
}
var llImageBigLoaded = true;