<!--
function emoticon(code,nm)
{
   if (code != "")
   {
       var txtarea=document.getElementById(nm);
       code = ' '+code+' ';
       if(document.selection) 
       {alert("OK")
        	txtarea.focus();
	var txtContent = txtarea.value;
	var str = document.selection.createRange();
	if (str.text == "")
	   str.text = code;
	else if(txtContent.indexOf(str.text) != -1)
	   str.text = code + str.text;
	else 
	   txtarea.value = txtContent + code;
       }
       else
	txtarea.value = txtarea.value + code;
   }
}

function CreateBookmarkLink() {

 title = "SuperWoman"; 
 url = "http://www.SuperWoman.su";

	if (window.sidebar) { // Mozilla Firefox Bookmark
		window.sidebar.addPanel(title, url,"");
	} else if( window.external ) { // IE Favorite
		window.external.AddFavorite( url, title); }
	else if(window.opera && window.print) { // Opera Hotlist
		return true; }
}

function change_block_onmain(bname, burl, bimg, bdate, bcatname)
{
    document.getElementById('big_block_header').innerHTML = "<a href='"+burl+"'>"+bname+"</a>";
    document.getElementById('big_img_container').innerHTML = "<a href='"+burl+"'><img src='/blockonmain_pics/big/"+bimg+"' alt='' /></a>";
    document.getElementById('big_block_date').innerHTML = bdate;
    document.getElementById('big_block_theme').innerHTML = bcatname;
}
//--> 




