	//find out if browser is IE
var agt=navigator.userAgent.toLowerCase();
var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));

// override expand/contract shit
if(is_ie)
	groupcontractsymbol = '<IMG src="http://www.frontalot.com/index.php/images/-all.png">'	
else
	groupcontractsymbol = '<img src="images/-all.png">'
	
if(is_ie)
	groupexpandsymbol = '<IMG src="http://www.frontalot.com/index.php/images/+all.png">'	
else
	groupexpandsymbol = '<img src="images/+all.png">'

var accepted = false;


function accept()
{
	accepted = true;
	setVisibility("osb-checkmark",true);
	return false; 
}
function accepted()
{
	alert(accepted);
	
	if(!accepted)
		return true;
	else
		return false;
}
function download_kit(kit)
{
	if(!accepted)
	{
		alert("MC Frontalot's lawyer looks at you sternly.")
		return false
	}
	else
	{
		window.location = kit
	}
}
function setVisibility2(layerName)
{
	if (!DHTML) return;
	var x = new getObj(layerName);
	x.style.visibility = (!accepted) ? 'visible' : 'hidden';
}

