// JavaScript Document

function swCats(catId) 
{ 
	var el = document.getElementById(catId);
	
	if(el.className.match("one"))
	{
		//Effect.BlindDown("slide"+catId, {duration: 1 });
		new Effect.toggle($("slide"+catId),'blind');
		document.getElementById(catId).className = "two";
	}
	else
	{
		//Effect.BlindUp("slide"+catId, {duration: 1});
		new Effect.toggle($("slide"+catId),'blind');
		document.getElementById(catId).className = "one";
	}
}

function setFo()
{
	document.getElementById("sfo").value="fom";
}


function WinOpen(url)
{
		window.open(url,"Window" + Math.round(Math.random()*10000)+1,'scrollbars=yes,width=680,height=540')
}

function lnkType(url) 
{
  if (!document.getElementsByTagName) return false;

	(new Image()).src = "/extclck.php?url="+encodeURI(url); 

 	return true;

}