	var src = "http://www.checksutterfirst.org/ClinicalTrialsUI/RequestProcessor?fx=getparameters&affiliate_id=106,74&rooturi=http://www.checksutterfirst.org/ct";
	var detailSrc = "http://www.checksutterfirst.org/ClinicalTrialsUI/RequestProcessor?fx=getTrial&dispatchto=getTrial&rooturi=http://www.checksutterfirst.org/ct";

	//var src = "http://www.checksutterfirst.staging.sutterhealth.org/ClinicalTrialsUI/RequestProcessor?fx=getparameters&affiliate_id=106,74&rooturi=http://www.checksutterfirst.staging.sutterhealth.org/ct";
	//var detailSrc = "http://www.checksutterfirst.staging.sutterhealth.org/ClinicalTrialsUI/RequestProcessor?fx=getTrial&dispatchto=getTrial&rooturi=http://www.checksutterfirst.staging.sutterhealth.org/ct";

	var id = "ct";
	var w = 540;
	var h = 400;
	var scrolling = "auto";
	var border = 0;
	var problemText = "Your browser does not support frames or is currently configured not to display frames.";
	var frameTitle = "Clinical Trials";

	var url = window.location.toString();
	
	var params = url.match(/\?(.+)$/);
	// var params = RegExp.$1;
	
	if(params != null) {

		var details = params[0].match(/details=(.+)$/);
		// var details = RegExp.$1;
		detailSrc += details[1];
		src = detailSrc;
	}
	
	var targetCell = document.getElementById("SHSSR_CT");
	var iframe = document.createElement("iframe");
	iframe.id = id;
	iframe.src = src;
	iframe.width = w;
	iframe.height = h;
	iframe.frameBorder = border;
	iframe.scrolling = scrolling;
	// iframe.innerHTML = problemText;
	iframe.title = frameTitle;

	targetCell.appendChild(iframe);

