
function openURL(URL)
{
	newWindow=window.open(URL,"xixi","toolbar=no,menubar=no,location=no,status=no,resizable=yes,scrollbars=yes");
//	window.open(URL,"xixi","height=460,width=450,top=50,left=160,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no");
	newWindow.focus();
	return true;
}

function goURL(URL,msg)
{
//	if (event.button == 2 || event.button == 3) return true;
	if (msg&&msg!=''){
		if (!confirm(msg)) return true;
	}
	location = URL;
	return true;
}

function loadURL(URL,msg)
{
	if (msg&&msg!=''){
		if (!confirm(msg)) return false;
	}
	jsform.src=URL;
	return true;
}

function msout(){
	this.style.backgroundColor = "#F6F6F6";
	this.style.color = "#666666";
	return true;
}

function msover(){
	this.style.backgroundColor = "#CCCCCC";
	this.style.color = "#FFFFFF";
	return true;
}

function setPointer(theRow, theColor)
{
	var theCells = null;
//	theRow.style.cursor='hand';
	if (typeof(document.getElementsByTagName) != 'undefined') {
		theCells = theRow.getElementsByTagName('td');
	}
	else if (typeof(theRow.cells) != 'undefined') {
		theCells = theRow.cells;
	}
	else {
		return false;
	}
	var rowCellsCnt = theCells.length;
	var domDetect = null;
	if (typeof(window.opera) == 'undefined' && typeof(theCells[0].getAttribute) != 'undefined') {
		domDetect = true;
	}
	else {
		domDetect = false;
	}
        var c = null;
	if (domDetect) {
		for (c = 0; c < rowCellsCnt; c++) {
			theCells[c].setAttribute('bgcolor', theColor, 0);
		}
	}
	else {
		for (c = 0; c < rowCellsCnt; c++) {
			theCells[c].style.backgroundColor = theColor;
		}
	}
	return true;
}

