var gstrLangLink="http://jpmoto.snadno.cz"
function objGet(x){
if(Boolean(document.getElementById))return document.getElementById(x);
else if(Boolean(document.all))return eval('document.all.'+x);
else if(Boolean(document.ids))return eval('document.ids.'+x);
else return null;}
var gPm=0

function Lsc(nId,nActId,strStock,strCloseOut)
{
 if(objGet('i'+nId)!=null)
	{
		if(objGet('i'+nId).src.indexOf("/images/Plus.gif")>-1)
		{
		window.frames['WinStat'].location.replace(gstrLangLink+'/SubTree.php?kategorie='+nId+'&Act='+nActId+'&stock='+strStock+strCloseOut);
		}else{
		objGet('i'+nId).src="./images/Plus.gif";
		objGet('s'+nId).style.display="none";
		}	
	}
}

