function popup(mylink, windowname, width, height, scrolls) {
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'resizable=1, width=' + width + ', height=' + height + ', scrollbars=' + scrolls);
return false;
}

function confirmSubmit() {
var agree=confirm("Are you sure you wish to continue?");
if (agree)
	return true ;
else
	return false ;
}

<!--
var rws=10;
var cls=60;
onload=function() {
	var inp=document.getElementsByTagName('input');
	for(c=0;c<inp.length;c++) {
		if(inp[c].value=='Height +') {
			inp[c].onclick=function() {
				hi_increase();
			}
		}
		if(inp[c].value=='Height -') {
			inp[c].onclick=function() {
				hi_decrease();
			}
		}
		if(inp[c].value=='Width +') {
			inp[c].onclick=function() {
				wi_increase();
			}
		}
		if(inp[c].value=='Width -') {
			inp[c].onclick=function() {
				wi_decrease();
			}
		}
	}
}

function hi_increase() {
	rws = rws + 2;
	document.getElementById('txtara').rows=rws;
}

function hi_decrease() {
	if(rws>5) {
		rws = rws - 2;
		document.getElementById('txtara').rows=rws;
	}
}

function wi_increase() {
	cls = cls + 5;
	document.getElementById('txtara').cols=cls;
}

function wi_decrease() {
	if(cls>60) {
		cls = cls - 5;
		document.getElementById('txtara').cols=cls;
	}
}
//-->