function swap(srcName, imgName) {
	var objStr,obj, imgRurl, imgTurl;
	if(document.images) {
	  		objStr = 'document.' + srcName;
      		obj = eval(objStr);
      		imgTurl = imgName;
      		obj.src=imgTurl;
	}
}

function rand(n) {
   return (Math.round(Math.random()*(n-1)));
}

function makeit (num,exception) {
	var browser = navigator.appName;
	var version = parseInt(navigator.appVersion);
	var width;

	width = window.innerWidth;
	if (browser == "Netscape" && version >= '4') {
	//	width = window.innerWidth;
		if (num == 'total') {
			//make sure path to spacer.gif is correct
			space = "<img src=\"../subimages/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=\"../subimages/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;
}

if(document.images) {
  var ImgArray = new Array();
  for (var i = 0; i < 17; i++) {
    ImgArray[i] = new Image();
  }    
/*
	ImgArray[1].src = "images/sf_forces_pop_nav_01_over.gif";
	ImgArray[2].src = "images/sf_forces_pop_nav_02_over.gif";
	ImgArray[3].src = "images/sf_forces_pop_nav_03_over.gif";
	ImgArray[4].src = "images/sf_forces_pop_nav_04_over.gif";
	ImgArray[5].src = "images/sf_forces_pop_snav_01_over.gif";
	ImgArray[6].src = "images/sf_forces_pop_snav_02_over.gif";
	ImgArray[7].src = "images/sf_forces_pop_snav_03_over.gif";
	ImgArray[8].src = "images/sf_forces_pop_snav_04_over.gif";
*/
}

