	var fSize      = 1;
	var fontSize   = 10;
	var fontFamily = 'Lucida Grande';

	var colSize=10;
	var subSize=10;

	var	browser = navigator.userAgent.toLowerCase();
	var id = (document.getElementById) ? true : false;
	var others = ((browser.indexOf('opera') != -1) || (browser.indexOf('webtv') != -1) || (browser.indexOf('omniweb') != -1)) ? true : false;
	var IEx = ((browser.indexOf('msie')  != -1) && id && !others) ? true : false;
	var NS6 = ((browser.indexOf('gecko') != -1) && id && !others) ? true : false;

	
function fname(style,id)
{
	var vfontname = document.getElementById(id);
	vfontname.style.fontFamily = style;
}
function fsize(size,unit,id)
{
	var vfontsize = document.getElementById(id);
	vfontsize.style.fontSize = size + unit;
}
function fontSetObj()	{

	if (IEx || NS6)	{
			
		fontObj1=(document.getElementById) ? document.getElementById('main_content') : document.all('main_content');
	}
}

function fontReset()	{
	fontSetObj();
	subSize=10;
	colSize=10;
	fontSize=10;
	fontFamily='Verdana';

	fontObj1.style.fontSize=fontSize + 'px';
	fontObj1.style.fontFamily=fontFamily;
}

function fontBigger()	{
	fontSize = (parseInt(fontSize)+1) +'px';
	subSize = (parseInt(subSize)+1) +'px';
	colSize = (parseInt(colSize)+1) +'px';
	fontSetObj();	
	fontObj1.style.fontSize=subSize;
}
function fontSmaller()	{
	fontSize = (parseInt(fontSize)-1) +'px';
	subSize = (parseInt(subSize)-1) +'px';
	colSize = (parseInt(colSize)-1) +'px';
	fontSetObj();
		
	fontObj1.style.fontSize=subSize;
}
