// check what page we're in
var dirname = document.URL;

//the number in the following line should be the # of characters of the url minus 2
//dirname = dirname.substring(dirname.lastIndexOf("E:/unigene/site/content/")+25);
if (dirname == "index.htm") {
//	document.home.src = "./images/btn_home_on.gif";
}
else if (dirname.search("about") != -1) {
		//alert(dirname);
		$(function(){
		$('#navigation ul li.about a')
		.css({backgroundPosition: '0px 0px'}) //resets the current button to the original position
		.animate('disabled', 'disabled'); //disables the animation on the current button
	});
}
else if (dirname.search("therapeutics") != -1) {
		$(function(){
		$('#navigation ul li.therapeutics a')
		.css({backgroundPosition: '0px 0px'}) //resets the current button to the original position
		.animate('disabled', 'disabled'); //disables the animation on the current button
	});
}
else if (dirname.search("biotechnologies") != -1) {
		$(function(){
		$('#navigation ul li.biotech a')
		.css({backgroundPosition: '0px 0px'}) //resets the current button to the original position
		.animate('disabled', 'disabled'); //disables the animation on the current button
	});
}
else if (dirname.search("investors") != -1) {
		$(function(){
		$('#navigation ul li.investors a')
		.css({backgroundPosition: '0px 0px'}) //resets the current button to the original position
		.animate('disabled', 'disabled'); //disables the animation on the current button
	});
}
else if (dirname.search("partnerships") != -1) {
		$(function(){
		$('#navigation ul li.partnerships a')
		.css({backgroundPosition: '0px 0px'}) //resets the current button to the original position
		.animate('disabled', 'disabled'); //disables the animation on the current button
	});
}
else if (dirname.search("contact") != -1) {
		$(function(){
		$('#navigation ul li.contact a')
		.css({backgroundPosition: '0px 0px'}) //resets the current button to the original position
		.animate('disabled', 'disabled'); //disables the animation on the current button
	});
}



