function initCaptions() {
	if(!document.getElementById) return;
	document.getElementById('description').defaultWelcome = document.getElementById('description').innerHTML;

	var captions = new Array();
	captions[0] = 'Learn a bit about yourself by taking our fun quizzes, then easily share your results with everyone!';
	captions[1] = 'Surveys are a fast way to share lots of information about yourself.  Take popular surveys or make your own, then share with your friends.';
	captions[2] = 'Express your unique sense of style with our collection of graphics.  Pick the ones you want, then put them where you want!';
	captions[3] = 'Generate graphics, effects, hit counters, and more for use on your blog or profile!';
	captions[4] = 'Post humorous or insightful bulletins for your friends and family to enjoy!';
	captions[5] = 'Make customizing your profile or blog fast and easy with our professional layouts.';
	captions[6] = 'Find out how great your MySpace profile is, or rate other people\'s profiles!';
	captions[7] = 'Get help regarding your MySpace profile or any other questions you might have, or discuss the latest news.';
	//captions[6] = 'If you want more friends on MySpace, take a ride on the one and only Friend Donkey&trade;!';
	//captions[2] = 'Express your unique sense of style with our various toys.  Design your own, then show them off!';
	//captions[3] = 'Impress your friends with fancy, beautiful text!';
	//captions[4] = 'Make customizing your profile or blog fast and easy with our professional layouts.';
	//captions[5] = 'If you want more friends on MySpace, take a ride on the one and only Friend Donkey&trade;!';
	//captions[6] = '';

	cats = document.getElementById('categories').getElementsByTagName('a');
	for(var i = 0; i < cats.length; i++) {
		cats[i].onmouseover = showCaption;
		cats[i].onmouseout = closeCaption;
		cats[i].caption = captions[i];
	}
}

function showCaption() {
	clearInterval(document.getElementById('description').timeout);
	document.getElementById('description').innerHTML = this.caption;
}

function closeCaption() {
	document.getElementById('description').timeout = setTimeout('defaultCaption()', 1000);
}

function defaultCaption() {
	document.getElementById('description').innerHTML = document.getElementById('description').defaultWelcome;
}

onloadAdd(initCaptions);
