var bName = navigator.appName;
var bVer = parseInt(navigator.appVersion);
var NS4 = (bName == "Netscape" && bVer >= 4);
var IE4 = (bName == "Microsoft Internet Explorer" && bVer >= 4);
	

function ColorOn (id,mycolor){

 if (!mycolor) { mycolor = '#FFCC00' };
   
	if (NS4) {
      		eval ('window.document.' + id + '.Color = \'' + mycolor + '\'');
            eval('window.document.'+id+'.className="over"');
    } else if (IE4) { 
       		eval (id + '.style.color = \'' + mycolor + '\'');
            eval(id + '.className="over"');
	} 
} 
     
function ColorOff (id){
   
 if (NS4) {
        eval ('window.document.'+ id + '.Color = null');
        eval('window.document.'+id+'.className=""');
 
 } else if (IE4) { 
 		eval (id + '.style.color = \'\'');
        eval(id + '.className=""');
 } 
}

function LangS(sel) {
var filename=location.pathname.substring(location.pathname.lastIndexOf('/')+1);
var site = "http://www.gbfconsulting.com/"; 
 	if (NS4) {
	   alert(filename);
	}
	else if (IE4) {	  
		 if (sel == "en") {
		 	  var new_location = filename.substring(0,filename.lastIndexOf('_')) + ".html";
			  location = new_location;
	     }
		 else {
		 	   var new_location = filename.substring(0,filename.lastIndexOf('.')) + "_bg.html";
			   location= new_location;
		}
    }
}
