	jQuery.noConflict();
		 /*
     * DEFAULT OPTIONS
     *
     options: {
     template:"yourMenuVoiceTemplate",--> the url that returns the menu voices via ajax. the data passed in the request is the "menu" attribute value as "menuId"
     additionalData:"",								--> if you need additional data to pass to the ajax call
     menuSelector:".menuContainer",		--> the css class for the menu container
     menuWidth:150,										--> min menu width
     openOnRight:false,								--> if the menu has to open on the right insted of bottom
     iconPath:"ico/",									--> the path for the icons on the left of the menu voice
     hasImages:true,									--> if the menuvoices have an icon (a space on the left is added for the icon)
     fadeInTime:100,									--> time in milliseconds to fade in the menu once you roll over the root voice
     fadeOutTime:200,									--> time in milliseconds to fade out the menu once you close the menu
     menuTop:0,												--> top space from the menu voice caller
     menuLeft:0,											--> left space from the menu voice caller
     submenuTop:0,										--> top space from the submenu voice caller
     submenuLeft:4,										--> left space from the submenu voice caller
     opacity:1,												--> opacity of the menu
     shadow:false,										--> if the menu has a shadow
     shadowColor:"black",							--> the color of the shadow
     shadowOpacity:.2,								--> the opacity of the shadow
     openOnClick:true,								--> if the menu has to be opened by a click event (otherwise is opened by a hover event)
     closeOnMouseOut:false,						--> if the menu has to be cloesed on mouse out
     closeAfter:500,									--> time in millisecond to whait befor closing menu once you mouse out
     minZindex:"auto", 								--> if set to "auto" the zIndex is automatically evaluate, otherwise it start from your settings ("auto" or int)
     hoverInted:0, 										--> if you use jquery.hoverinted.js set this to time in milliseconds to delay the hover event (0= false)
     onContextualMenu:function(o,e){} --> a function invoked once you call a contextual menu; it pass o (the menu you clicked on) and e (the event)
     },
     */

    jQuery(function(){
      jQuery(".myMenu").buildMenu(
      {
 //       template:"menuVoices.html",
       // additionalData:"pippo=1",
        menuWidth:80,
        openOnRight:false,
   //   menuSelector: ".menuContainer",
     // iconPath:"ico/",
      //hasImages:true,
        fadeInTime:300,
        fadeOutTime:500,
        adjustLeft:0,
        minZindex:"auto",
        adjustTop:10,
        opacity:.90,
        shadow:false,
	//	shadowColor:"#8acd35",
	//	shadowOpacity:.8,
        openOnClick:false,
        closeOnMouseOut:true,
        closeAfter:500
      });
 
 

    }
            );
	
/*
jQuery.noConflict();
    //this function get the id of the element that fires the context menu.
    function testForContextMenu(el){
      if (!el) el= $.mbMenu.lastContextMenuEl;
      alert("the ID of the element is:   "+$(el).attr("id"));
    }
				
 */		
				
				
	jQuery.noConflict();			
   jQuery(document).ready(function(){
    jQuery("#carousel").carousel();
  });
   
   
   
   
 	jQuery.noConflict();
		jQuery(function(){
			jQuery.slidenav({
				animspeed: 'high',
				hideonout: 'true'
			});
		});
 

   
 
 jQuery.noConflict();
    jQuery(document).ajaxError(function(info,xhr){
    if(xhr.status==500)
     alert("ajax error check, shark!!!!!!!!!!.");
    }
   );
	
	
	
	
/*
jQuery.noConflict();
		jQuery(document).ready(function(){
		jQuery("#browser").treeview({
			toggle: function() {
//				console.log("%s was toggled.", jQuery(this).find(">span").text());
			}
		});
		
		jQuery("#add").click(function() {
			var branches = $("<li><span class='folder'>New Sublist</span><ul>" + 
				"<li><span class='file'>Item1</span></li>" + 
				"<li><span class='file'>Item2</span></li></ul></li>").appendTo("#browser");
			jQuery("#browser").treeview({
				add: branches
			});
		});
	});

*/





 

//for text area form label 
jQuery.noConflict();
jQuery(document).ready(function() {
	jQuery('input[title]').each(function() {
		if(jQuery(this).val() === '') {
			jQuery(this).val(jQuery(this).attr('title'));	
		}
		
		jQuery(this).focus(function() {
			if(jQuery(this).val() == jQuery(this).attr('title')) {
				jQuery(this).val('').addClass('focused');	
			}
		});
		jQuery(this).blur(function() {
			if(jQuery(this).val() === '') {
				jQuery(this).val(jQuery(this).attr('title')).removeClass('focused');	
			}
		});
	});
});


 

//form, box styles
jQuery.noConflict();
jQuery(function() {
    //find all form with class jqtransform and apply the plugin
    jQuery("form.jqtransform").jqTransform();
});


 

jQuery.noConflict();
jQuery(document).ready(function () {
    jQuery(".block1").hover(function () {
	jQuery(".block1").animate( { height:"200px" }, { queue:false, duration:500 } )
 
	},
	function () {
		jQuery(".block1").animate( { height:"15px" }, { queue: false, duration:500 } )
	 
	});
	
	jQuery(".block2").hover(function () {
	jQuery(".block2").animate( { height:"200px" }, { queue:false, duration:500 } )
		
	},
	function () {
		jQuery(".block2").animate( { height:"15px" }, { queue: false, duration:500 } )
		
	});
 
 
	
});




jQuery.noConflict();
 jQuery(document).ready(function()	{
	jQuery('#readMore02').tabs({ fxSlide: true, fxFade: true, fxSpeed: 'normal' });
});

jQuery.noConflict();
 jQuery(document).ready(function()	{
	jQuery('#channelmenu').tabs({ fxSlide: true, fxFade: true, fxSpeed: 'normal' });
});