
function newwin(){
newWin=window.open( '','smWin','toolbar=no,location=no,directories=no,status=no,scrollbars=no,menubar=no,resizable=no,width=450,height=350');
newWin.focus();
}

function legalwin(){
newWin=window.open( '','smWin','toolbar=no,location=no,directories=no,status=no,scrollbars=yes,menubar=no,resizable=no,width=542,height=350');
newWin.focus();
}

function openWin(internalURL,w,h) {
	internalName = 'win';
	var internalW = 640;
	var internalH = 480;
	if (w != undefined) {
		internalW = w;
	}
	if (h != undefined) {
		internalH = h;
	}
	internalArgs = 'scrollbars,resizable,toolbar,status,width=' + internalW + ',height=' + internalH + ',left=50,top=50';
	popupWin = window.open(internalURL,internalName,internalArgs);
 	popupWin.focus();
}

/*  highlights the given item  */
function liteon(obj) {
		obj.className = "highlightblock";
}

/*  dehighlights the given item  */
function liteoff(obj) {
		obj.className = "highlightblockOff";
}

/*  goto given location  */
function forward(loc) {
		location.href = loc;
}
