function init_page()
{
	if ( ( typeof( NN_reloadPage ) ).toLowerCase() != 'undefined' ) { NN_reloadPage( true ); }
	if ( ( typeof( opacity_init  ) ).toLowerCase() != 'undefined' ) { opacity_init(); }
	if ( ( typeof( set_min_width ) ).toLowerCase() != 'undefined' ) { set_min_width( 'pageWrapper' , 600 ); }
	if ( ( typeof( loadFontSize ) ).toLowerCase() != 'undefined' ) { event_attach( 'onload' , loadFontSize ); }
}

function display_fontsizeicons()
{
	var browser = new browser_detect();
	if ( browser.versionMajor > 4 || !( browser.isIE || browser.isNS ) )
	{
		/* only offer style/font changing to version 5 and later browsers
		 * which have javascript enabled. curiously, if you print this out
		 * in NS4, NS4 breaks for some reason. 
		 */
		document.write('									\
			<p class="fontsize-set">							\
				<a href="#" onclick="setFontSize(0); return false;"			\
					><img src="layout/font_small.gif" width="17" height="21"	\
						alt="Small Font" title="Small Font" class="printHide"	\
				/><\/a>									\
				<a href="#" onclick="setFontSize(1); return false;"			\
					><img src="layout/font_medium.gif" width="17" height="21" 	\
						alt="Medium Font" title="Medium Font" class="printHide"	\
				/><\/a>									\
				<a href="#" onclick="setFontSize(2); return false;"			\
					><img src="layout/font_large.gif" width="17" height="21"	\
						alt="Large Font" title="Large Font" class="printHide"	\
				/><\/a>									\
			<\/p>										\
		');
	}
}

