function novostey_last_news(id)
{	if (id>0)
	{new Ajax.Updater('nov_last_news_box_'+id, '/js/ajax/novostey_ajax_last_news.php', {
parameters: {
rid: id
},
method: 'post'
},
{asynchronous:true, evalScripts:true}
);	}}

function novostey_last_news_notindex(id)
{
	if (id>0)
	{
new Ajax.Updater('last_news_block', '/js/ajax/novostey_ajax_last_news_notindex.php', {
parameters: {
rid: id
},
method: 'post'
},
{asynchronous:true, evalScripts:true}
);
	}
}

function novostey_informers(id)
{	if (id>0)
	{
new Ajax.Updater('nov_informers_box', '/js/ajax/informers.php', {
parameters: {
rid: id
},
method: 'post'
},
{asynchronous:true, evalScripts:true}
);
	}}

function showhide(id){
if (document.getElementById){
obj = document.getElementById(id);
if (obj.style.display == "none"){
obj.style.display = "";
} else {
obj.style.display = "none";
}
}
}

function alertUser(){
alert('Скопировано');
}