

	function autocomplete_tag_tags_input_id() {
		$('#tags_input_id').autocomplete('/home/getTags',{extraParams: {_ci_nolabel:1},multiple: true,hidden: false,dataType: 'json',type: 'POST'})
	}

	function sortable_gallery_photos_list() {
		$('#gallery_photos_list').sortable({
		update: function(ev,ui){$.ajax({url: '/index.php/my_profile/sort_gallery_photos',type: 'POST',data: 'info=array&'+$('#gallery_photos_list').sortable('serialize')+'&_ci_nolabel=1'}); }
	});
	}

	function sortable_fav_people_sort_id() {
		$('#fav_people_sort_id').sortable({
		update: function(ev,ui){$.ajax({url: '/index.php/my_profile/sort_favs',type: 'POST',data: 'info=array&'+$('#fav_people_sort_id').sortable('serialize')+'&_ci_nolabel=1'}); }
	});
	}

	function sortable_fav_photos_sort_id() {
		$('#fav_photos_sort_id').sortable({
		update: function(ev,ui){$.ajax({url: '/index.php/my_profile/sort_favs',type: 'POST',data: 'info=array&'+$('#fav_photos_sort_id').sortable('serialize')+'&_ci_nolabel=1'}); }
	});
	}

	function sortable_fav_galleries_sort() {
		$('#fav_galleries_sort').sortable({
		update: function(ev,ui){$.ajax({url: '/index.php/my_profile/sort_favs',type: 'POST',data: 'info=array&'+$('#fav_galleries_sort').sortable('serialize')+'&_ci_nolabel=1'}); }
	});
	}

	function sortable_fav_wallpapers_sort() {
		$('#fav_wallpapers_sort').sortable({
		update: function(ev,ui){$.ajax({url: '/index.php/my_profile/sort_favs',type: 'POST',data: 'info=array&'+$('#fav_wallpapers_sort').sortable('serialize')+'&_ci_nolabel=1'}); }
	});
	}

	function sortable_fav_models_sort() {
		$('#fav_models_sort').sortable({
		update: function(ev,ui){$.ajax({url: '/index.php/my_profile/sort_favs',type: 'POST',data: 'info=array&'+$('#fav_models_sort').sortable('serialize')+'&_ci_nolabel=1'}); }
	});
	}

	function sortable_fav_topics_sort() {
		$('#fav_topics_sort').sortable({
		update: function(ev,ui){$.ajax({url: '/index.php/my_profile/sort_favs',type: 'POST',data: 'info=array&'+$('#fav_topics_sort').sortable('serialize')+'&_ci_nolabel=1'}); }
	});
	}

	function sortable_fav_videos_sort() {
		$('#fav_videos_sort').sortable({
		update: function(ev,ui){$.ajax({url: '/index.php/my_profile/sort_favs',type: 'POST',data: 'info=array&'+$('#fav_videos_sort').sortable('serialize')+'&_ci_nolabel=1'}); }
	});
	}

	function sortable_fav_posts_sort() {
		$('#fav_posts_sort').sortable({
		update: function(ev,ui){$.ajax({url: '/index.php/my_profile/sort_favs',type: 'POST',data: 'info=array&'+$('#fav_posts_sort').sortable('serialize')+'&_ci_nolabel=1'}); }
	});
	}

	function autocomplete_tag_find_user_input() {
		$('#find_user_input').autocomplete('/my_profile/find_member',{extraParams: {_ci_nolabel:1},hidden: true,dataType: 'json',value: '1',type: 'POST'})
	}

	function autocomplete_tag_find_nonfriend_input() {
		$('#find_nonfriend_input').autocomplete('/my-profile/find-nonfriend',{extraParams: {_ci_nolabel:1},hidden: true,dataType: 'json',type: 'POST'})
	}

	function datepicker_setdate_hid_id() {

		$('#setdate_hid_id').datepicker({dateFormat: 'mm/dd/yy',changeYear: true,yearRange: '-5:+5'});

	}

	function datepicker_publish_on_id() {

		$('#publish_on_id').datepicker({dateFormat: 'm/d/yy',yearRange: '-5:+5'});

	}

	function datepicker_start_on_id() {

		$('#start_on_id').datepicker({dateFormat: 'm/d/yy',yearRange: '-5:+5'});

	}

	function datepicker_end_on_id() {

		$('#end_on_id').datepicker({dateFormat: 'm/d/yy',yearRange: '-5:+5'});

	}

	function datepicker_setdate_hid_id() {

		$('#setdate_hid_id').datepicker({dateFormat: 'mm/dd/yy',changeYear: true,yearRange: '-5:+5'});

	}

	function tooltip_btn_share_link() {

			$('.btn_share_link').tooltip({effect: 'slide',direction: 'down',slideOffset: 5,lazy: true,offset: [0, 41],position: 'bottom center',onHide: function() { $('li.more').hide(); $('li.moreLink').show(); }});

	}

	function tooltip_share_links_trigger() {

			$('#share_links_trigger').tooltip({effect: 'fade',fadeInSpeed: 100,fadeOutSpeed: 100,lazy: true,offset: [0,120],position: 'bottom left',onHide: function() { $('li.more').hide(); $('li.moreLink').show(); }});

	}

	function sortable_sortable_widgets_1() {
		$('#sortable_widgets_1').sortable({
		items: 'li:not(.disabled)',placeholder: 'widget_placeholder',forcePlaceholderSize: true,update: function(ev,ui){$.ajax({url: '/blacklabelskin/index.php/my_profile/sort_widgets/1',type: 'POST',data: 'info=array&'+$('#sortable_widgets_1').sortable('serialize')+'&_ci_nolabel=1'}); }
	}); 
	}

	function sortable_fav_directories_sort() {
		$('#fav_directories_sort').sortable({
		update: function(ev,ui){$.ajax({url: '/blacklabelskin/index.php/my-profile/sort-favs',type: 'POST',data: 'info=array&'+$('#fav_directories_sort').sortable('serialize')+'&_ci_nolabel=1'}); }
	}); 
	}

	function datepicker_visited_date_input() {
		
		$('#visited_date_input').datepicker({dateFormat: 'm/d/yy',yearRange: 'c-2:c+2'});
	
	}
