jQuery(document).ready(function(){
	$('#navigation li').mouseenter(function(){
		$(this).children('ul').show();
	}).mouseleave(function(){
		$(this).children('ul').hide();
	});

	if($('#cloud').length != 0) {
		var cloud_content	= $('#cloud_content').html().split(',');
		var cloud			= $('#cloud');
		var pos	= [
					{x:13,	y:180},
					{x:145,	y:426},
					{x:28,	y:548},
					{x:37,	y:505},
					{x:158,	y:70},
					{x:67,	y:458},
					{x:117,	y:214},
					{x:92,	y:107},
					{x:164,	y:488},
					{x:180,	y:185},
					{x:13,	y:136},
					{x:229,	y:462},
					{x:13,	y:56},
					{x:28,	y:432},
					{x:49,	y:236},
					{x:195,	y:160},
					{x:127,	y:535},
					{x:170,	y:576}
				];
		var font_size		= 2.2;
		$.each(cloud_content, function(i, v) {
			cloud.append('<div class="c_item" style="top:'+(15+pos[i].y)+'px;left:'+pos[i].x+'px; font-size:'+font_size+'em;">'+$.trim(v)+'</div>');
			font_size = font_size * 0.95;
		});
	}
});
