var myrules = {
		'.delete a' : function(element) {
			element.onclick = function() {
				if(confirm("Are you sure you want to delete this? This action cannot be undone.")) {
				return true;
				} else {
				return false;
				}
			}
		},
		'.delete_image a' : function(element) {
			element.onclick = function() {
				if(confirm("Are you sure you want to delete this? This action cannot be undone.")) {
				return true;
				} else {
				return false;
				}
			}
		},
		'.info a' : function(element) {
			element.onclick = function() {
			winPopUp(this.href, "fixed", "600", "860");
			return false;
			}
		},
		'.img_box a' : function(element) {
			element.onclick = function() {
			winPopUp(this.href, "fixed", "500", "500");
			return false;
			}
		}
	};
	
Behaviour.register(myrules);

/////////////////////////////////////////

function complete(which) {
	new Effect.Highlight(which);
}