/**
This function would pop up dailogId - String
For example 
if page is referenced as www.abc.com/test.html#dailogId
and in test.html page there is reference to this function in page load
then it would open the dailogId if present on the page.
Note: this works with Dojo
@author ChandanK 
**/
function autoPopupDailog (dailogId) {
	winHashName = window.location.hash.substr(1,window.location.hash.length);
	if (winHashName == dailogId) {
		if (dijit.byId(dailogId)) {dijit.byId(dailogId).show()};
	}
}
/**
This function would focus a particular tabId - String of a tab container.<b>
if page is referenced as abc.com/test.html#tabId
and in test.html page there is reference to this function in page load
then it would open the tabId if present
 
Note: Does not handle multiple tab containers. This works with Dojo
@author ChandanK 
**/
function autoSelectDojoTab (containerId, tabId) {
	winHashName = window.location.hash.substr(1,window.location.hash.length);
	if (winHashName == tabId) {
		if (dijit.byId(containerId) && dijit.byId(tabId)) {dijit.byId(containerId).selectChild(tabId);}
	}
}
