function confirmLink (theLink, theSqlText, theSqlQuery) {
    if (theSqlText == '' || typeof(window.opera) != 'undefined') {
        return true;
    }

    var is_confirmed = confirm(theSqlText);
    if (is_confirmed) {
        theLink.href += theSqlQuery;
    }

    return is_confirmed;
}

function alltrshow (inDLRno,inTRshow) {
	if (inTRshow > 0) {
		for (var its=1; its <= inTRshow; its++) {
			try {
				document.getElementById('s' + inDLRno + '_' + its).style.display='table-row';
			}  catch(e) {
				document.getElementById('s' + inDLRno + '_' + its).style.display='block';
			}
		}
		document.getElementById('h' + inDLRno).style.display='none';
	}
}
