function showHide(co, co1, message1, message2)
{  
	var oContent = document.getElementById(co);
	var oContent1 = document.getElementById(co1);
	if (!oContent){ return;}
 	if (oContent.style.display == "block" || oContent.style.display == "")
 	{
		oContent.style.display = "none";
		document.getElementById(co1).innerHTML=message1;
	}
	else
	{
		oContent.style.display = "block";
		document.getElementById(co1).innerHTML=message2;
	}
}

	function winopen(_obr,_width,_height,_name) {
		w=0;h=0;s=30;
		w=_width+s;
		h=_height+2*s;
		msg=open("","DisplayWindow","toolbar=no,directories=no,menubar=no,resizable=yes,scrollbars=yes,width="+w+", height="+h);
		msg.document.write("<HTML><HEAD><TITLE>Picture</TITLE></HEAD>");
		msg.document.write("<BODY style='margin:0px;padding:0px' onclick='window.close()'><table><tr><td><img src='styles/web/3D/img/dot.gif' width=1 height=1></td><td><img src='styles/web/3D/img/dot.gif' width="+_width+" height=1></td></tr>");
		msg.document.write("<tr valign=middle><td><img src='styles/web/3D/img/dot.gif' width=1 height="+_height+"></td><td align=center><img border=1 id=obrazok align=center src="+_obr+"></td></tr>");
		msg.document.write("<tr><td></td><td align='center'>"+_name+"</td></tr>");
		msg.document.write("</table></BODY></HTML>");
		msg.document.close();
	}
	
function showOrHide(co)
{  
	var oContent = document.getElementById(co);
 	if (!oContent){ return;}
 	if (oContent.style.display == "block" || oContent.style.display == "")
 	{
		oContent.style.display = "none";		
	}
	else
	{
		oContent.style.display = "block";		
	}
}

