function toggle(targetId){
	if (document.getElementById){
	target = document.getElementById(targetId);
		if (target.style.display == "none"){
		target.style.display = "";
		} else {
			target.style.display = "none";
		}
	}
}

function changeStyle() {
	for( var x = 0, ss = getAllSheets(); ss[x]; x++ ) {
		if( ss[x].title ) { ss[x].disabled = true; }
		for( var y = 0; y < arguments.length; y++ ) {
		if( ss[x].title == arguments[y] ) { ss[x].disabled = false; }
} } }

function clearDefault(el) {
	if (el.defaultValue==el.value) el.value = ""
}

function fix_external_links() {
	if (!document.getElementsByTagName) return;
	var anchors = document.getElementsByTagName("a");
	for (var i = 0; i < anchors.length; i++) {
		var anchor = anchors[i];
		if (anchor.getAttribute("rel") && anchor.getAttribute("rel") == "external") {
			anchor.target = "_blank";
		}
	}
}
window.onload = fix_external_links;

