function clear_textbox()
{
	if (document.searchb.SearchString.value == "Type your search here")
	document.searchb.SearchString.value = "";
} 


	 // left nav colapsible tabs
	 // sectionName = main name of section (should be first word of the tab header ID's as well)
	 // sectionSpeed = the speed of the animation (should be a fast open and a slightly slower close)
	function toggleLeftNav(sectionName, sectionSpeed) {
		// open section
		if (document.getElementById(sectionName).style.display != 'none') {
			// hide standard button - show alt button - slide open section (down)
			document.getElementById(sectionName + '-cat-2').style.display = 'none';
			document.getElementById(sectionName + '-cat-1').style.display = 'block';
			Effect.SlideUp(sectionName ,{queue:'end', scaleFrom:100, scaleTo:3, duration:sectionSpeed});
			// close section
			} else {
			// hide alt button - show standard button - slide close section (up)
			document.getElementById(sectionName + '-cat-1').style.display = 'none';
			document.getElementById(sectionName + '-cat-2').style.display = 'block';
			Effect.SlideDown(sectionName ,{queue:'end', scaleFrom:3, scaleTo:100, duration:sectionSpeed});
			}
		}

		function search() {
		    var keyword = document.getElementById("searchInput").value;
		    if (document.forms[0]) {
		        document.forms[0].action = "http://4g-wirelessevolution.tmcnet.com/Search.aspx?keyword=" + keyword;
		        document.forms[0].submit();
		    }
		    else
		        window.location = "http://4g-wirelessevolution.tmcnet.com/Search.aspx?keyword=" + keyword;   
       
}

function gotoENewsletter() {
    document.forms[0].action = "http://4g-wirelessevolution.tmcnet.com/eNewsletterSignup.aspx?Email=" + document.getElementById("txtEmail").value;
    document.forms[0].submit();
}
