var searchfield = '';
	function DisplaySortBy(strcol){
		
		if (strcol == document.form1.txtSortBy.value){
			document.form1.txtSortBy.value = strcol + ' Desc';
		}else{
			document.form1.txtSortBy.value = strcol;
		}
		searchfield = document.form1.txtSortBy.value;
		RefreshPageForSorting(searchfield); //this function be include in all page... even this can ne blank function 
	}
	
	function Arrowimage(iCol){
		var frm = document.form1
		alert(frm.txtSortBy.value);
	}

	function GetArrowimage(StrCol,Desc){
		var xy;
		var homeurl = 'http://www.momentuminfocare.com';
		for (xy=0; xy < ArrSortBy.length; xy++){
			if (ArrSortBy[xy] == StrCol){
				if (Desc==0){
					document.form1.ImgArrow[xy].src=homeurl+'/images/downarrow.gif';	
				}else{
					document.form1.ImgArrow[xy].src=homeurl+'/images/uparrow.gif';	
				}
			}else{
				document.form1.ImgArrow[xy].src=homeurl+'/images/trans_10x10.gif';
			}
		}
	}