anchor.diff:  			  #customSelection table {
   			    width: 100%;
   			  }
  +			  div#fancyboxwrap{
  +			  	top:120px
  +			  }
   
   			</style>
   			<script>
  +				var showHideSearchClass = ".showHideSearch";
   				var showSearchClass = "showSearch";
   				var hideSearchClass = "hideSearch";
  -				function toggleSearchTable(link) {
  +				function toggleSearchTable() {
   					if ($jq('table.searchTable').is(':visible')) {
   						$jq('table.searchTable').hide();
  -						$jq(link).removeClass(hideSearchClass);
  -						$jq(link).addClass(showSearchClass);
  +						$jq(showHideSearchClass).removeClass(hideSearchClass);
  +						$jq(showHideSearchClass).addClass(showSearchClass);
   					} else {
   						$jq('table.searchTable').show();
  -						$jq(link).addClass(hideSearchClass);
  -						$jq(link).removeClass(showSearchClass);
  +						$jq(showHideSearchClass).addClass(hideSearchClass);
  +						$jq(showHideSearchClass).removeClass(showSearchClass);
   					}
  -				}	
  +				}
  +				function showSearchTable() {
  +					if (!$jq('table.searchTable').is(':visible')) {
  +						$jq('table.searchTable').show();
  +						$jq(showHideSearchClass).addClass(hideSearchClass);
  +						$jq(showHideSearchClass).removeClass(showSearchClass);
  +					}
  +				}				
   				var showClass = "showLink";
   				var hideClass = "hideLink";									
   				function toggleDetails(link) {
  
positive.code: 			    cursor: pointer;
  			  }
  			  .showHideSearch {
  			  	display: inline-block;
  			  	clear: none;
  			    width: 105px;
  			    height: 18px;
  
negative.code: 						$jq("input[name='customGroupByFields']").removeAttr('disabled');
  						$jq("input[name='customDetailFields']").removeAttr('disabled');
  					}
  				} 
  				$jq(document).ready(function() {
  					$jq('a.showHideLink').each(function() { $jq(this).click(function() { toggleDetails(this); })});
  					toggleCustomView($jq("input[name=currentViewIndex]:checked"));
  					$jq.fancybox.setup({ dropshadow : false, overlayShow : false });
  					$jq("#customSelLink").fancybox({
  						'hideOnContentClick' : false,
  						'width:' : 400,
  						'onClosed' : function() { $jq('#onChangeViewClose').click(); },
  						'onStart' : function() { showSearchTable(); }
  						 });
  				});
  			</script>
  