function goTo(url,getIndex){
	if(getIndex==0){
		document.location.href = '/astrapak_ar_2007/html/'+url;
	}
	if(getIndex==1){
		document.location.href = url;
	}
	  
}

function changeColor(menu,check,checkFont){

var onColor  = '#FFFFFF';
var outColor = '#00407A';


	if(check==1){
		menu.style.backgroundColor='#DFDCD7';
  
			if(checkFont==1){
				menu1.style.color= onColor;
				menu1.style.textDecoration ='underline';
				bg_image.style.backgroundImage='url(/sasol_sf_2007/images/topframe/topmenu_side.gif)';

			}
			if(checkFont==2){
				menu2.style.color= onColor;
				menu2.style.textDecoration ='underline';
			}
			if(checkFont==3){
				menu3.style.color= onColor;
				menu3.style.textDecoration ='underline';
			}
			if(checkFont==4){
				menu4.style.color= onColor;
				menu4.style.textDecoration ='underline';
			}
			if(checkFont==5){
				menu5.style.color= onColor;
				menu5.style.textDecoration ='underline';
			}
			if(checkFont==6){
				menu6.style.color= onColor;
				menu6.style.textDecoration ='underline';
			}
			if(checkFont==7){
				menu7.style.color= onColor;
				menu7.style.textDecoration ='underline';
			}
			if(checkFont==8){
				menu8.style.color= onColor;
				menu8.style.textDecoration ='underline';
			}
			
	}
	if(check==0){
	
		menu.style.backgroundColor='#FFFFFF';
	        
			if(checkFont==1){
				menu1.style.color= outColor;
				menu1.style.textDecoration ='none';
				bg_image.style.backgroundImage='url(/sasol_sf_2007/images/topframe/topmenu_side_2.gif)';

			}
			if(checkFont==2){
				menu2.style.color= outColor;
				menu2.style.textDecoration ='none';
			}
			if(checkFont==3){
				menu3.style.color= outColor;
				menu3.style.textDecoration ='none';
			}
			if(checkFont==4){
				menu4.style.color= outColor;
				menu4.style.textDecoration ='none';
			}
			if(checkFont==5){
				menu5.style.color= outColor;
				menu5.style.textDecoration ='none';
			}
			if(checkFont==6){
				menu6.style.color= outColor;
				menu6.style.textDecoration ='none';
			}
			if(checkFont==7){
				menu7.style.color= outColor;
				menu7.style.textDecoration ='none';
			}
			if(checkFont==8){
				menu8.style.color= outColor;
				menu8.style.textDecoration ='none';
			}
	}
}