function gotopage()
		{
		if(document.getElementById('paging').className=='hidepaging')
		document.getElementById('paging').className='showpaging';
		else if(document.getElementById('paging').className=='showpaging')
		document.getElementById('paging').className='hidepaging';
		}
		function ser(val)
		{
		document.searchs.action="../search.php";
		document.searchs.submit();
		}
	function lookup(inputString) {
		
		if(inputString.length == 0) {
			// Hide the suggestion box.
			$('#suggestions').hide();
		} else {
			$.post("rpc.php", {queryString: ""+inputString+""}, function(data){
				if(data.length >0) {
					$('#suggestions').show();
					$('#autoSuggestionsList').html(data);
				}
			});
		}
	} // lookup
	
	function fill(thisValue) {
		$('#inputString').val(thisValue);
		setTimeout("$('#suggestions').hide();", 200);
	}

function $$(par)
	{	
		return  document.getElementById?document.getElementById(par):(document.all?document.all[par]:false);
 	}
function $$$(par)
	{
		return document.getElementsByTagName(par);
	}

