// check what page we're in
var file = document.URL;
//the number in the following line should be the # of characters of the url minus 2
//file = file.substring(file.lastIndexOf("http://www.studio1440.com/clients/amunix/beta/content")+55);
if (file == "index.htm") {
//	document.home.src = "./images/btn_home_on.gif";
}
else if (file.search("about") != -1) {
		//alert(file);
		$(function(){
		$('#navigation ul li.about a')
		.css({opacity:1,backgroundPosition: '0px -67px'}) //fixes the current button at full opacity
		.animate('disabled', 'disabled'); //disables the animation on the current button
	});
}
else if (file.search("leadership") != -1) {
		$(function(){
		$('#navigation ul li.leadership a')
		.css({opacity:1,backgroundPosition: '0px -67px'}) //fixes the current button at full opacity
		.animate('disabled', 'disabled'); //disables the animation on the current button
	});
}
else if (file.search("technology") != -1) {
		$(function(){
		$('#navigation ul li.technology a')
		.css({opacity:1,backgroundPosition: '0px -67px'}) //fixes the current button at full opacity
		.animate('disabled', 'disabled'); //disables the animation on the current button
	});
}
else if (file.search("partnerships") != -1) {
		$(function(){
		$('#navigation ul li.partnerships a')
		.css({opacity:1,backgroundPosition: '0px -67px'}) //fixes the current button at full opacity
		.animate('disabled', 'disabled'); //disables the animation on the current button
	});
}
else if (file.search("news") != -1) {
		$(function(){
		$('#navigation ul li.news a')
		.css({opacity:1,backgroundPosition: '0px -67px'}) //fixes the current button at full opacity
		.animate('disabled', 'disabled'); //disables the animation on the current button
	});
}



