var WinWidth = window.parent.innerWidth;
var WinHeight = window.parent.innerHeight;

if (WinHeight / WinWidth < .75)  // set font size by height
	{
	var FontSize = 	Math.round (13 + WinHeight * .005);
	}	

else  // set font size by width
	{ 
	var FontSize = 	Math.round (12.8 + WinWidth * .004);
	}

if (FontSize < 15) {	FontSize = 15;}
if (FontSize > 19) {	FontSize = 19;}

document.write('<style type="text/css">');
document.write('body {font-size: ');
document.write(FontSize);
document.write('px;}</style>');

