// JavaScript Document
	var actual="Xanthan Gum";
	var link_page = "/pages/xantan.php";
	actual = "Ново: <a title='"+actual+"' href='" + link_page + "'><font color='orangered'>" + actual + "</font></a>";

	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 hidestatus(){
	 window.status=''
	return true
	
 }

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 lite(obj) { 
	if(document.all&&!window.opera) { 
	obj.filters.blendTrans.apply(); 
	obj.filters.blendTrans.play(); 
	}
}
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='a_shop/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 addBehavior() 
{
	var x = document.getElementById('masterdiva');
	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="menu_div";
			y[i].onmouseover=ov;
			y[i].onmouseout=oudiv;
		}
}
function ov () {
	this.className="menuintover";
}
function ou () {
	this.className="menuint";
}
function oudiv () {
	this.className="menu_div";
}