 jQuery.noConflict();
			
	jQuery(document).ready(function($) {

	
									
		  $('a[rel*=facebox]').facebox();
		  
		  jQuery("table.decoration tr:nth-child(odd)").addClass("odd");
		  
		   jQuery("table.TableData tr:nth-child(even)").addClass("odd1");

							   
///open Close list menu	
 jQuery('ul.openClose li.active').click(function() {
       jQuery(this).children('ul').slideToggle();	  
	  
	  return false;
	
    });
    
   jQuery('ul.openClose li li a').click(function(event) {
        event.stopPropagation();
		return false;
    });

//------------------------------------------------------------------------------------------------


jQuery('ul.showMe li').click(function() {
       jQuery(this).children('ul').slideToggle('slow');
	  return false;
	  
	 

	
    });
 
 		
				
//tool tip-----------------------------------------------------------------------------------------------------------

//jQuery(".toolTip :input").tooltip({
//
//	// place tooltip on the right edge
//	position: "center right",
//
//	// a little tweaking of the position
//	offset: [-2, 20],
//
//	// use the built-in fadeIn/fadeOut effect
//	effect: "fade",
//
//	// custom opacity setting
//	opacity: 1
//
//});

				
				
	//Home page banner changer 
	
	// jQuery('#banner').addClass('myImg1');
	 jQuery('.bannerBlock3').fadeIn("slow");
	 jQuery('.bannerBlock1').hide();
	 jQuery('.bannerBlock2').hide();
	 
	
	jQuery(".sf-menu a.button01").click(function(){
    		// jQuery("#banner").fadeOut("slow");
			 
			 jQuery('.bannerBlock2').fadeOut("fast");
			 jQuery('.bannerBlock3').fadeOut("fast");
			 jQuery('.bannerBlock1').fadeIn("slow");
			 //jQuery('#banner').removeClass('myImg3');
//			  jQuery('#banner').addClass('myImg1');
		   });	
	
	jQuery(".sf-menu a.button02").click(function(){
													  
    		 
			 jQuery('.bannerBlock1').fadeOut("fast");
			 jQuery('.bannerBlock3').fadeOut("fast");
			 jQuery('.bannerBlock2').fadeIn("slow");
		   });	
	
	jQuery(".sf-menu a.button03").click(function(){
    	 
			 
			 jQuery('.bannerBlock1').fadeOut("fast");
			 jQuery('.bannerBlock2').fadeOut("fast");
			 jQuery('.bannerBlock3').fadeIn("slow");
		   });	
		 
				
		//Default Action
		jQuery(".tab_content").hide(); //Hide all content
		jQuery("ul.tabz li:first").addClass("activeTabz").show(); //Activate first tab
		jQuery(".tab_content:first").show(); //Show first tab content
	
	
	//On Click Event
	jQuery("ul.tabz li a").click(function() {	
		//console.log(jQuery(this).parent(), "asd");
		jQuery('li.tabsz', jQuery(this).parent().parent()).removeClass("activeTabz"); //Remove any "active" class
		jQuery(this).parent().addClass("activeTabz"); //Add "active" class to selected tab
		jQuery(".tab_content").hide(); //Hide all tab content
		var activeTab = jQuery(this).parent().find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
		jQuery(activeTab).fadeIn(); //Fade in the active content
		return false;
		
	});
		
	 $('ul.sf-menu').superfish();
	 $("#HomeTabs").verticaltabs({speed: 500,slideShow: false,activeIndex: 0});
	 
	/* jQuery("div.toolTip input,div.toolTip textarea").focus(function() {
				jQuery(this)
					.parent()
						.addClass("curFocus")
					.children("div")
						.toggle();
			});
			jQuery("div.toolTip input,div.toolTip textarea").blur(function() {
				jQuery(this)
					.parent()
						.removeClass("curFocus")
					.children("div")
						.toggle();
			});
			
			 */
	 });
 

//mouse over menu banner change
 

//Search in menu--------------------------------------------------------------------------
			
			 jQuery(function() {
				/**
				* the element
				*/
				var  ui  = jQuery('#ui_element');
				
				/**
				* on focus and on click display the dropdown, 
				* and change the arrow image
				*/
				 ui.find('.sb_input').bind('focus click',function(){
					 ui.find('.sb_down')
					   .addClass('sb_up')
					   .removeClass('sb_down')
					   .andSelf()
					   .find('.sb_dropdown')
					   .show();
				});
				
				/**
				* on mouse leave hide the dropdown, 
				* and change the arrow image
				*/
				 ui.bind('mouseleave',function(){
					 ui.find('.sb_up')
					   .addClass('sb_down')
					   .removeClass('sb_up')
					   .andSelf()
					   .find('.sb_dropdown')
					   .hide();
				});
				
				/**
				* selecting all checkboxes
				*/
				 ui.find('.sb_dropdown').find('label[for="all"]').prev().bind('click',function(){
					jQuery(this).parent().siblings().find(':checkbox').attr('checked',this.checked).attr('disabled',this.checked);
				});
            
			
			
			
	
			
			});
			
			
	 

 
//\\Search in menu--------------------------------------------------------------------------

  
/* 
  
  
slideShowArray = [];
slideShowArray['feature_count'] = '10'; 
slideShowArray['slide_autorotate'] = '1'; 
slideShowArray['slide_duration'] = '5'; 
slideShowArray['slide_transition'] = '900'; 
slideShowArray['box_height'] = 'full'; 
slideShowArray['box_width'] = '50'; 
slideShowArray['box_transition'] = 'drop'; 
slideShowArray['box_transition_delay'] = '90'; 
slideShowArray['hidden'] = ''; 
slideShowArray['transition_direction_0'] = ''; 
slideShowArray['transition_direction_hidden'] = '1'; 
slideShowArray['transition_direction_final'] = ''; 
slideShowArray['save_my_options'] = '1'; 
slideShowArray['Submit'] = 'Save Changes'; 
*/

 
 
