function showLinkURL(tabsId, subTabId) {
	var selectedSubTab = "";
	var subTab = null;
	var properSubTab = null;
	var showSubTab = false;
	
	if (subTabId && (subTabId != "")) {
			subTab = dojo.byId(subTabId);
			selectedSubTab = dojo.query("#" + subTab.id + " .current")[0].id;
			
			properSubTab = dojo.query("#" + dijit.byId(tabsId).selectedChildWidget.id + " #" + selectedSubTab);
			showSubTab = ((properSubTab.length > 0) && selectedSubTab && (selectedSubTab != ""));	 									/* Only include subTab if subtab exists under the current tab */
	}
	
	/* send the browser to that location */
	document.location = document.location.pathname + "?tab=" + dijit.byId(tabsId).selectedChildWidget.id + (showSubTab ? "&subTab=" + selectedSubTab : "");
}