// ========== FEEDBACK
// This code creates the Feedback slideout box that appears after the user clicks the 
// Feedback sidebar button.

$('body').append('<div id="FeedbackBox" class="feedbackBox">' +
'<div class="confirmEnv">' +
    '<div id="FeedbackBoxTitleBar">' +
        '<div style="display:inline-block"><a href="#" id="closeFeedback"><i class="closeFBPane"></i></a></div>' +
    '</div>' +
    '<div id="FeedbackBoxBody">' +
        '<p id="confEnvTitle">Send us your feedback!</p>' + 
		'<p id="FeedbackBodyText">We would love to hear from you about your experience with our documentation.<br/>' +
		'Click the following link to send us an email.</p>' +
		'<p><a href = "mailto: WKFS-InfoDevSupport <WKFS-InfoDevSupport@wolterskluwer.com>?subject = Documentation Feedback&body = Message">Send Feedback</a></p>' +
		'<p class="FeedbackPostMsg">NOTE: If the link above does not display your email client, please copy and paste the following address to a new email message:<br/>' +
		'WKFS-InfoDevSupport@wolterskluwer.com</p>' +
    '</div>' +
'</div>' +
'</div>' +
'</div>');

$("#feedback").click(function(){
	$(".feedbackBox").addClass("show");
});
$("#closeFeedback").click(function(){
	$(".feedbackBox").removeClass("show");
});

