//<![CDATA[
	var jsmenuval=0;
	var m_ua_arr = new Array("series60", "nokia", "dopod", "hpipaq", "hpipaq", "hp ipaq", "htc",  "i-mate", "lenovo-", "lge-", "lg-", "mot-", "moto", "motorola", "nec-", "o2", "spv-", "palm", "sagem-", "sgh-", "sec-", "sonyericsson", "sch-", "blackberry", "fly", "benq", "bird", "bleu", "panasonic", "philips", "samsung", "sharp",  "spice", "symbian");
	m_UA = (navigator.userAgent).toLowerCase();
	for (x in m_ua_arr){
		if(m_UA.indexOf(m_ua_arr[x]) >= 0){
			window.location = "http://m.in.com/?src=indirect";
		}
	}
	var isMozilla = !(document.all);
	function firefoxAlert() {
		pageTracker._trackPageview("madeAsHomePage" );
		if(navigator.appName!="Microsoft Internet Explorer" && navigator.appName!="Netscape") {
			alert("#");
		}else if(isMozilla){
			alert('#');
		}else{
			document.body.style.behavior='url(#default#homepage)';
			document.body.setHomePage("#");
		}
		return false;
	}
	function submitbug(){
		msgerrorbug = $('#msgerrorbug').val();
		contactnumber = $('#useremailorno').val();
		if (msgerrorbug != '' && contactnumber != ''){
			$.post("/active18/submitbug.php", {'msgerrorbug': msgerrorbug,'contactnumber':contactnumber}, function(data) {	alert(data);
				$('#msgerrorbug').val("");
			});
		}else{
			alert("All fields are compulsary");
			return;
		}
		$('#tellusreport').hide();
	}
	function tmenuover(a){for(var i=1; i<=9; i++){if(i == a){document.getElementById('tmenu'+i).className = "hmenuact";document.getElementById('imenu'+i).className = "hmenuh hmenu"+i;document.getElementById('smenu'+i).style.display = "block";}else{document.getElementById('tmenu'+i).className = "hmenunact";document.getElementById('imenu'+i).className = "hmenun hmenu"+i;document.getElementById('smenu'+i).style.display = "none";}}}
	function tmenuout(a){document.getElementById('tmenu'+a).className = "hmenunact";document.getElementById('imenu'+a).className = "hmenun hmenu"+a;document.getElementById('smenu'+a).style.display = "none";}
	function watermark(){
		if(document.getElementById('watermark_id').value =='') 
			document.getElementById('watermark_id').className='input3';
		else
			document.getElementById('watermark_id').className='input4';				
	}
	function watermark2(){
		if(document.getElementById('abc').value =='') 
			document.getElementById('abc').className='input1';
		else
		document.getElementById('abc').className='input2';				
	}
 //]]>

