jQuery.noConflict();
var j$ = jQuery;

// Background color animation 
jQuery(document).ready(function(){
	jQuery("div.category-dialy").hover(function() {
		j$(this).stop(false, true).animate({ backgroundColor: "#BEE3FF" }, 250);
		},function() {
        j$(this).stop(false, true).animate({ backgroundColor: "#FFFFFF" }, 450);
	});
});

jQuery(document).ready(function(){
	jQuery("div.category-food").hover(function() {
		j$(this).stop(false, true).animate({ backgroundColor: "#FFD6EB" }, 250);
		},function() {
        j$(this).stop(false, true).animate({ backgroundColor: "#FFFFFF" }, 450);
	});
});

jQuery(document).ready(function(){
	jQuery("div.category-mono").hover(function() {
		j$(this).stop(false, true).animate({ backgroundColor: "#e5e5e5" }, 250);
		},function() {
        j$(this).stop(false, true).animate({ backgroundColor: "#FFFFFF" }, 450);
	});
});

jQuery(document).ready(function(){
	jQuery("div.category-music").hover(function() {
		j$(this).stop(false, true).animate({ backgroundColor: "#F5CCCC" }, 250);
		},function() {
        j$(this).stop(false, true).animate({ backgroundColor: "#FFFFFF" }, 450);
	});
});

jQuery(document).ready(function(){
	jQuery("div.category-project").hover(function() {
		j$(this).stop(false, true).animate({ backgroundColor: "#FFF5CC" }, 250);
		},function() {
        j$(this).stop(false, true).animate({ backgroundColor: "#FFFFFF" }, 450);
	});
});

jQuery(document).ready(function(){
	jQuery("div.category-software").hover(function() {
		j$(this).stop(false, true).animate({ backgroundColor: "#D6F5E0" }, 250);
		},function() {
        j$(this).stop(false, true).animate({ backgroundColor: "#FFFFFF" }, 450);
	});
});

jQuery(document).ready(function(){
	jQuery("div.category-twitter").hover(function() {
		j$(this).stop(false, true).animate({ backgroundColor: "#CEF5FF" }, 250);
		},function() {
        j$(this).stop(false, true).animate({ backgroundColor: "#FFFFFF" }, 450);
	});
});

/*BackGround Random*/
function GetRandomColor() {
    var rgbcolor =Math.floor(Math.random() * 255)+ "," + Math.floor(Math.random() * 255)+ "," +Math.floor(Math.random() * 255);
    return rgbcolor;
}

jQuery(document).ready(function () {
    jQuery("body").css({
        "backgroundColor" : "rgb("+GetRandomColor()+")"});
});

/*jQuery(document).ready(function () {
    jQuery("body").css({
        "backgroundColor" : "#cccccc"});
});*/


/*InsidePage textAlign*/
jQuery(document).ready(function () {
    jQuery("body.single #single-wrapper .post-body p").css({
        "width" : jQuery("body.single .post-body p img").width(),
		"margin" : "10px auto"});
});

jQuery(document).ready(function () {
    jQuery("body.single #single-wrapper .post-body p img").parent().css({
        "text-align" : "center",
		"width" : "100%",
		"margin" : "10px 0"});
});

