v=11;
if (navigator.userAgent.indexOf('Mozilla/3') != -1) {
v=10;
}
var a='http://ads.rediff.com/RealMedia/ads/';
var RN = new String (Math.random());
var RNS = RN.substring (2, 11);
function da(width, height, posn) {
	var p='www.rediff.com/news-home.htm/1' + RNS + '@' + posn;
	if(v < 11) {
		document.write('<A HREF=' + a + 'click_nx.ads/' + p + '><IMG SRC=' + a + 'adstream_nx.ads/' + p + ' BORDER=0 WIDTH=' + width + ' HEIGHT= ' + height + ' VSPACE=0 HSPACE=0><\/A>');
	} else {
		document.write('<SCRIPT LANGUAGE=JavaScript1.1 SRC=' + a + 'adstream_jx.ads/' + p + '><\/SCRIPT>');
	}
}
function allcatshw()
{
	document.getElementById("allcat").style.display="block";
	document.getElementById("main").style.display="none";
}
function closeMore()
{
	document.getElementById("main").style.display="block";
	document.getElementById("extend").style.display="none";
}
 var bt_array = {"service":"mobile","category":"QI"};
      document.write("<SCRIPT LANGUAGE=\"JavaScript\" TYPE=\"text/javascript\" SRC=\"http://im.rediff.com/uim/common/bt.js\"><\/SCRIPT>");

      function menu (whichMenu,whatState){
	if (document.getElementById)
	{
	document.getElementById(whichMenu).style.visibility = whatState;
	}
	else {document[whichMenu].visibility = whatState;}
}