function writeImgTag(code)
{
var cache = document.comment.ckomentar.value;
this.code = code;
document.comment.ckomentar.value = cache +  " [" + code + "]";
document.comment.ckomentar.focus();
}