var domTT_styleClass = 'niceTitle';

var tooltips = {

	'span.amazonbookmetric' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Number of books with greater sales than this book according to Amazon.  The lower the Amazon Sales Rank, the better the book is selling. Updated daily.', 'trail', true);
		}
	},
	
	'span.nominationsbookmetric' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Number of nominations from UX Zeitgeist participants. Updated as new participants\' records are added to the UX Zeitgeist site.', 'trail', true);
		}
	},
	
	'span.blogbookmetric' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Number of mentions of this book in the blogosphere according to Google Blog Search. Updated daily.', 'trail', true);
		}
	},

	'span.podbookmetric' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Number of mentions of this book in podcast transcripts indexed by Podzinger. Updated daily.', 'trail', true);
		}
	},


	'span.uxpubbookmetric' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Number of mentions in UX Publications based on a custom Rollyo Search Roll. Updated Daily.', 'trail', true);
		}
	},

	'span.libcollbookmetric' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Number of personal collections in LibraryThing that include this book. Updated weekly.', 'trail', true);
		}
	},
	
	'span.libratebookmetric' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Average score of ratings by LibraryThing members on a scale of 0 (lowest) to 5 (highest). Updated weekly.', 'trail', true);
		}
	},

	'span.nombook' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Names of UX Zeitgeist participants who nominated this book. Updated as new participants records are added to the UX Zeitgeist site.', 'trail', true);
		}
	},

	'span.blogbook' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Mentions of this book in the blogosphere, according to Google Blog Search. Updated daily.', 'trail', true);
		}
	},

	'span.uxpubbook' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Mentions in UX Publications based on a custom Rollyo Search Roll. Updated Daily.', 'trail', true);
		}
	},
	
	'span.amazonpurchbook' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Other books frequently purchased by Amazon customers who purchased this book. Updated daily.', 'trail', true);
		}
	},

	'span.markbook' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Bookmarks related to this book title on del.icio.us. Updated weekly.', 'trail', true);
		}
	},

	'span.tagbook' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Tags that del.icio.us users have associated with this book. Updated weekly.', 'trail', true);
		}
	},

	'span.ltcollectbook' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Books that co-occur in LibraryThing member collections. Updated weekly.', 'trail', true);
		}
	},

	'span.lttagbook' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Other books similarly tagged by LibraryThing members. Updated weekly.', 'trail', true);
		}
	},
	
	'span.nomtopicmetric' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Number of nominations from UX Zeitgeist participants. Updated as new participants records are added to the UX Zeitgeist site.', 'trail', true);
		}
	},
	
	
	'span.tagtopicmetric' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Number of tags in del.icio.us that match up with this Topic. Updated Daily.', 'trail', true);
		}
	},
	
	'span.blogtopicmetric' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Number of mentions of this topic in the blogosphere according to Google Blog Search. Updated hourly.', 'trail', true);
		}
	},

	'span.podtopicmetric' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Number of mentions of this topic in podcast transcripts indexed by Podzinger. Updated daily.', 'trail', true);
		}
	},

	'span.uxpubtopicmetric' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Number of mentions in UX Publications based on a custom Rollyo search roll. Updated Weekly.', 'trail', true);
		}
	},

	'span.nomtopic' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'UX Zeitgeist participants who nominated this topic. Updated as new participants records are added to the UX Zeitgeist site.', 'trail', true);
		}
	},

	'span.tagtopic' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'The tags related to this topic based on a del.icio.us search. Updated daily.', 'trail', true);
		}
	},

	'span.deltopic' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Bookmarks related to this topic based on a del.icio.us search. Updated daily.', 'trail', true);
		}
	},

	'span.amazontopic' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Number of mentions of this topic in full texts of books according to Amazon. Updated daily.', 'trail', true);
		}
	},

	'span.gbooktopic' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Mentions of this topic in full texts of books according to Google Book Search. Updated daily.', 'trail', true);
		}
	},

	'span.blogtopic' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Mentions of this topic in the blogosphere according to Google Blog Search. Updated daily.', 'trail', true);
		}
	},

	'span.podtopic' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Mentions of this topic in podcast transcripts indexed by Podzinger. Updated daily.', 'trail', true);
		}
	},

	'span.uxpubtopic' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Mentions of this topic in UX Publications based on a custom Rollyo Search roll. Updated weekly.', 'trail', true);
		}
	},

	'span.mindsharemetric' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Based on percentage of UX-related search results that mention this person. Learn more about our ranking algorithm by checking our blog. Score updated daily.', 'trail', true);
		}
	},

	'span.authorpersonmetric' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Number of books and specific titles written by this person according to Amazon. Updated daily.', 'trail', true);
		}
	},

	'span.bookpersonmetric' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Number of mentions of this person in full texts of books according to Google Book Search. Updated daily.', 'trail', true);
		}
	},

	'span.blogpersonmetric' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Number of mentions of this person in the blogosphere according to Google Blog Search. Updated daily.', 'trail', true);
		}
	},
	
	'span.podpersonmetric' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Number of mentions of this person in podcast transcripts indexed by Podzinger. Updated daily.', 'trail', true);
		}
	},
	
	'span.uxpubmetric' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Number of mentions of this book in UX publications based on Rollyo custom search roll. Updated daily.', 'trail', true);
		}
	},
	
	'span.ltcollectionmetric' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Number of LibraryThing members collections that include books by this author. Updated weekly.', 'trail', true);
		}		
	},
	
	'span.authorperson' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Books authored or collaborated on by this person, based on an Amazon search. Updated daily.', 'trail', true);
		}
	},

	'span.blogpostperson' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'This person\'s most recent blog entries. Updated daily.', 'trail', true);
		}
	},

	'span.tagsperson' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Tags this person has used in their del.icio.us account. Updated weekly.', 'trail', true);
		}
	},

	'span.booksperson' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Books that mention this person, based on Google Book Search. Updated weekly.', 'trail', true);
		}
	},

	'span.blogperson' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Mentions of this person in the blogosphere according to Google Blog Search. Updated Daily', 'trail', true);
		}
	},

	'span.podperson' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Mentions of this person in podcast transcripts indexed by Podzinger. Updated daily.', 'trail', true);
		}
	},

	'span.uxpubperson' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Mentions of this person in UX Publications, based on a Rollyo custom search roll. Updated daily.', 'trail', true);
		}
	},

	'span.tagsonperson' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Tags associated with this person from del.icio.us. Updated weekly.', 'trail', true);
		}
	},

}

Behaviour.register(tooltips);