
HM_UserAgent = navigator.userAgent;
      HM_DOM = (document.getElementById) ? true : false;
      HM_NS4 = (document.layers) ? true : false;
       HM_IE = (document.all) ? true : false;
      HM_IE4 = HM_IE && !HM_DOM;
      HM_Mac = (navigator.appVersion.indexOf("Mac") != -1);
     HM_IE4M = HM_IE4 && HM_Mac;

HM_Opera = (window.opera) ? true : false;
if(HM_Opera) {
    HM_BrowserPattern = /Opera(\/| )(\d+.*)/;
    HM_VersionSupported = 7;
}

HM_Konqueror = (HM_UserAgent.indexOf("Konqueror")!=-1);
if(HM_Konqueror) {
    HM_BrowserPattern = /(Konqueror\/)(\d+.*)/;
    HM_VersionSupported = 3;
}

if(HM_Opera || HM_Konqueror) {
    if (HM_UserAgent.match) {
       HM_Matches = HM_UserAgent.match(HM_BrowserPattern);
       if (HM_Matches&&HM_Matches[2]) {
          HM_BrowserVersion = parseFloat(HM_Matches[2]);
       } else HM_BrowserVersion = 0;
       HM_IsMenu = (HM_BrowserVersion >= HM_VersionSupported);
    } else {
       HM_BrowserVersion = 0;
       HM_IsMenu = false;
    }
} else {
    HM_BrowserVersion = 0;
    HM_IsMenu = !HM_IE4M && (HM_DOM || HM_NS4 || HM_IE4 );
}

if(window.event + "" == "undefined") event = null;
function HM_f_PopUp(){return false};
function HM_f_PopDown(){return false};
popUp = HM_f_PopUp;
popDown = HM_f_PopDown;

HM_GL_MenuWidth          = 150;
HM_GL_FontFamily         = "Arial, Helvetica, sans-serif";
HM_GL_FontSize           = (HM_Mac) ? (HM_NS4) ? 8 : 8 : 8;
HM_GL_FontBold           = false;
HM_GL_FontItalic         = false;
HM_GL_FontColor          = "";
HM_GL_FontColorOver      = "";
HM_GL_BGColor            = "";
HM_GL_BGColorOver        = "";
HM_GL_ItemPadding        = 5;

HM_GL_BorderWidth        = 1;
HM_GL_BorderColor        = "";
HM_GL_BorderStyle        = "solid";
HM_GL_SeparatorSize      = 3;
HM_GL_SeparatorColor     = "";

HM_ScriptDir             = "/chsrf/";
HM_GL_ImageDir           = HM_ScriptDir + "images/";

HM_GL_ImageSrc 			 = "hmarrow.gif";
HM_GL_ImageSrcLeft		 = "";

HM_GL_ImageSrcOver		 = "hmarrow.gif";
HM_GL_ImageSrcLeftOver	 = "";
HM_GL_PreloadImages      = true;


HM_GL_ImageSize          = 7;
HM_GL_ImageHeight        = 14;
HM_GL_ImageHorizSpace    = "";
HM_GL_ImageVertSpace     = "";

HM_GL_KeepHilite         = true;
HM_GL_ClickStart         = false;
HM_GL_ClickKill          = 0;
HM_GL_ChildOverlap       = 1;
HM_GL_ChildOffset        = 5;
HM_GL_ChildPerCentOver   = null;
HM_GL_TopSecondsVisible  = 0.4;
HM_GL_ChildSecondsVisible = 0.1;
HM_GL_StatusDisplayBuild = 0;
HM_GL_StatusDisplayLink  = 0;
HM_GL_UponDisplay        = null;
HM_GL_UponHide           = null;

HM_GL_RightToLeft        = false;
HM_GL_CreateTopOnly      = false;
HM_GL_ShowLinkCursor     = true;

HM_GL_ScrollEnabled      = true;
HM_GL_ScrollOver         = (HM_Opera) ? 1 : 0;
HM_MacN7                 = (HM_Mac&&(HM_UserAgent.indexOf('Netscape/7')!=-1))?true:false;
HM_GL_ScrollInterval     = (HM_MacN7) ? 100 : 20;
HM_GL_ScrollBarHeight    = 16;
HM_GL_ScrollBarColor     = "lightgrey";
HM_GL_ScrollImgSrcTop    = "";
HM_GL_ScrollImgSrcBot    = "";
HM_GL_ScrollImgWidth     = 9;
HM_GL_ScrollImgHeight    = 5;
HM_GL_ScrollBothBars     = true;

HM_GL_FramesEnabled      = false;
HM_GL_FramesNavFramePos  = "top";
HM_GL_FramesMainFrameName = "main";

HM_GL_HoverTimeTop       = 0;
HM_GL_HoverTimeTree      = 0;


//function to keep left nav item highlighted
function highlightOn(whichOne) {
	document.getElementById('nav' + whichOne).style.color = '#993333'
}

//function to turn left nav highlight off
function highlightOff(whichOne) {
	document.getElementById('nav' + whichOne).style.color = '003555'
}



// The following function is included to illustrate the JS 
// expression handling of the left_position and top_position 
// parameters. You may delete if you have no use for it

function HM_f_CenterMenu(topmenuid) {
    var MinimumPixelLeft = 0;
    var TheMenu = HM_DOM ? document.getElementById(topmenuid) : window[topmenuid];
    var TheMenuWidth = HM_DOM ? parseInt(TheMenu.style.width) : HM_IE4 ? TheMenu.style.pixelWidth : TheMenu.clip.width;
    var TheWindowWidth = HM_IE ? (HM_DOM ? HM_Canvas.clientWidth : document.body.clientWidth) : window.innerWidth;
    return Math.max(parseInt((TheWindowWidth-TheMenuWidth) / 2),MinimumPixelLeft);
}

function HW(kx){var b=0;var c=HM_DOM?Hg.document.getElementById(kx):Hg[kx];var d=HM_DOM?parseInt(c.style.width)+((Hjt||Hju)?0:Hu*2):HM_IE4?c.style.pixelWidth:c.clip.width;var gh=HM_IE?(HM_DOM?Hh.clientWidth:Hg.document.body.clientWidth):Hg.innerWidth;
return Math.max(parseInt((gh-d)/2),b);}
HM_f_CenterMenu=HW;

function findPosX(obj)
{
	var curleft = 0;
	if (obj.offsetParent)
	{
		while (obj.offsetParent)
		{
			curleft += obj.offsetLeft
			obj = obj.offsetParent;
		}
	}
	else if (obj.x)
		curleft += obj.x;
	return curleft;
}

function findPosY(obj)
{
var curtop = 0;
if (obj.offsetParent)
{
	while (obj.offsetParent)
	{
		curtop += obj.offsetTop
		obj = obj.offsetParent;
	}
}
else if (obj.y)
	curtop += obj.y;

return curtop;
}

function HM_f_ToggleElementList(show,elList,toggleBy){if(HM_NS4&&(toggleBy=="tag"))return true;for(var i=0;i<elList.length;i++){var ElementsToToggle=[];
switch(toggleBy){case "tag":ElementsToToggle=(HM_DOM)?Hg.document.getElementsByTagName(elList[i]):Hg.document.all.tags(elList[i]);break;
case "id":ElementsToToggle[0]=(HM_DOM)?Hg.document.getElementById(elList[i]):(HM_IE)?Hg.document.all(elList[i]):Hg.document.layers[elList[i]];break;}for(var j=0;j<ElementsToToggle.length;j++){var theElement=ElementsToToggle[j];
if(!theElement)continue;if(HM_DOM||HM_IE)theElement.style.visibility=show?"inherit":"hidden";else if(HM_NS4)theElement.visibility=show?"inherit":"hide";}}return true;}

if(HM_IsMenu) {
	HM_BrowserString = HM_NS4 ? "NS4" : HM_Opera ? "OPR" : HM_DOM ? "DOM" : "IE4";
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='" + HM_ScriptDir + "common/HM_Arrays.js' TYPE='text/javascript'><\/SCR" + "IPT>");
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='" + HM_ScriptDir + "common/HM_Script"+ HM_BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>");
}

//end


/* "Printable version" Popup Script * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
function Print() { 
	var whatLanguage = location.pathname;

	var sOption="toolbar=no,location=no,directories=no,menubar=no,scrollbars=yes,width=750,height=600,left=100,top=25";
	if (document.getElementById('header')) 
	var sHeader = document.getElementById('header').innerHTML;

	var sContent = document.getElementById('content').innerHTML;
	var sFooter = document.getElementById('footer').innerHTML;
	var winprint=window.open("","",sOption); 
		winprint.document.open(); 
		winprint.document.write('<html>');
		winprint.document.write('<head><title>Canadian Health Services Research Foundation / Fondation Canadienne de la recherche sur les services de sant&eacute;</title><link rel=\"stylesheet\" type=\"text/css\" href=\"http://www.chsrf.ca/common/chsrf.css\"></head>');
		winprint.document.write('<body class=\"#print\">'); 
		winprint.document.write('<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" bgcolor=\"#FFFFFF\">');
		winprint.document.write('<tr><td width=\"23\" rowspan="3"><img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"23\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">');
		winprint.document.write('<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" bgcolor=\"#FFFFFF\">');
		winprint.document.write('<tr><td width="95%">');
		winprint.document.write('<img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"1\" height=\"15\" border=\"0\" alt=\"\"><div><img src=\"http://www.chsrf.ca/images/rebrand/logo_e.gif\" border=\"0\" alt=\"Canadian Health Services Research Foundation / Foundation canadienne de la recherche sue les services de santé\"></div><img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"1\" height=\"15\" border=\"0\" alt=\"\">');
		winprint.document.write('</td><td align="right" width="5%"><a href="javascript: window.print();">Print/Imprimez</a></td></tr>');
		winprint.document.write('</table>');
		//winprint.document.write(sTitle);
		winprint.document.write('<br><br>');
		
		if (document.getElementById('header')) 
		winprint.document.write(sHeader);
		
		winprint.document.write(sContent);
		winprint.document.write('</td><td width=\"23\"><img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"23\" height=\"1\" border=\"0\" alt=\"\"></td></tr>');
		winprint.document.write('<tr><td colspan=\"2\">&nbsp;</td></tr>');
		winprint.document.write('<tr><td colspan=\"2\" width=\"100%\" style=\"margin-top: 0.5em; border-top: 1px solid #7F0000;\">');
		winprint.document.write('<img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"1\" height=\"6\" border=\"0\" alt=\"\"><br><small>' + sFooter + '</small><br><img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"1\" height=\"6\" border=\"0\" alt=\"\"><br>');
		winprint.document.write('</td></tr>');
		winprint.document.write('</table>');
		winprint.document.write('</body>');
		winprint.document.write('</html>');
		winprint.document.close();
		winprint.focus(); 
	}

/* "Printable version" Knowledge Summaries - Popup Script * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
function Print_ks() { 
	var whatLanguage = location.pathname;

	var sOption="toolbar=no,location=no,directories=no,menubar=no,scrollbars=yes,width=750,height=600,left=100,top=25";
	var sContent = document.getElementById('print-version').innerHTML;
	var sFooter = document.getElementById('footer').innerHTML;
	var winprint=window.open("","",sOption); 
		winprint.document.open(); 
		winprint.document.write('<html>');
		winprint.document.write('<head><title>Canadian Health Services Research Foundation / Fondation Canadienne de la recherche sur les services de sant&eacute;</title><link rel=\"stylesheet\" type=\"text/css\" href=\"http://www.chsrf.ca/common/chsrf.css\"></head>');
		winprint.document.write('<body class=\"#print\">'); 
		winprint.document.write('<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" bgcolor=\"#FFFFFF\">');
		winprint.document.write('<tr><td width=\"23\" rowspan="3"><img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"23\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">');
		winprint.document.write('<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"95%\" bgcolor=\"#FFFFFF\">');
		winprint.document.write('<tr><td width="95%">');
		winprint.document.write('<img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"1\" height=\"15\" border=\"0\" alt=\"\"><div><img src=\"http://www.chsrf.ca/images/rebrand/logo_e.gif\" border=\"0\" alt=\"Canadian Health Services Research Foundation / Foundation canadienne de la recherche sue les services de santé\"></div><img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"1\" height=\"15\" border=\"0\" alt=\"\">');
		winprint.document.write('</td><td align="right" width="5%"><a href="javascript: window.print();">Print/Imprimez</a></td></tr>');
		winprint.document.write('</table>');
		winprint.document.write('<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" bgcolor=\"#FFFFFF\">');
		winprint.document.write('<tr><td>');
		winprint.document.write(sContent);
		winprint.document.write('</td></tr>');
		winprint.document.write('</table>');
		winprint.document.write('<br><br>');
		//winprint.document.write('</td><td width=\"23\"><img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"23\" height=\"1\" border=\"0\" alt=\"\"></td></tr>');
		winprint.document.write('<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"95%\" bgcolor=\"#FFFFFF\">');
		winprint.document.write('<tr><td colspan=\"2\" width=\"100%\" style=\"margin-top: 0.5em; border-top: 1px solid #7F0000;\">');
		winprint.document.write('<img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"1\" height=\"6\" border=\"0\" alt=\"\"><br><small>' + sFooter + '</small><br><img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"1\" height=\"6\" border=\"0\" alt=\"\"><br>');
		winprint.document.write('</td></tr>');
		winprint.document.write('</table>');
		winprint.document.write('</td></tr>');
		winprint.document.write('</table>');
		winprint.document.write('</body>');
		winprint.document.write('</html>');
		winprint.document.close();
		winprint.focus(); 
	}

/* "Printable version" tools - Popup Script * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
function Print_tools() { 
	var whatLanguage = location.pathname;

	var sOption="toolbar=no,location=no,directories=no,menubar=no,scrollbars=yes,width=750,height=600,left=100,top=25";
	var sHeader = document.getElementById('tools-header').innerHTML;
	var sContent = document.getElementById('content').innerHTML;
	var sFooter = document.getElementById('footer').innerHTML;
	var winprint=window.open("","",sOption); 
		winprint.document.open(); 
		winprint.document.write('<html>');
		winprint.document.write('<head><title>Canadian Health Services Research Foundation / Fondation Canadienne de la recherche sur les services de sant&eacute;</title><link rel=\"stylesheet\" type=\"text/css\" href=\"http://www.chsrf.ca/common/chsrf.css\"></head>');
		winprint.document.write('<body class=\"#print\">'); 
		winprint.document.write('<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" bgcolor=\"#FFFFFF\">');
		winprint.document.write('<tr><td width=\"23\" rowspan="3"><img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"23\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">');
		winprint.document.write('<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" bgcolor=\"#FFFFFF\">');
		winprint.document.write('<tr><td width="95%">');
		winprint.document.write('<img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"1\" height=\"15\" border=\"0\" alt=\"\"><div><img src=\"http://www.chsrf.ca/images/rebrand/logo_e.gif\" border=\"0\" alt=\"Canadian Health Services Research Foundation / Foundation canadienne de la recherche sue les services de santé\"></div><img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"1\" height=\"15\" border=\"0\" alt=\"\">');
		winprint.document.write('</td><td align="right" width="5%"><a href="javascript: window.print();">Print/Imprimez</a></td></tr>');
		winprint.document.write('</table>');
		//winprint.document.write(sTitle);
		winprint.document.write('<br><br>');
		winprint.document.write(sHeader);
		winprint.document.write(sContent);
		winprint.document.write('</td><td width=\"23\"><img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"23\" height=\"1\" border=\"0\" alt=\"\"></td></tr>');
		winprint.document.write('<tr><td colspan=\"2\">&nbsp;</td></tr>');
		winprint.document.write('<tr><td colspan=\"2\" width=\"100%\" style=\"margin-top: 0.5em; border-top: 1px solid #7F0000;\">');
		winprint.document.write('<img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"1\" height=\"6\" border=\"0\" alt=\"\"><br><small>' + sFooter + '</small><br><img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"1\" height=\"6\" border=\"0\" alt=\"\"><br>');
		winprint.document.write('</td></tr>');
		winprint.document.write('</table>');
		winprint.document.write('</body>');
		winprint.document.write('</html>');
		winprint.document.close();
		winprint.focus(); 
	}
	
	/* "Printable version" Insight and Action - Popup Script * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
function Print_ia() { 
	var whatLanguage = location.pathname;

	var sOption="toolbar=no,location=no,directories=no,menubar=no,scrollbars=yes,width=750,height=600,left=100,top=25";
	var sContent = document.getElementById('print-version').innerHTML;
	var sFooter = document.getElementById('footer').innerHTML;
	var winprint=window.open("","",sOption); 
		winprint.document.open(); 
		winprint.document.write('<html>');
		winprint.document.write('<head><title>Canadian Health Services Research Foundation / Fondation Canadienne de la recherche sur les services de sant&eacute;</title><link rel=\"stylesheet\" type=\"text/css\" href=\"http://www.chsrf.ca/common/chsrf.css\"><style type=\"text/css\"> #relatedInformation { position: absolute; left: 460px; } h2.ia { width: 60%; } </style></head>');
		winprint.document.write('<body class=\"#print\">'); 
		winprint.document.write('<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" bgcolor=\"#FFFFFF\">');
		winprint.document.write('<tr><td width=\"23\" rowspan="3"><img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"23\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">');
		winprint.document.write('<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" bgcolor=\"#FFFFFF\">');
		winprint.document.write('<tr><td width="95%">');
		winprint.document.write('<img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"1\" height=\"15\" border=\"0\" alt=\"\"><div><img src=\"http://www.chsrf.ca/images/rebrand/logo_e.gif\" border=\"0\" alt=\"Canadian Health Services Research Foundation / Foundation canadienne de la recherche sue les services de santé\"></div><img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"1\" height=\"15\" border=\"0\" alt=\"\">');
		winprint.document.write('</td><td align="right" width="5%"><a href="javascript: window.print();">Print/Imprimez</a></td></tr>');
		winprint.document.write('</table>');
		winprint.document.write(sContent);
		//winprint.document.write(sTitle);
		winprint.document.write('<br><br>');
		winprint.document.write('</td><td width=\"23\"><img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"23\" height=\"1\" border=\"0\" alt=\"\"></td></tr>');
		winprint.document.write('<tr><td colspan=\"2\">&nbsp;</td></tr>');
		winprint.document.write('<tr><td colspan=\"2\" width=\"100%\" style=\"margin-top: 0.5em; border-top: 1px solid #7F0000;\">');
		winprint.document.write('<img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"1\" height=\"6\" border=\"0\" alt=\"\"><br><small>' + sFooter + '</small><br><img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"1\" height=\"6\" border=\"0\" alt=\"\"><br>');
		winprint.document.write('</td></tr>');
		winprint.document.write('</table>');
		winprint.document.write('</body>');
		winprint.document.write('</html>');
		winprint.document.close();
		winprint.focus(); 
	}
	
/* "Printable version" Communication Notes - Popup Script * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
function Print_comm() { 
	var whatLanguage = location.pathname;

	var sOption="toolbar=no,location=no,directories=no,menubar=no,scrollbars=yes,width=700,height=600,left=100,top=25";
	var sContent = document.getElementById('print-version').innerHTML;
	var sFooter = document.getElementById('footer').innerHTML;
	var winprint=window.open("","",sOption); 
		winprint.document.open(); 
		winprint.document.write('<html>');
		winprint.document.write('<head><title>Canadian Health Services Research Foundation / Fondation Canadienne de la recherche sur les services de sant&eacute;</title><link rel=\"stylesheet\" type=\"text/css\" href=\"http://www.chsrf.ca/common/chsrf.css\"><style type=\"text/css\"> #relatedInformation { position: absolute; left: 460px; } h2.ia { width: 60%; } </style></head>');
		winprint.document.write('<body class=\"#print\" style=\"margin: 0; background: #ffffff;\">'); 
		winprint.document.write('<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" bgcolor=\"#FFFFFF\">');
		winprint.document.write('<tr><td width=\"23\" rowspan="3"><img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"23\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">');
		winprint.document.write('<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" bgcolor=\"#FFFFFF\">');
		winprint.document.write('<tr><td width="80%">');
		winprint.document.write('<img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"1\" height=\"15\" border=\"0\" alt=\"\"><div><img src=\"http://www.chsrf.ca/images/rebrand/logo_e.gif\" border=\"0\" alt=\"Canadian Health Services Research Foundation / Foundation canadienne de la recherche sue les services de santé\"></div><img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"1\" height=\"15\" border=\"0\" alt=\"\">');
		winprint.document.write('</td><td align="right" width="5%"><a href="javascript: window.print();">Print/Imprimez</a></td></tr>');
		winprint.document.write('</table>');
		winprint.document.write('<img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"25\" height=\"1\" border=\"0\" alt=\"\"><img src="../../images/communication_notes/comm_notes_header.jpg\" alt=\"\" width=\"590\" height=\"107\" border=\"0\"><br>');
		winprint.document.write(sContent);
		winprint.document.write('<br><br>');
		winprint.document.write('</td><td width=\"23\"><img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"23\" height=\"1\" border=\"0\" alt=\"\"></td></tr>');
		winprint.document.write('<tr><td colspan=\"2\">&nbsp;</td></tr>');
		winprint.document.write('<tr><td colspan=\"2\" width=\"100%\" style=\"margin-top: 0.5em; border-top: 1px solid #7F0000;\">');
		winprint.document.write('<img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"1\" height=\"6\" border=\"0\" alt=\"\"><br><small>' + sFooter + '</small><br><img src=\"http://www.chsrf.ca/images/spacer.gif\" width=\"1\" height=\"6\" border=\"0\" alt=\"\"><br>');
		winprint.document.write('</td></tr>');
		winprint.document.write('</table>');
		winprint.document.write('</body>');
		winprint.document.write('</html>');
		winprint.document.close();
		winprint.focus(); 
	}
	
	
// "Send to a Friend" Popup Script * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
function Send() {
	var whatLanguage = location.pathname;
	if (whatLanguage.lastIndexOf("_e.") == -1) 
	{ 
		popupEmailWin = window.open('http://www.chsrf.ca/send_f.php', 'send', 'scrollbars=auto,width=475,height=475,left=380,top=50,resizable')
	} 
	else 
	{ 
		popupEmailWin = window.open('http://www.chsrf.ca/send_e.php', 'send', 'scrollbars=auto,width=475,height=475,left=380,top=50,resizable')
	}
}

// Screening Criteria Sheet Popup
function scs_popup(res_id) {
	var whatLanguage = location.pathname;
	if (whatLanguage.lastIndexOf("_e.") == -1) 
	{ 
		popupSCSWin = window.open('tools_view_f.php?id='+res_id, 'SCS', 'scrollbars=auto,width=580,height=480,left=450,top=50,resizable')
	} 
	else 
	{ 
		popupSCSWin = window.open('tools_view_e.php?id='+res_id, 'SCS', 'scrollbars=auto,width=580,height=480,left=450,top=50,resizable')
	}
}

 function toggleVisibility (obj, type) {
     var obj = document.getElementById(obj);
	switch(obj.className) {
     case 'Hide':
		obj.className = 'Reveal';
     	break;
	default:
     	obj.className = 'Hide';
	}
}