
//Specify affected tags. Add or remove from list:
var tgs = new Array( 'div','td','tr','font');

//Specify spectrum of different font sizes:
var szs = new Array('80%','90%','100%','140%','180%');
var startSz = 2;

function ts( trgt,inc ) {
	if (!document.getElementById) return
	var d = document,cEl = null,sz = startSz,i,j,cTags;
	
	sz += inc;
	if ( sz < 0 ) sz = 0;
	if ( sz > 4 ) sz = 4;
	startSz = sz;
		
	if ( !( cEl = d.getElementById( trgt ) ) ) cEl = d.getElementsByTagName( trgt )[ 0 ];

	cEl.style.fontSize = szs[ sz ];

	for ( i = 0 ; i < tgs.length ; i++ ) {
		cTags = cEl.getElementsByTagName( tgs[ i ] );
		for ( j = 0 ; j < cTags.length ; j++ ) cTags[ j ].style.fontSize = szs[ sz ];
	}
}
function hOpenWin(theUrl) {
    mWin = window.open(theUrl, 'mDetail', 'height=740,width=778,top=1,left=180,alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=0,location=0,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0', false);
    mWin.focus(true)
}

function OpenBrWindow(theURL, winName, features) {
    window.open(theURL, winName, features);
}

