// Map of Properties Javascript
// Created by Henry Woodbury, Dynamic Diagrams, Inc., 2010

var map = {};

map.fnMap = function(selector, onClass) {
	var target;
	jq(selector).each(function() {
		jq(this).hover(
			function() {
				target = jq(this).attr('id');
				jq(target).addClass(onClass);
			}, 
			function() {
				target = jq(this).attr('id');
				jq(target).removeClass(onClass);
			}
		);
	});
} // End function map


