function parseQueryString() {
	document._QUERY = new Array();

	nvPairs = document.location.href.substring(document.location.href.indexOf('/site/')+6).split('/');
	for (i=0; i<nvPairs.length; i++) {
		seperatorPos = nvPairs[i].indexOf('=');
		if (seperatorPos > 0) {
			key = nvPairs[i].substring(0,seperatorPos);
			value = nvPairs[i].substring(seperatorPos+1,nvPairs[i].length);
			document._QUERY[key] = value;
		}
	}
}

function popup(url, windowwidth, windowheight) {
	var y = parseInt((window.screen.availWidth - windowwidth)/2);
	var x = parseInt(((window.screen.availHeight - windowheight)/2) * .9);
	eval("detailswindow \= open\(url, \"details\", \"screenX="+x+", screenY="+y+", top="+x+", left="+y+", toolbar=yes, location=yes, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width="+windowwidth+", height="+windowheight+"\")");
}

function showHide(obj) {
	if (obj.style.display != 'block') {
		obj.style.display = 'block';
	} else {
		obj.style.display = 'none';
	}
}
