function CheckDelete(url) {
	if (confirm("Are you sure?")) {
		window.open(url,"_self");
	}
}
function changeVisibility(pid) {
	if (document.getElementById(pid).style.visibility == "hidden") {
		document.getElementById(pid).style.visibility = "visible";
		document.getElementById(pid).style.position = "relative";
	 } else {
		document.getElementById(pid).style.visibility = "hidden";
		document.getElementById(pid).style.position = "absolute";
	}
}

function openWindow(url) {
	window.open(url,"nood_comment","height=400,width=500,top=100,left=100,location=no,menubar=no,toolbar=no");
}

function item_focus(item) {
	item.value = "";
	item.style.color = "#000000";
}
function item_blur(item,str) {
	item.value = str;
	item.style.color = "#666666";
}
initPage = function() {
	        /*if (_editor_load == true) {
	        		HTMLArea.replaceAllClass('editor');
	        }*/
			Nifty("div.menu,div.menu a,div.submenu,div.subtitle,td.subtitle,div.commentheader");
        }
window.onload=initPage;

