$.fn.setEmailBody = function(msg) {
	var siteProtocol = jQuery.url.attr("protocol");
    var siteHost = jQuery.url.attr("host");
    var sitePath = jQuery.url.attr("path");
    var sharePage = jQuery.url.attr("query");
	
	var objRegExp = /emailthis\//;
    var sitePath = sitePath.replace(objRegExp, "");
	
    if (sharePage == null || sharePage == "undefined")
        sharePage = "Home";
    var body = $(this).val() + " thought you may be interested in the information available at the "
 + "[lt]a href=\"" + siteProtocol + ":/" + "/" + siteHost + sitePath + "?" + sharePage + "\">Covidien Web Site[lt]/a>."
 + "[lt]p>" + msg +  "[lt]/p>";
    $("input[name='email_body']").attr("value", body);
	

}

$.fn.setEmailBCC = function() {
    var bcc = $(this).val() ;
    $("input[name='email_bcc']").attr("value", bcc);
}
