	var actual="Модифицирани нишестета!";
	var link_page = "/pages/modified-starches/";
	actual = "Актуално: <p><a title='"+actual+"' href='" + link_page + "'>"+ actual + "</a></p>";
	var loop_menu = 0;
	
function mov (which) {
	if (which.className != "menuintover") clas=which.className
	else clas="menuint";
	which.className = "menuintover";
	}	
function mout (which) {
	which.className=clas;
	}
	
function movein(which,html_1){
	if (which.className != "menuintover") clas=which.className
	else clas="menuint";
	// loop_menu=1;
	which.className = "menuintover";
	if (document.getElementById)
	document.getElementById("boxdescription").innerHTML=html_1
	else
	boxdescription.innerHTML=html;
	//document.getElementById("boxdescription").innerHTML=clas;
}

function moveout(which){
	which.className=clas;
	if (document.getElementById)
	document.getElementById("boxdescription").innerHTML = actual
	else
	boxdescription.innerHTML=actual
}

function printPage() { 
  if (window.print)
  	if (confirm("Ok за печат")) 
  	{
    	window.print();
  	}
} 
var StayAlive = 80; 
function KillMe(){
setTimeout("self.close()",StayAlive * 1000);
}
function where(where_is)
{
<!--//
			var t=new Date(); 
			if (navigator.appname != 'Netscape') {color= "color="+screen.colorDepth+"&";}
			else {color = "color="+screen.pixelDepth+"&";}
			ref=escape(parent.document.referrer);
			avail = "avail="+t.getTimezoneOffset()+"&";
			res = "res="+screen.width+"x"+screen.height;
			isize = " width='1' height='1' border='0'";
			img = "<img name='img' src='/admin/ip.php?table=visitors&amp;f="+where_is+"&amp;ref="+ref+"&amp;"+color+avail+res+"'"+isize+">";
			document.write(img);
//-->
}
function SwitchMenu(obj,b)
{
	if(document.getElementById)
	{
	var el = document.getElementById(obj);
	var ar = document.getElementById(b).getElementsByTagName("div");
		if(el.style.display != "block")
		{ 
			for (var i=0; i<ar.length; i++)
			{
				if (ar[i].className=="hidden")
				ar[i].style.display = "none";
			}
			el.style.display = "block";
		}
		else
		{
			el.style.display = "none";
		}
	}
}
function preloadimages()
{ var my_images = Array();
for (i=0;i<preloadimages.arguments.length;i++)
	{
		my_images[i]=new Image()
		my_images[i].src=preloadimages.arguments[i]
	}
}
function addBeh () {
	var x = document.getElementById('masterdiv');
	if (!x) return;
	var y = x.getElementsByTagName('dd');
	for (var i=0;i<y.length;i++)
		{
			y[i].className="menuint";
			y[i].onmouseover=ov;
			y[i].onmouseout=ou;
		}
	var y = x.getElementsByTagName('dt');
	for (var i=0;i<y.length;i++) 
		{
			y[i].className="menu4";
			y[i].onmouseover=ov;
			y[i].onmouseout=ou4;
		}
}
function ov () {
	this.className="menuintover";
}
function ou () {
	this.className="menuint";
}
function ou4 () {
	this.className="menu4";
}
