createWS();
activateCart();
str=get_var("product");
if (str!="") 
{
	ip=0; nn=0;
	while (ip<=GC && nn==0) 
	{
		if (GKod[ip]==str) {nn=1;pos=ip;}		
		ip=ip+1;
	}
	ip=0; nn=0;
	while (ip<=GrC && nn==0) 
	{
		if (GrP[ip+1]>pos) {nn=1;curCat=ip;}		
		ip=ip+1;
	}
	show();
	plus(0);
}
show();
str=get_var("search");
if (str!="") {document.getElementById("poisk_str").value=decodeURIComponent(str);search();}