function NewWindow(url){
	myRef = window.open(url,'mywin','left=20,top=20,width=600,height=500,toolbar=0,resizable=1,scrollbars=1');
	myRef.focus();
}



function getCookie(name) {
	var dCookie = document.cookie;
	var prefix = name + "=";
	var begin = dCookie.indexOf("; " + prefix);
	if (begin == -1) {
		begin = dCookie.indexOf(prefix);
		if (begin !=0) return null;
	}
	else 
		begin += 2;
		var end = dCookie.indexOf(";", begin);
		if (end == -1) end = dCookie.length;
		return unescape(dCookie.substring(begin + prefix.length, end));
}

var aStatus = new Array()

function show(divid)
{
	if (aStatus[divid] == "long") {
		document.getElementById(divid).style.display = "none";
		document.getElementById(divid+"Link").innerHTML = "+";
		aStatus[divid] = "short";
		document.cookie = divid + "=short";
	} else {
		document.getElementById(divid).style.display = "block";
		document.getElementById(divid+"Link").innerHTML = "-";
		aStatus[divid] = "long";
		document.cookie = divid + "=long";
	}
}

function acisemail(prefix){
	document.write('<a href=\"mai' + 'lto:' + prefix + '@' + 'acis' + '.com\">');
}
