function initializeTabs(containerID) {
	var tabsID = containerID + ' #tabs';
	
	//display default tab
	if($(tabsID + ' TD.current A').length > 0){
		loadTab(containerID, $(tabsID + ' TD.current A').attr('href'));
	}

	$(tabsID + ' A').click(function(){
          $(tabsID + ' TD.current').removeClass('current');
          $(this).parent().addClass('current');
          loadTab(containerID, $(this).attr('href'));
		  return false;
     });

}

function loadTab(containerID, linkUrl){
	 $(containerID + ' #tabcontent').empty();
	 $(containerID + ' #preloader').show();
	 $.ajax({
		url: linkUrl, 
		cache: false,
		success: function(message){
			$(containerID + ' #tabcontent').append(message);
			$(containerID + ' #preloader').hide();             
		},
		complete: function (){
			// initialize tooltip and interact icons
			$(".tooltip_image").tooltip({offset: [10, 0], effect: 'slide', delay: 0}).dynamic({ bottom: { direction: 'down', bounce: true } });
			initializeItemInteractIcons();
		},
		error:function (){
			$(containerID + ' #tabcontent').append('Unable to Load Content.');
			$(containerID + ' #preloader').hide();
		}
	});
	$(document).scrollTop(0);
}