function fnDetect(){
/*
 //-- BROWSER INFO --//
 txt = "Browser CodeName: " + navigator.appCodeName + "\n";
 txt+= "Browser Name: " + navigator.appName + "\n";
 txt+= "Browser Version: " + navigator.appVersion + "\n";
 txt+= "Cookies Enabled: " + navigator.cookieEnabled + "\n";
 txt+= "Platform: " + navigator.platform + "\n";
 txt+= "User-agent header: " + navigator.userAgent + "\n";
 alert(txt);
 //-- BROWSER INFO END --//
*/
/*
 if(navigator.appName=="Microsoft Internet Explorer"){
 
 document.body.style.fontFamily="ieHelveticaBold"; //this font is for all text that has slipped through specific tags

 //-- <H2> TAG --//
 var arr = document.getElementsByTagName('h1');
 for(i=0;i<arr.length;i++) {
	switch(arr[i].getAttribute("name")){	
	 case "h1" : arr[i].style.fontFamily="ieHelveticaBold"; //this font is specifically for h1 tags
	  break;
	}
 }	
 */
  if(navigator.appName=="Microsoft Internet Explorer"){
 
 //document.body.style.fontFamily="ieAvenirHeavy"; //this font is for all text that has slipped through specific tags

 //-- <H2> TAG --//
 var arr = document.getElementsByTagName('div');
 for(i=0;i<arr.length;i++) {

	if(arr[i].getAttribute("name")=="customFont"){	

	  switch(arr[i].style.fontFamily){
	   case "mozAvenirHeavy" : arr[i].style.fontFamily="ieAvenirHeavy"; 	//alert('ieAvenirHeavy: '+arr[i].style.fontFamily);
	    break; 
	   case "mozMrsEavesRoman" : arr[i].style.fontFamily="ieMrsEavesRoman"; 	//alert('ieMrsEavesRoman: '+arr[i].style.fontFamily);
	    break;
	   case "mozMrsEavesAllSmallCaps" : arr[i].style.fontFamily="ieMrsEavesAllSmallCaps";   //alert('ieMrsEavesAllSmallCaps: '+arr[i].style.fontFamily);
	    break;
	  }

	}

 }	


 //-- CLASSES: SUBHEAD, ETC. --//
 /*
 var arr = document.getElementsByTagName('span');
 for(i=0;i<arr.length;i++) {
	switch(arr[i].getAttribute("name")){
	 case "subHead" : arr[i].style.fontFamily="ieHelveticaBold"; //an example of how to replace a variation within a tag
	  break;
	}
 }
 */
			 
 } else { /* =="Netscape" */ }
}
