//blank
function cBlank() {
	window.open(this.href);
	return false;
}

function setBlank() {
	if(document.getElementsByTagName) {
		var links = document.getElementsByTagName('A');
		for(i = 0; i < links.length; i++) {
			if (links[i].attributes["class"] && links[i].attributes["class"].value.match("blank")) {
						links[i].onclick = cBlank;
			}
		}
	}
}

function windowLoad() {
	setBlank();
}

window.onload = windowLoad;

if (navigator.appName == "Netscape") {
	var getHeight = 'window.innerHeight';
	var str = 'px;';
} else {
	var getHeight = 'document.body.clientHeight';
	var str = "";
}
var height = 0;

function divScroll() {
	window.onresize = divScroll;

	height = eval(getHeight) - 325;
	if (height < 150) height = 150;
	document.getElementById("scroll").style.height = height + str;
}

document.write('<link rel="stylesheet" href="../scroll.css" />');
document.write('<script src="../sm.js" type="text/javascript"></script>');