function open_win(url_add, titlepage, width, height)
{
	window.open(url_add,titlepage,"width=" + width + ",height=" + height + ",menubar=no,resizable=no,status=no,location=no,toolbar=no,scrollbars=yes");
}
function refreshParent() {
window.opener.location.href = window.opener.location.href;

if (window.opener.progressWindow)
	
{
window.opener.progressWindow.close()
}
window.close();
}


function ReverseContentDisplay(d) {
	if(d.length < 1) { return; }
	if(document.getElementById(d).style.display == "none") { 
		document.getElementById(d).style.display = "block"; 
	} else { 
		document.getElementById(d).style.display = "none"; 
	}
}

function showdiv() {
	document.getElementById('newsdetails').style.display = "block"; 
}

function hidediv() {
	document.getElementById('newsdetails').style.display = "none"; 
}