/***
 * MD-Pro Content Management System
 * 
 * @copyright	2003-2004 by the MaxDev Development Team (Link: http://www.maxdev.com/)
 * @license 	GNU Public License http://opensource.org/licenses/gpl-license.php
 *
 * @package		core/javascript
 *
 * @version		$Id: plus_minus_switch.js,v 1.1 2004/09/01 01:37:09 angelspike Exp $
 *
 * Please READ the Docs/credits.txt file for complete credits list
 * Please READ carefully the Docs/License.txt file for further license details
 *
 **/

function xswitch(listID) {
	if(listID.style.display=="none") {
		listID.style.display="";
	} else {
		listID.style.display="none";
	}
}

function icoswitch(icoID, theme_name) {
	if(icoID.src == theme_name + "/images/minus.gif") {
		icoID.src = theme_name + "/images/plus.gif";
	} else {
		icoID.src = theme_name + "/images/minus.gif";  
	}
}            