// <[CDATA[
			$(document).ready(function() {
				var counts = {
					clicks: 0,
					mouseovers: 0,
					mouseouts: 0,
					focuses: 0,
					blurs: 0,
					overalls: 0
				};
				
				$('ul#moveIt li').focus(function(e) {
					
					if (counts.focuses == 0) {
					pushItem('<a href="gcgroup.php?page=sitemap">the <span style="color: #aaa42e;">' + $(this).html() + '</span> agency<br></a>');
					}
					
					if (counts.blurs == 10) {
					pushItem('<a href="gcgroup.php?page=sitemap">the <span style="color: #aaa42e;">' + $(this).html() + '</span> agency<br></a>');
					}

					counts.focuses++;
					pushItem('<a href="gcgroup.php?page=sitemap">the <span style="color: #aaa42e;">' + $(this).html() + '</span> agency<br></a>');
					
					if (counts.focuses == 2) {
					pushItem('<a href="gcgroup.php?page=sitemap">the <span style="color: #aaa42e;">' + $(this).html() + '</span> agency<br></a>');
					}
				}).blur(function(e) {
					counts.blurs++;
					pushItem('<a href="gcgroup.php?page=sitemap">the <span style="color: #aaa42e;">' + $(this).html() + '</span> agency<br></a>');
					
					if (counts.blurs == 8) {
					pushItem('<a href="gcgroup.php?page=sitemap">the <span style="color: #aaa42e;">' + $(this).html() + '</span> agency<br></a>');
					}
				}).mouseover(function(e) {
					counts.mouseovers++;
					$(this).css('background-color', '#ccc');
					pushItem('<a href="gcgroup.php?page=sitemap">the <span style="color: #aaa42e;">' + $(this).html() + '</span> agency<br></a>');
					
					if (counts.mouseovers == 5) {
					pushItem('<a href="gcgroup.php?page=sitemap">the <span style="color: #aaa42e;">' + $(this).html() + '</span> agency<br></a>');
					}
				}).mouseout(function(e) {
					counts.mouseouts++;
					$(this).css('background-color', '#ccc');
					pushItem('<a href="gcgroup.php?page=sitemap">the <span style="color: #aaa42e;">' + $(this).html() + '</span> agency<br></a>');
				});
				
				
				$('ul#moveIt').roundabout();
				
				setInterval(function() {
					$('.recorded li').each(function() {
						fadeOverTime($(this));
					});
				}, 50);
			});
			
			function pushItem(message) {
				var now = new Date();
				var hours, minutes, seconds, milli;
				
				hours = (now.getHours() < 10) ? '0' + now.getHours() : now.getHours();
				minutes = (now.getMinutes() < 10) ? '0' + now.getMinutes() : now.getMinutes();
				seconds = (now.getSeconds() < 10) ? '0' + now.getSeconds() : now.getSeconds();
				milli = (now.getMilliseconds() < 10) ? '00' + now.getMilliseconds() : (now.getMilliseconds() < 100) ? '0' + now.getMilliseconds() : now.getMilliseconds();
				
				var theTime = hours + ':' + minutes + ':' + seconds + '.<small>' + milli + '</small>';
				
				$('.recorded ul').prepend('<li style="display: none;" timing="' + now + '">' + message + '</li>');
				$('.recorded li:first-child').show('fast');
				
				if ($('.recorded li').length > 1) {
					$('.recorded li').each(function(i) {
						if (i < 1) {
							return;
						}
						
						$(this).hide('fast', function() { $(this).remove(); });
					});
				}
			}
			
			function fadeOverTime(el) {
				var now = new Date();
				var timing = new Date(el.attr('timing'));
				var diff = now - timing;
				var opacity = 100 / 100;
				
				opacity = (opacity > 1) ? 1 : opacity;
				
				if (opacity <= 0) {
					el.hide('fast', function() { $(this).remove() });
				} else {
					el.css('opacity', opacity);
				}
			}
			// ]]>
