function setHtml(param, height, width)
{
	var html_begin = "<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1251\"></head><body topmargin=\"0\" leftmargin=\"0\">";
	var html_end = "</body></html>";
	var newWin = window.open("","","location=0,height=" + height + ",width=" + width + ",toolbar=0,scrollbars=0,dependent=1,titlebar=0,status=0,alwaysRaised");
	newWin.document.writeln(html_begin + "<img src=\"" + param + "\" border=\"0\">" + html_end);
}