jQuery(document).ready(function(){
	  
	//	superfish menu
	
			$(function(){
				$("ul.sf-menu").superfish().find('ul');
			});	
	
	//	nivo slider
			$('#slider').nivoSlider(
				{
					effect:'fade',
					pauseTime:4000,
					captionOpacity:0.7
				}					
			);
			
	//	Vertical superfish menu
			$("ul.verticalNav a").each(function() { // ----- product menu --------//
						if(jQuery("ul.verticalNav a").next())
							{
								jQuery(this).addClass("expand");
							}
						});
						jQuery(".expand").click().toggle(
							function(event) {
								jQuery(this).addClass("active");
								jQuery(this).next().addClass("expanded");
									if (jQuery(this).attr("href") != "#")
										{
											document.location = jQuery(this).attr("href");
										}
									},
							function(event) {
								jQuery(this).removeClass("active");
								jQuery(this).next().removeClass("expanded");
						}
					);
	
	//	PrettyPhotot
			$("a[rel^='prettyPhoto']").prettyPhoto(
						{
							show_title: false
						});


}); // end document


	//	DW

	function MM_openBrWindow(theURL,winName,features) { //v2.0
		  window.open(theURL,winName,features);
		}
		
	function MM_goToURL() { //v3.0
		  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
		  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
		}
  
