function dumpProps(obj) {
	var result = '';
	for (var i in obj) {
		result += obj['nodeName'] + '.' + i + ' = ' + obj[i] + '<br />';
	}
	result += '<hr />';
	return result;
}

function cWinExtA(url, name) {
	var a = cWin(url, name, 800, 600, true, true, true, true, true, true);
}

function cWin(url, name, w, h, resizable, menubar, toolbar, locationbar, statusbar, scrollbars) {
	var menub = (menubar == true) ? 'yes' : 'no';
	var toolb = (toolbar == true) ? 'yes' : 'no'; 
	var resiz = (resizable == true) ? 'yes' : 'no';
	var locationb = (locationbar == true) ? 'yes' : 'no';
	var statusb = (statusbar == true) ? 'yes' : 'no';
	var scrollb = (scrollbars == true) ? 'yes' : 'no';
	
	sReturnedValue = window.open(url,name,'status='+statusb+',width='+w+',height='+h+',resizable='+resiz+',menubar='+menub+',scrollbars='+scrollb+',location='+locationb+',toolbar='+toolb);
	//sReturnedValue.moveTo(160, 160);
}

function ask(str) {
	if (window.confirm(str)) { return true; }
	return false;
}

function setOver(obj, num) {
	obj.style.backgroundImage = 'url(img/menu'+num+'i.gif);';
}
function unsetOver(obj, num) {
	obj.style.backgroundImage = 'url(img/menu'+num+'.gif);';
}

