/**
 * @author Zeller Christoph
 * @version 1.0
 * @description main function wordpress theme (jQuery)
 */
var $j = jQuery.noConflict();

$j(document).ready(function(){
	$j('ul.sf-menu').supersubs({
		minWidth:    10,   // minimum width of sub-menus in em units 
		maxWidth:    20,   // maximum width of sub-menus in em units 
		extraWidth:  1     // extra width can ensure lines don't sometimes turn over 
	}).superfish({
		pathClass:		'current-item',
		animation:   	{opacity:'show',height:'show'},
		dropShadows:	true,
		delay:			800
	});
	
    $j("#slider").easySlider({
    	auto:			true,
    	prevId: 		'prevBtn',
    	prevText: 		'',
    	nextId: 		'nextBtn',	
    	nextText: 		'',
    	speed: 			1000,
    	pause:			7000,
    	continuous:		true
    });
    
    //$j('.rounded').corners('10px 10px');
    
    $j(".wp-post-image").removeAttr("height");
});
