var ssar = new Array();
function checksspicture(n)
{
	if (ssar.length > 10)
	{
		return;
	}

	for (var j=0 ; j<ssar.length ; j++)
	{
		if (ssar[j] == n)
		{
			return;
		}
	}

	ssar.push(n);

	if (document && document.images && document.images[n] && document.images[n].fileSize && document.images[n].src.indexOf('noscreenshot')==-1 && document.images[n].fileSize < 700)
	{
		document.images[n].src='/img/noscreenshot.gif';
	}
}
function menuclose(divname)
{
	if (document && document.all && document.all[divname] && document.all[divname].style)
	{
		document.all[divname].style.left = -1000;
		document.all[divname].style.width = 1;
	}
}
function myescape(s)
{
	if (typeof encodeURIComponent == "function")
	{
		// Use JavaScript built-in function
		// IE 5.5+ and Netscape 6+ and Mozilla
		return encodeURIComponent(s);
	}
	return escape(s);
}
function rclck(li,nr) 
{
	if(document && document.images)
	{
		(new Image()).src='/scripts/jump.cgi?ty=gif&nr='+myescape(nr)+'&li='+myescape(li.href)+'&qu='+myescape(document.location.search);
		return true;
	}
}
