Cufon('#mainCategories h2', {
	color: '-linear-gradient(#E8E8E8, 0.2=#E8E8E8, 0.5=#FFFFFF, #FFFFFF)',
	fontSize: '60px',
	textShadow: '2px 2px #3D3D3D',
	fontStyle: 'italic',
	fontWeight: 'bold',
});

Cufon('#mainCategories2 h2', {
	color: '-linear-gradient(#E8E8E8, 0.2=#E8E8E8, 0.5=#FFFFFF, #FFFFFF)',
	fontSize: '60px',
	textShadow: '2px 2px #3D3D3D',
	fontStyle: 'italic',
	fontWeight: 'bold',
});






jQuery (function (){

	jQuery("#smoothmenu1 ul li.tp").hover(function(){
		jQuery (this).find (".liContentBox").fadeIn('slow');
	},function(){
		jQuery (this).find (".liContentBox").fadeOut('fast');
	})
	
	jQuery(".ournet").click(function(e) {          
		//e.preventDefault();
		jQuery("#menu_bookmarks").toggle();
	});
	
	jQuery("fieldset#searcharea_menu").mouseup(function() {
		return false
	});
	jQuery(document).mouseup(function(e) {
		if(jQuery(e.target).parent(".ournet").length==0) {
			jQuery("#menu_bookmarks").hide();
		}
	});

	jQuery('#featured-container').serialScroll({
		target:'#featured',
		items:'.marquee-listing div.show-thumb', // Selector to the items ( relative to the matched elements, '#sections' in this case )
		prev:'div.prev',// Selector to the 'prev' button (absolute!, meaning it's relative to the document)
		next:'div.next',// Selector to the 'next' button (absolute too)
		axis:'xy',// The default is 'y' scroll on both ways
		navigation:'#navigation li a',
		duration:600,// Length of the animation (if you scroll 2 axes and use queue, then each axis take half this time)
		force:true, // Force a scroll to the element specified by 'start' (some browsers don't reset on refreshes)
		onBefore:function( e, elem, $pane, $items, pos ){
			e.preventDefault();
			if( this.blur )
				this.blur();
		},
		onAfter:function( elem ){
		}
	});
	
	jQuery('#featured-container2').serialScroll({
		target:'#featured2',
		items:'.marquee-listing div.listbanners', // Selector to the items ( relative to the matched elements, '#sections' in this case )
		prev:'div.prev2',// Selector to the 'prev' button (absolute!, meaning it's relative to the document)
		next:'div.next2',// Selector to the 'next' button (absolute too)
		axis:'xy',// The default is 'y' scroll on both ways
		navigation:'#navigation li a',
		duration:600,// Length of the animation (if you scroll 2 axes and use queue, then each axis take half this time)
		force:true, // Force a scroll to the element specified by 'start' (some browsers don't reset on refreshes)
		onBefore:function( e, elem, $pane, $items, pos ){
			e.preventDefault();
			if( this.blur )
				this.blur();
		},
		onAfter:function( elem ){
		}
	});
	
	/*jQuery ("#content").corner("7px");
	jQuery ("#featuredArea").corner("bl br 7px keep 1px");
	jQuery ("#feedBox").corner("tr 7px cc:#5DA3DF")
	jQuery ("#sponsors .ad:odd").css ("margin-right", "0px");
	jQuery ('#otherPost').equalHeights();*/

})
