function plushus_replace_button(button_node,image_path) {
	
	//Questions about this script? Contact kingcow.com.
	
	button_parent = button_node.parentNode;

	// Create a new image button based on the old one.
	image_button = document.createElement('input');
	image_button.name = button_node.name+'_imgButton'; //the name must be different than the hidden field need for IE, created below.
	image_button.type = 'image';
	image_button.value = button_node.value;
	image_button.src = image_path;
	image_button.style.border='0px';
	
	// A hidden field needs to be create for IE so PHP can recieve the POST value correctly.
	hidden_field = document.createElement('input');
	hidden_field.name = button_node.name;
	hidden_field.type = 'hidden';
	hidden_field.value = button_node.value;
	
	// Insert the new elements and remove the old one.
	button_parent.insertBefore(image_button,button_node)
	button_parent.insertBefore(hidden_field,button_node)
	button_parent.removeChild(button_node);
}