// check what page we're in
var file = document.URL;
file = file.substring(file.lastIndexOf("http://www.intradigm.com/content")+30);
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({backgroundPosition: '0px -42px'}) //resets the current button to the original position
		.animate('disabled', 'disabled'); //disables the animation on the current button
	});
}
else if (file.search("therapeuticplatform") != -1) {
		$(function(){
		$('#navigation ul li.therapeuticplatform a')
		.css({backgroundPosition: '0px -42px'}) //resets the current button to the original position
		.animate('disabled', 'disabled'); //disables the animation on the current button
	});
}
else if (file.search("pipeline") != -1) {
		$(function(){
		$('#navigation ul li.pipeline a')
		.css({backgroundPosition: '0px -42px'}) //resets the current button to the original position
		.animate('disabled', 'disabled'); //disables the animation on the current button
	});
}
else if (file.search("intellectualproperty") != -1) {
		$(function(){
		$('#navigation ul li.ip a')
		.css({backgroundPosition: '0px -42px'}) //resets the current button to the original position
		.animate('disabled', 'disabled'); //disables the animation on the current button
	});
}
else if (file.search("collaborations") != -1) {
		$(function(){
		$('#navigation ul li.collaborations a')
		.css({backgroundPosition: '0px -42px'}) //resets the current button to the original position
		.animate('disabled', 'disabled'); //disables the animation on the current button
	});
}
else if (file.search("scienceofrnai") != -1) {
		$(function(){
		$('#navigation ul li.science a')
		.css({backgroundPosition: '0px -42px'}) //resets the current button to the original position
		.animate('disabled', 'disabled'); //disables the animation on the current button
	});
}
else if (file.search("ir") != -1) {
		$(function(){
		$('#navigation ul li.ir a')
		.css({backgroundPosition: '0px -42px'}) //resets the current button to the original position
		.animate('disabled', 'disabled'); //disables the animation on the current button
	});
}
else if (file.search("newsandevents") != -1) {
		$(function(){
		$('#navigation ul li.news a')
		.css({backgroundPosition: '0px -42px'}) //resets the current button to the original position
		.animate('disabled', 'disabled'); //disables the animation on the current button
	});
}

