var j = jQuery.noConflict();
	j(function($){
			$('ul.menu_list').superfish();
			var plan_counter	=	$('.holder_hostplanform').length;
			var plan_tabber		=	$(document.createElement('ul'));
			if(plan_counter > 1 ){
				$('.holder_hostplanform').each(function(){
					plan_tabber.append('<li><a href="#' + $(this).attr('id') + '">' + $(this).attr('title') + '</a></li>');
				});
				plan_tabber.addClass('tabber idTabs');
				$('.holder_hostplanform:first').before(plan_tabber);
				$('.holder_hostplanform:first').before('<div class="clear"></div>');				
			}
				$('.idTabs').idTabs();
	$('#advance_search').submit(function(){
									  var empty = true;
									  if($('input[type=checkbox]:checked',$(this)).length > 0)
									  	empty = false;
									  if($('#price option:selected').val().length > 0 )
									  	empty = false;
									
									   if($('#diskspace option:selected').val().length > 0 )
									  	empty = false;
										
									    if($('#monthly_transfer option:selected').val().length > 0 )
									  	empty = false;
										
										 if($('#email_accounts option:selected').val().length > 0 )
									  	empty = false;
										 if($('#sub_domains option:selected').val().length > 0 )
									  	empty = false;
										
								if(empty){
									alert('Please select atleast one search criteria');
									return false;
								}
									  });
	$('#simple_search').submit(function(){
		var empty = true;
		if($('#plan_search_price').val().length > 0 )
			empty = false;
		if($('#plan_search_diskspace').val().length > 0 )
			empty = false;
		if($('#plan_search_transfer').val().length > 0 )
			empty = false;
		if($('#plan_search_os option:selected').val().length > 0 )
			empty = false;
		if(empty){
			alert('Please enter/select atleast one search criteria to continue');
			return false;
		}
	});
		});