

	function datepicker_publish_on_id() {
		
		$('#publish_on_id').datepicker({dateFormat: 'm/d/yy'});
	
	}

	function datepicker_start_on_id() {
		
		$('#start_on_id').datepicker({dateFormat: 'm/d/yy'});
	
	}

	function datepicker_end_on_id() {
		
		$('#end_on_id').datepicker({dateFormat: 'm/d/yy'});
	
	}

	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 datepicker_setdate_hid_id() {
		
		$('#setdate_hid_id').datepicker({dateFormat: 'mm/dd/yy',changeYear: true});
	
	}

	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 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(); }});
				
	}
