		function ShowHelp(div, title, desc)
		{
			div.style.display = 'inline';
			div.style.position = 'absolute';
			div.style.width = '170';
			div.style.backgroundColor = 'lightyellow';
			div.style.border = 'dashed 1px black';
			div.style.padding = '10px';
			div.innerHTML = '<b>' + title + '</b><br><br><div style="padding-left:10; padding-right:5">' + desc + '</div>';
		}
		function ShowHelpBig(div, title, desc)
		{
			div.style.display = 'inline';
			div.style.position = 'absolute';
			div.style.width = '340';
			div.style.backgroundColor = 'lightyellow';
			div.style.border = 'dashed 1px black';
			div.style.padding = '10px';
			div.innerHTML = '<b>' + title + '</b><br><br><div style="padding-left:10; padding-right:5">' + desc + '</div>';
		}
		function HideHelp(div)
		{
			div.style.display = 'none';
		}
		
		function GetSchool1(){
			location.href = 'scholarship.aspx?s=3&school=1';
		}
		function GetSchool2(){
			location.href = 'scholarship.aspx?s=3&school=2';
		}
		function GetSchool3(){
			location.href = 'scholarship.aspx?s=3&school=3';
		}
		function GetScholarship(){
			var schno = document.forms[0].elements["schno"].value;
			popup = window.open('https://www.horizoned.com/Letters/rdPage.aspx?rdTemplate=ScholarshipCertificate2&SchNo=' + schno , 'PopupLookup','fullscreen=yes,resizable,scrollbars,left=50,top=50' );
		}
		function SearchSchools(){
			var schno = document.forms[0].elements["searchquery"].value;
			location.href='http://www.careerscholarships.org/SchoolSearch.aspx?SearchQuery=' + schno;
		}
		
		function OpenLookup(idname,table,field)
		{
		 SelectedIndex =window.document.forms[0].elements[idname].selectedIndex; 
		 var formname = document.forms[0].name;
		 var selected = document.forms[0].elements[idname].value;
		 popup = window.open('../schools.aspx?f=' + formname + '&i=' + idname + '&s=' + selected +'&t=' + table +'&fi=' + field , 'PopupLookup','fullscreen=yes,resizable,scrollbars,left=50,top=50' );
   		}
		function selectrow(categoryId,categoryName) 
		{
			var elValue = document.getElementById("<%=AxpDataGrid1DataVal.ClientID%>");
			elValue.value = categoryId;
			var elCategoryName = document.getElementById("<%=FirstName.ClientID%>");
			elCategoryName.value = categoryName;
			var theForm = document.forms[0];
			theForm.submit();
		}
		function SetLookUpResult(formName, id, NewValueId, NewValueText)
		 {
			 eval('var theform = document.' + formName + ';');
			 theform.elements[id].value = NewValueId;
			 //eval('document.getElementById("' + id + 'id").value = "' + NewValueText + '";');
		}