/*
 *
 * Creator: style-nes
 * URL: style-nes.com
 * Email: style-nes@ya.ru
 *
*/


/* Menu */
$(document).ready(function(){
    $("#left_cells ul li").hover(
        function() {
            $(this).find(".hidden").show();
        },
        function() {
			$(this).find(".hidden").hide("fast");
        }
    );



	$("#slider_pic").anythingSlider({
		width			: 150,		// Override the default CSS width
		height			: 112,		// Override the default CSS height
		buildNavigation : false,	// If true, builds a list of anchor links to link to each panel
		autoPlayLocked	: true, 	// If autoPlay is on, this can force it to start stopped
		resumeDelay		: 10000,    // Resume slideshow after user interaction, only if autoplayLocked is true (in milliseconds).
		forwardText 	: "", 		// Link text used to move the slider forward (hidden by CSS, replaced with arrow image)
		backText 		: ""		// Link text used to move the slider back (hidden by CSS, replace with arrow image)
	});

	$(".anythingControls").hide();
});

function getE(e) { return document.getElementById(e); }
function crE(e) { return document.createElement(e); }

function setVisibility(object, setVisible)
{
    object.style.display = (setVisible) ? "block" : "none";
    object.style.visibility = (setVisible) ? "visible" : "hidden";
}
