//test for browser and determine what type of printing instructions 
//should be given 
 var browser = navigator.appName;
 var version = parseInt(navigator.appVersion);
 var platform = navigator.platform;
	if (browser == "Netscape" && version != 3) {
		var msg = '<a href=\"\" class=\"pop\" onclick=\"window.print();return false;\">print window</a> | ';
	} else {
		var msg = '';
	}
	
//Force Tables in  Netscape to go all the way to the right margin
//Pass 'IE' as the second argument to the function if you want to make
//sure IE doesn't put anything in(especially  &nbsp; where a table cell
//is supposed to be only 1px high
		 function makeIt (num,exception) {
 	 		var browser = navigator.appName;
			 var version = parseInt(navigator.appVersion);
			 var width;
			 if (browser == "Netscape" && version >= '4') {
			 	width = window.innerWidth;
			 	if (num == 'total') {
			 		//make sure path to spacer.gif is correct
		 			space = "<img src='../images/spacer.gif' width='" + width +"' height='1'  border='0'  alt='  ' />"; 
		 			return space;
		 		} else if (width <= num) {  
		 			space = '&nbsp;';
		 		} else {
		 			
		 			width = width - num; 
		 			//make sure path to spacer.gif is correct
		 			space = "<img src='../images/spacer.gif' width='" + width +"' height='1'  border='0'  alt='  ' />"; 
		 		}
			 } else if (browser != "Netscape" && num == 'total') {
		 		space = '';
			 } else if (browser !="Netscape" && exception == "IE") {
				space = '';		 	
			 } else {
			 	space = '&nbsp;';
			 }
			 return space;
		}

//Force NN to reload on re-size
 		function fixNN () {
 			var ua = navigator.appName;
			var uanum = parseFloat(navigator.appVersion);
			if (ua == "Netscape" && uanum >= '4.08') {
				location.reload();
			} else {
				return;
			}
		}
