// Used by all pages for font sizes

var font_sizes = new Array( 100, 110, 120 ); 
var current_font_size = 0;
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 ); }

amazon_ad_tag = "mostgrandadve-21";  
amazon_ad_width = "160";  
amazon_ad_height = "600";  
amazon_ad_logo = "hide";  
amazon_ad_link_target = "new";  
amazon_ad_border = "hide";

google_ad_client = "pub-5769697767758655";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";

/* 
    Thanks to the guys at http://www.htmldog.com/articles/suckerfish/dropdowns/ for this one 
    handles the attaching of hover event to menu items
*/
sfHover = function() {
	var sfEls = document.getElementById("vertNav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

