// Buttons hover and click effects

var imagePath="images/";

function hover(obj){
	var width=obj.getAttribute("w", true);
	var url=imagePath+'buttonActivated_'+width+'.gif';
	obj.style.backgroundImage='url('+url+')';
	obj.style.cursor='pointer';
}
function down(obj) {
	var width=obj.getAttribute("w", true);
	var url=imagePath+'buttonSelected_'+width+'.gif';
	obj.style.backgroundImage='url('+url+')';	
} 
function out(obj) {
	var width=obj.getAttribute("w", true);
	var url=imagePath+'button_'+width+'.gif';
	obj.style.backgroundImage='url('+url+')';	
}




function hover36(obj) {
	obj.style.backgroundImage='url('+imagePath+'buttonActivated_36.gif)';
	obj.style.cursor='pointer';
}
function down36(obj) {
	obj.style.backgroundImage='url('+imagePath+'buttonSelected_36.gif)';
} 
function out36(obj) {
	obj.style.backgroundImage='url('+imagePath+'button_36.gif)';
}

function hover57(obj) {
	obj.style.backgroundImage='url('+imagePath+'buttonActivated_57.gif)';
	obj.style.cursor='pointer';
}
function down57(obj) {
	obj.style.backgroundImage='url('+imagePath+'buttonSelected_57.gif)';
} 
function out57(obj) {
	obj.style.backgroundImage='url('+imagePath+'button_57.gif)';
}

function hoverSmall57(obj) {
	obj.style.backgroundImage='url('+imagePath+'buttonSmallActivated_57.gif)';
	obj.style.cursor='pointer';
}
function downSmall57(obj) {
	obj.style.backgroundImage='url('+imagePath+'buttonSmallSelected_57.gif)';
} 
function outSmall57(obj) {
	obj.style.backgroundImage='url('+imagePath+'buttonSmall_57.gif)';
}
function hoverSmallNoBg57(obj) {
	obj.style.backgroundImage='url('+imagePath+'buttonSmallActivated_noBg_57.gif)';
	obj.style.cursor='pointer';
}
function downSmallNoBg57(obj) {
	obj.style.backgroundImage='url('+imagePath+'buttonSmallSelected_noBg_57.gif)';
} 

function outSmallNoBg57(obj) {
	obj.style.backgroundImage='url('+imagePath+'buttonSmall_noBg_57.gif)';
}

function hover72(obj) {
	obj.style.backgroundImage='url('+imagePath+'buttonActivated_72.gif)';
	obj.style.cursor='pointer';
}
function down72(obj) {
	obj.style.backgroundImage='url('+imagePath+'buttonSelected_72.gif)';
} 
function out72(obj) {
	obj.style.backgroundImage='url('+imagePath+'button_72.gif)';
}

function hover100(obj) {
	obj.style.backgroundImage='url('+imagePath+'buttonActivated_100.gif)';
	obj.style.cursor='pointer';
}
function down100(obj) {
	obj.style.backgroundImage='url('+imagePath+'buttonSelected_100.gif)';
} 
function out100(obj) {
	obj.style.backgroundImage='url('+imagePath+'button_100.gif)';
}
function hover120(obj) {
	obj.style.backgroundImage='url('+imagePath+'buttonActivated_120.gif)';
	obj.style.cursor='pointer';
}
function down120(obj) {
	obj.style.backgroundImage='url('+imagePath+'buttonSelected_120.gif)';
} 
function out120(obj) {
	obj.style.backgroundImage='url('+imagePath+'button_120.gif)';
}
function hover140(obj) {
	obj.style.backgroundImage='url('+imagePath+'buttonActivated_140.gif)';
	obj.style.cursor='pointer';
}
function down140(obj) {
	obj.style.backgroundImage='url('+imagePath+'buttonSelected_140.gif)';
} 
function out140(obj) {
	obj.style.backgroundImage='url('+imagePath+'button_140.gif)';
}


