// JavaScript Document
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


//Returns everything right of the last instance of the subString to the end of the fullString 
function rightFromSubStringToEndOfFullString(fullString, subString) { 
	if (fullString.lastIndexOf(subString) == -1) { 
		return ""; 
	} else { 
		return fullString.substring(fullString.lastIndexOf(subString)+1, fullString.length); 
	} 
}

//Returns everything left of the last instance of the subString to the start of the fullString 
function leftFromSubStringToBeginningOfFullString(fullString, subString) { 
	if (fullString.lastIndexOf(subString) == -1) { 
		return ""; 
	} else { 
		return fullString.substring(0, fullString.lastIndexOf(subString)); 
	} 
}