	function ManageTabPanelDisplay() {
		//
		// Between the parenthesis, list the id's of the div's that 
		//     will be effected when tabs are clicked. List in any 
		//     order. Put the id's in single quotes (apostrophes) 
		//     and separate them with a comma -- all one line.
		//
		var idlist = new Array('tab1focus','tab2focus','tab1ready','tab2ready','content1','content2');
	
		// No other customizations are necessary.
		if(arguments.length < 1) { return; }
		for(var i = 0; i < idlist.length; i++) {
		   var block = false;
		   for(var ii = 0; ii < arguments.length; ii++) {
		      if(idlist[i] == arguments[ii]) {
		         block = true;
		         break;
		      }
		   }
		   if(block) { document.getElementById(idlist[i]).style.display = "block"; }
		   else { document.getElementById(idlist[i]).style.display = "none"; }
		}
	 }
	 
	 function ManageTabPanelDisplay1() {
		//
		// Between the parenthesis, list the id's of the div's that 
		//     will be effected when tabs are clicked. List in any 
		//     order. Put the id's in single quotes (apostrophes) 
		//     and separate them with a comma -- all one line.
		//
		var idlist = new Array('tab3focus','tab4focus','tab3ready','tab4ready','content3','content4');
	
		// No other customizations are necessary.
		if(arguments.length < 1) { return; }
		for(var i = 0; i < idlist.length; i++) {
		   var block = false;
		   for(var ii = 0; ii < arguments.length; ii++) {
		      if(idlist[i] == arguments[ii]) {
		         block = true;
		         break;
		      }
		   }
		   if(block) { document.getElementById(idlist[i]).style.display = "block"; }
		   else { document.getElementById(idlist[i]).style.display = "none"; }
		}
	 }
	 
	 function browse_items(val) {
	 	 var url="av_browse_results.php";
	 	 if(val != "All")
	 	 	 url = url+"?type="+val;
		 document.getElementById("browse_results").innerHTML = '<table><tr><td style="padding-top:75px;">&nbsp;</td></tr><tr><td><img src="indicator.gif" width="16" height="16"></td><td>Loading...</td></tr></table>';
		 var params = '';
    	 var amjax = new Ajax.Updater(
    	 {success: 'browse_results'},url,
    	 {method: 'post', parameters: params,onComplete:displayResult});
	 }
	 
	 function displayResult(request) {
		 document.getElementById("browse_results").innerHTML = request.responseText;
	 }