// =================================================================================================
//  pageIncludes.js - This file is for page includes on joinNPC. Uses revealing module pattern.
// -------------------------------------------------------------------------------------------------
var JoinNPC = JoinNPC || {};

JoinNPC.pageIncludes = function () {
	// ---------------------------------------------------------------------------------------------
	// 	slider() - Outputs the sliding contact us form
	//	@public
	// ---------------------------------------------------------------------------------------------
		var slider = function() {
			document.writeln("<div id=\"sliderContent\">");
			document.writeln("					<div id=\"sliderLeftColumn\">");
			document.writeln("						<h3>By Mail:<\/h3>");
			document.writeln("						");
			document.writeln("						<p>");
			document.writeln("							401 Wilshire Blvd., Suite 1100<br \/>");
			document.writeln("							Santa Monica, CA 90401<br \/>");
			document.writeln("						<\/p>");
			document.writeln("						");
			document.writeln("						<h3>By Phone:<\/h3>");
			document.writeln("						");
			document.writeln("						<p>");
			document.writeln("							1-800-881-7174<br \/>");
			document.writeln("							Mon-Fri 7 a.m.-4 p.m. PT");
			document.writeln("						<\/p>");
			document.writeln("						");
			document.writeln("						<h3>Careers:<\/h3>");
			document.writeln("						");
			document.writeln("						<p>");
			document.writeln("							<a href=\"https://www.jackson.com/careers/Index.jsp\" title=\"Click to View Careers\">");
			document.writeln("								Inquire About Career Opportunities With NPC");
			document.writeln("							<\/a>");
			document.writeln("						<\/p>");
			document.writeln("					<\/div>");
			document.writeln("					");
			document.writeln("					<div id=\"sliderRightColumn\">");
			document.writeln("						<h3>Adviser Request for Additional Information:<\/h3>");
			document.writeln("						");
			document.writeln("						<form id=\"contactUsForm\" name=\"contactUsForm\" action=\"https:\/\/www.natplan.com\/private\/joinNPC\/email.jsp\" method=\"post\" onsubmit=\"J.validate.submitForm(\'contactUsForm\', \'contactUsForm\')\">");
			document.writeln("							<p>Fields marked <em>*<\/em> are required.<\/p>");			
			document.writeln("							<input name=\"submitKey\" type=\"hidden\" value=\"yes\" \/>");
			document.writeln("							");
			document.writeln("							<label for=\"name\">Name<em>*<\/em> :<\/label>");
			document.writeln("							<input id=\"name\" name=\"name\" class=\"required\" title=\"Please Enter a First Name\" type=\"text\" \/>");
			document.writeln("							");
			document.writeln("							<br \/><br \/>");
			document.writeln("	");
			document.writeln("							<label for=\"phone\">Phone<em>*<\/em> :<\/label>");
			document.writeln("							<input id=\"phone\" name=\"phone\" class=\"required validate-phone\" title=\"Please Enter a Phone Number\" type=\"text\" \/>");
			document.writeln("							");
			document.writeln("							<br \/><br \/>");
			document.writeln("	");
			document.writeln("							");
			document.writeln("							<label for=\"email\">Email<em>*<\/em> :<\/label>");
			document.writeln("							<input id=\"email\" name=\"email\" class=\"required validate-email\" title=\"Please Enter an Email Address\" type=\"text\" \/>");
			document.writeln("							");
			document.writeln("							<br \/><br \/>");
			document.writeln("	");
			document.writeln("							How did you hear about us: ");
			document.writeln("							<select id=\"referral\" name=\"referral\" title=\"How Did You Hear About Us?\">");
			document.writeln("								<option>Select One<\/option>");
			document.writeln("								<option value=\"Advertising\">Advertising<\/option>");
			document.writeln("								<option value=\"Web Search\">Web Search<\/option>");
			document.writeln("								<option value=\"Direct Mail\">Direct Mail<\/option>");
			document.writeln("								<option value=\"Referral\">Referral<\/option>");
			document.writeln("								<option value=\"Referral\">Other<\/option>");			
			document.writeln("							<\/select>");
			document.writeln("							");
			document.writeln("							<br \/><br \/>");
			document.writeln("							");
			document.writeln("							Are you an OSJ?<em>*<\/em> &nbsp;&nbsp;&nbsp;");
			document.writeln("							Yes <input name=\"osj\" value=\"Yes\" class=\"validate-one-required\" title=\"Are You An OSJ?\" type=\"radio\" \/> &nbsp; No <input name=\"osj\" value=\"No\" type=\"radio\" \/>");
			document.writeln("							");
			document.writeln("							<div class=\"buttons\">");
			document.writeln("								<a href=\"#\" id=\"submitButtonShort\" class=\"submitButton\" onclick=\"J.validate.submitForm(\'submitButtonShort\', \'contactUsForm\')\">");
			document.writeln("									Submit");
			document.writeln("								<\/a>");
			document.writeln("							<\/div>");
			document.writeln("							");
			document.writeln("							<br \/>");
			document.writeln("						<\/form>");
			document.writeln("					<\/div>");
			document.writeln("				<\/div>");
			document.writeln("				<div id=\"sliderOpenCloseButton\">");
			document.writeln("					<a id=\"sliderToggleLink\" class=\"sliderToggleLink\" href=\"#\" class=\"topMenuAction\">");
			document.writeln("						Contact NPC");
			document.writeln("					<\/a>");
			document.writeln("				<\/div>");
		}
	// ---------------------------------------------------------------------------------------------
	
	
	// ---------------------------------------------------------------------------------------------
	//	copyrightYear() - Outputs the current year
	//	@public
	// ---------------------------------------------------------------------------------------------
		var copyrightYear = function() {
			document.write(new Date().getFullYear());
		};
	// ---------------------------------------------------------------------------------------------
	
	
	// ---------------------------------------------------------------------------------------------
	//	testimonals() - Outputs the testimonial slider
	//	@public
	// ---------------------------------------------------------------------------------------------
		var testimonials = function() {
			
		}
	// ---------------------------------------------------------------------------------------------
	
	
	// ---------------------------------------------------------------------------------------------
	// 	Return to public namespace
	// ---------------------------------------------------------------------------------------------
		return {
			slider:slider,
			copyrightYear:copyrightYear
		}
	// ---------------------------------------------------------------------------------------------
		
}();
// =================================================================================================

