function msearch()
{
				    var word = document.getElementById("main-search-field").value;
						    murl = "http://mashithantu.com/malayalam-dictionary/nighantu.html?word="+ encodeURIComponent(word);
								    window.open(murl);
}
function gsearch(mal_box_id)
{
				    var word = mal_box_id || document.getElementById("main-search-field").value;
						    
						    gurl = "http://www.google.com/custom?q="+ encodeURIComponent(word)+"&sa=Google+Search&client=pub-5402794822190258&forid=1&ie=UTF-8&oe=UTF-8&cof=GALT%3A%23008000%3BGL%3A1%3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3A336699%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A0000FF%3BGIMP%3A00%0D%0A00FF%3BFORID%3A1&hl=en"; 
								    window.open(gurl);
}

//function gsearch(mal_box_id)
//{
	//			    var word = mal_box_id;//document.getElementById("main-search-field").value;
						    
		//				    gurl = "http://www.google.com/custom?q="+ encodeURIComponent(word)+"&sa=Google+Search&client=pub-5402794822190258&forid=1&ie=UTF-8&oe=UTF-8&cof=GALT%3A%23008000%3BGL%3A1%3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3A336699%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A0000FF%3BGIMP%3A00%0D%0A00FF%3BFORID%3A1&hl=en"; 
			//					    window.open(gurl);
//}
//
function hint_onfocus(t)
function hint_onfocus(t)
{
				       if (t.className=='hint') { t.className = ''; t.value = ''; }
}

function hint_onblur(t)
{
				       if (t.value == '') { t.className = 'hint'; t.value = 'Mashithantu Dictionary Search'; }
}

