function show(pNAME,pWIDTH,pHEIGHT)
{
	widthHtml  = parseInt(pWIDTH);
	heightHtml = parseInt(pHEIGHT);
	var win=window.open('','','width=' + widthHtml + ',height=' + heightHtml + ', top=120, left=50')  
	win.document.open()  
	win.document.write('<html><meta http-equiv="Content-Type" content="text/html; charset=windows-1251">\n<title>Lasermaster</title>\n<body bgcolor="#000" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" bottommargin="0" rightmargin="0">\n<img src="'+pNAME+'" border="0">\n</html>')  
	win.document.close()
}  

function showFoto(pNAME,pTITLE,pWIDTH,pHEIGHT)
{
	var win=window.open('','','width=' + pWIDTH + ',height=' + pHEIGHT + ', top=120, left=50')  
	win.document.open()  
	win.document.write('<html><meta http-equiv="Content-Type" content="text/html; charset=windows-1251">\n<title>Lasermaster</title>\n<body bgcolor="#000000" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" bottommargin="0" rightmargin="0">\n<table cellpadding=0 cellspacing=0 height="100%" align=center><tr><td><img src="'+pNAME+'" border="0"></td></tr>\n</html>')  
	win.document.close()
}

function opacity(obj,mode) {
	if(mode) obj.style.filter='alpha(opacity=100)';
	else obj.style.filter='alpha(opacity=40)';
}
