function search_data(searchval)
{
	return false;
}
function popitup(url)
{
	window.open(url+'?printable=1','pop','height=auto,width=960,scrollbars=1');
}
function showdiv(divid)
{
	document.getElementById(divid).style.display="block";
}
function hidediv(divid)
{
	document.getElementById(divid).style.display="none";
}

function searchData()
{
	var data = document.getElementById('search').value;
	
	if(data=='Enter text to search...'|| data=='')
	{
		alert("Please Enter search keywords");
		return false;
	}
	self.location='search_news.html?search_keys='+data;
}

//Used to call click event of button by pressing enter key
function clickButton(e)
{
	var evt = e ? e : window.event;
	if(evt.keyCode == 13)
	{
		searchData();
	}
}

