	// need these two lines for co-browsing
	if ( top.name == null || top.name == "" )
		top.name="WIBrowserShare";

	var ceccHost = "www.ecs621.hsbc.co.uk"

	function launchTemplate(ceccRouteCode, ceccTemplate)
		{

			if(top.webInteractionWindow != null && !top.webInteractionWindow.closed)
			{
				top.webInteractionWindow.focus();
			}
			else
			{
				var ceccWidth = Math.min(screen.availHeight, 700);
				var ceccHeight = Math.min(screen.availHeight-28, 670); //set location to no so can't see address
				var ceccFeatures = "screenX=0,left=0,screenY=0,top=0,location=no,scrollbars,status,resizable,width="+ceccWidth+",height="+ceccHeight;
				var ceccURL = "https://"+ceccHost+"/wi/servlet/HSBCHelpRequest";

			// allows override of the value passed in
			//ceccRouteCode = prompt("Enter PIB Route Code");

				ceccURL += "?WI_TemplateName=/"+ceccTemplate;
				ceccURL += "&WI_BusinessApplicationID="+ceccRouteCode;
				ceccURL += "&ASPECT_CALL_ROUTECODE="+ceccRouteCode;
				ceccURL += "&DoAuth=N";
				ceccURL += "&WI_BrowserShareWindowName="+top.name;
				ceccURL += "&t="+(new Date()).getTime();

				// important new param for Uniphi - Dont use the ACF framework
//				ceccURL += "&WI_ACF_INT=N";

				top.webInteractionWindow = window.open(ceccURL, "ContactMe2", ceccFeatures);
			}
			// return false so that when javascript is enabled the
			// 'JavascriptNotEnabled' page is not launched.
			return false;
	}
