var tgs = new Array(  'a', 'abbr', 'address', 'area', 'base', 'basefont', 'bdo', 'blockquote', 'button', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'dd', 'div', 'dl', 'dt', 'em', 'fieldset', 'form', 'frame', 'frameset', 'hr', 'i', 'iframe', 'input', 'ins', 'isindex', 'label', 'legend', 'li', 'link', 'map', 'ol', 'optgroup',  'option', 'p', 'param', 'pre', 'q', 's', 'samp', 'select', 'span', 'strike', 'sub', 'sup', 'table', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'tr', 'tt', 'u', 'ul', 'b', 'strong', 'small', 'big', 'h1', 'h2', 'h3', 'h4',  'h5', 'h6', 'small', 'big' );
var szs = new Array( '9px','10px','11px','12px','14px','16px','18px','24px', '36px', '48px' );
var startSz = 3;
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 > 9 ) sz = 9;
	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 ];
	}
}
