function RT_OpenWindow(Program) {	//v1.0  .getValue()
	var Program;
	window.open('CMS/'+Program,'','left=20,top=20,width=1100,height=1100,toolbar=1,resizable=1,status=1,directories=1,menubar=1,scrollbars=1');
 }
 function PLink_OpenWindow(params, URL, method) {	//v1.0  Dynamic Form/Post
	method = method || "post"; // default method is post if not set
	URL = URL || "";
	var form = document.createElement("form");
	form.setAttribute("method", method);
	form.setAttribute("action", URL);
	form.setAttribute("target", "_blank");
	
	for (var key in params) {
		var hiddenField = document.createElement("input");
		hiddenField.setAttribute("type", "hidden");
		hiddenField.setAttribute("name", key);
		hiddenField.setAttribute("value", params[key]);
		
		form.appendChild(hiddenField);
	}
	
	document.body.appendChild(form);	// Not sure if this is required
	form.submit();
 }
  function Link_OpenWindow(URL) {	//v1.0  
	var URL;
	window.open(URL);
 }
  function Homepage(){
	DocURL = document.location.href;
	protocolIndex=DocURL.indexOf("://",4);
	serverIndex=DocURL.indexOf("/",protocolIndex + 3);
	BeginURL=DocURL.indexOf("#",1) + 1;
	if (protocolIndex - BeginURL > 7)
	urlresult=""
	urlresult=DocURL.substring(BeginURL,serverIndex);
	displayresult=DocURL.substring(protocolIndex + 3,serverIndex);
	forbiddenChars = new RegExp("[<>\'\"]", "g");	
	urlresult = urlresult.replace(forbiddenChars, "");
	displayresult = displayresult.replace(forbiddenChars, "");
	document.write('<A class="a" target=_top HREF="' + urlresult + '">' + displayresult + "</a>");
}
