var $ = jQuery.noConflict();
    
   	$(document).ready(function(){
		$("#navBar ul li a").addClass("rotate");
	});

   	$(document).ready(function(){
		$("#navBar ul li a h1").addClass("sizeUp");
	});
   	$(document).ready(function(){
		$("#inside p:last").addClass("lastP");
	});
/*
$(document).ready(function(){
		$("#navBar ul li a h1").css('font-size' : '24');
	});
*/

   	$(function() {
	    $("a.rotate").each(function() {
	        $(this)
	            .css({
	                "-webkit-transform": 'rotate(' + (Math.floor(Math.random()*10)-5) + 'deg)',
	                "-moz-transform": 'rotate(' + (Math.floor(Math.random()*10)-5) + 'deg)'
	            })
	            .hover(function() {
	                $(this).css({
	                    "-webkit-transform": 'rotate(' + (Math.floor(Math.random()*10)-5) + 'deg) scale(1.05)',
	                    "-moz-transform": 'rotate(' + (Math.floor(Math.random()*10)-5) + 'deg) scale(1.05)'
	                })
	            }, function() {
	                $(this).css({
	                    "-webkit-transform": 'rotate(' + (Math.floor(Math.random()*10)-5) + 'deg) scale(1)',
	                    "-moz-transform": 'rotate(' + (Math.floor(Math.random()*10)-5) + 'deg) scale(1)'
	                })
	            });
    	});
	});

/*
	$(".collaps > h2").toggle(function() {
		if(!$(this).next().is(':visible')) {
			$(this).next().fadeIn();
		}
	}, function() {
		if($(this).next().is(':visible')) {
			$(this).next().fadeOut();
		}
	});
*/
	
/*
	$(document).ready(function($) {
	       $('.post span').hide();
	       $('.post h2 a').click(function(){
	               $('.post span').slideDown();
	               $(this).parent().next().slideDown();
	               return false;
	       });
	});
*/
