// copyright 2008 code mechanic all rights reserved

function swapImage(target,path){
	var imageID = document.images[target].src;
	if (imageID != null){
		document.images[target].src = path;
		return false;
	}
	else{
		return false;
	}
}

function swapBackgroundColor(target,color){
	var backgroundColor = document.getElementById(target).style.backgroundColor;
	if (backgroundColor != null){
		document.getElementById(target).style.backgroundColor = color;
		return false;
	}
	else{
		return false;
	}
}
