var ps=0;		//Plus Situation
var ms=0;		//Minus Situation
var fs=10;	//Font Size (initial)

function nToPage(sURL){
	document.getElementById("IFMAIN").contentWindow.navigate(sURL);
	ps=0;
	ms=0;
	fs=10;
	mouseout('minus');
	mouseout('plus');
};

function mouseover(o){
	if (o=='plus'){
		if (ps!=-1){
document.getElementById('plus').className='Plus_HiLite';
		}
	}else if (o=='minus'){
		if (ms!=-1){
document.getElementById('minus').className='Minus_HiLite';
		}
	}else{
		alert('NOT DEFINED');
	}
};

function mouseout(o){
	if (o=='plus'){
		if (ps!=-1){
document.getElementById('plus').className='Plus_Normal';
		}
	}else if (o=='minus'){
		if (ms!=-1){
document.getElementById('minus').className='Minus_Normal';
		}
	}else{
		alert('NOT DEFINED');
	}
};

function mouseclick(o){
	if (o=='plus'){
		if (ps==-1) return;
		ps--;
		ms++;
		if (ps==-1){
document.getElementById('plus').className='Plus_Disabled';
		}
		if (ms!=-1){
document.getElementById('minus').className='Minus_Normal';
		}
		fs+=2;
		var cmd="document.body.style.fontSize='" + fs.toString() + "pt';"
		document.getElementById("IFMAIN").contentWindow.execScript(cmd,"JavaScript");
	}else if (o=='minus'){
		if (ms==-1) return;
		ps++;
		ms--;
		if (ms==-1){
document.getElementById('minus').className='Minus_Disabled';
		}
		if (ps!=-1){
document.getElementById('plus').className='Plus_Normal';
		}
		fs-=2;
		var cmd="document.body.style.fontSize='" + fs.toString() + "pt';"
		document.getElementById("IFMAIN").contentWindow.execScript(cmd,"JavaScript");
	}else{
		alert('NOT DEFINED');
	}
}