// JavaScript Document$(document).ready(function(){			$(".video").fancybox({				'frameWidth': 350, 					'frameHeight': 285,				'overlayShow': true,				'overlayOpacity': .8,				'zoomSpeedIn': 0,				'zoomSpeedOut': 0	});});$(document).ready(function(){	$("a.boxed").fancybox({		'overlayShow': true,		'overlayOpacity': .8	});});$(document).ready(function(){	$("a.moreInfoButton").fancybox({		'overlayShow': true,		'overlayOpacity': .8	});});<!-- Lightbox Script -->$(document).ready(function(){			$("a.lightbox").fancybox({			'overlayShow': true,			'overlayOpacity': .8	});});<!-- End Lightbox Script --><!-- Index Page Tabs -->$(document).ready(function(){    // setup ul.tabs to work as tabs for each div directly under div.panes     $("ul.tabs").tabs("div#featureContent > div",{    		// effect: 'fade',    		// fadeInSpeed: 10000,    		rotate: true,    		initialIndex: 2    	}); });$(document).ready(function(){    // setup ul.tabs to work as tabs for each div directly under div.panes     $("ul#brochureTabs").tabs("div#brochureContainer > div",{    		effect: 'fade',    		initialIndex: 1    	}); });<!-- SLIDERS -->		<!--Email Signup-->		$(document).ready(function() {				$(function () {					$("#emailForm").addClass("hide");				});				$("#emailSignup").click(function () {					$("#emailForm").slideToggle();				});				$("#emailForm span").click(function(event) {					event.preventDefault();					$("#emailForm").slideUp();				});			});		<!-- End Email Script -->				<!--Executive Staff-->				$(document).ready(function() {				$(function () {					$("#contacts").addClass("hide");				});				$("div#tab").click(function () {					$("#contacts").slideToggle(1500);				});				$("div#tab").click(function (){					$("p.openClose span").slideToggle();				});			});				<!--Exec Staff-->				<!-- Questions Form -->				$(document).ready(function() {				$(function () {					$("#questionsForm").addClass("hide");				});				$("#questions_Header").click(function () {					$("#questionsForm").slideToggle();				});				$("#questionsForm span").click(function(event) {					event.preventDefault();					$("#questionsForm").slideUp();				});			});				<!--Questions-->				<!--Equipment-->				$(document).ready(function() {				$(function () {					$("#usedEquipForm").addClass("hide");				});				$("#usedEquipForm_Header").click(function () {					$("#usedEquipForm").slideToggle();				});				$("#usedEquipForm span").click(function(event) {					event.preventDefault();					$("#usedEquipForm").slideUp();				});			});				<!--End Equipment-->				<!--Parts-->				$(document).ready(function() {				$(function () {					$("#partsForm").addClass("hide");				});				$("#partsForm_Header").click(function () {					$("#partsForm").slideToggle();				});				$("#partsForm span").click(function(event) {					event.preventDefault();					$("#partsForm").slideUp();				});			});				<!--End Parts-->				<!--NA Sales-->				$(document).ready(function() {				$(function () {					$("#NASalesForm").addClass("hide");				});				$("#NASalesForm_Header").click(function () {					$("#NASalesForm").slideToggle();				});				$("#NASalesForm span").click(function(event) {					event.preventDefault();					$("#NASalesForm").slideUp();				});			});				<!--End NA Sales-->				<!--Int Sales-->				$(document).ready(function() {				$(function () {					$("#IntSalesForm").addClass("hide");				});				$("#IntSalesForm_Header").click(function () {					$("#IntSalesForm").slideToggle();				});				$("#IntSalesForm span").click(function(event) {					event.preventDefault();					$("#IntSalesForm").slideUp();				});			});				<!--End Int Sales-->				<!--Contact-->				$(document).ready(function() {				$(function () {					$("#contactForm").addClass("hide");				});				$("#contactForm_Header").click(function () {					$("#contactForm").slideToggle();				});				$("#contactForm span").click(function(event) {					event.preventDefault();					$("#contactForm").slideUp();				});			});				<!--End Contact-->						<!-- END SLIDERS--><!-- Secondary Content Link move -->$(document).ready(function() {		$(".prodSecondaryContent a").hover(function () {    		$(this).animate({						paddingLeft: "10px"			}, 200);		}, function(){				$(this).stop().animate({					paddingLeft: "0px"				}, 200);			});				});<!-- End Secondary Content Movement --><!-- Brochure Preview Slider -->$(function() {    var _active = null;     var _hmax = 130;     var _hmin = 22; 	    $(".brochures li").each(function(){         $(this).hover(		                function(){                 $(this).animate({height: _hmax+"px"}, {queue:false, duration:300 });                 _active = $(this);   			},            function() {                 $(_active).stop().animate({height: _hmin+"px"}, {queue:false, duration:300});             }         );    }); });<!-- End Brochure Preview Slider --><!-- .pause() function -->$(function() {$.fn.pause = function(milli,type) {	milli = milli || 1000;	type = type || "fx";	return this.queue(type,function(){		var self = this;		setTimeout(function(){			$.dequeue(self);		},milli);	});};$.fn.clearQueue = $.fn.unpause = function(type) {	return this.each(function(){		type = type || "fx";		if(this.queue && this.queue[type]) {			this.queue[type].length = 0;		}	});};	});<!-- End Pause Function --><!-- eNews Modal -->$(function() {	$('.error').hide();	$("#signupModal .button").click(function() {																// validate code				$('.error').hide(); 		  var title = $("input#title").val();	        var name = $("input#name").val();          if (name == "") {        $("label#name_error").show();        $("input#name").focus();        return false;      }       var email = $("input#email").val();          if (email == "") {        $("label#email_error").show();        $("input#email").focus();        return false;      }  		var dataString = "title=" + title + '&name='+ name + '&email=' + email;  		// alert (dataString); return false;		$.ajax({		type: "POST",		url: "../processForms/process_enews.php",		data: dataString,		success: function()	{			//Tracking code for Google Analytics (GOAL)			_gaq.push(['_trackPageview', '/sign-up-complete.php']);			$('#signupModal').html("<div id='modalMessage'></div>");			$('#message').html("<h2>Sign Up Complete</h2>")			.append("<p>You have been signed up for the Harris e-News email</p>")			.append("<p class='thankYou'>Thank You</p>")			.hide()			.fadeIn(2000, function() {				$('#message')				.pause(2000)				.fadeIn(0, function() {				$('#emailForm').slideToggle();									   });			});			_gaq.push(['_trackPageview', '/sign-up-complete.php']);		}		});	return false;		});});<!-- end eNews Modal --><!-- Enews Signup -->$(function() {	$('.error').hide();	$("#emailForm .button").click(function() {																// validate code				$('.error').hide(); 		  var title = $("input#title").val();	        var name = $("input#name").val();          if (name == "") {        $("label#name_error").show();        $("input#name").focus();        return false;      }       var email = $("input#email").val();          if (email == "") {        $("label#email_error").show();        $("input#email").focus();        return false;      }  		var dataString = "title=" + title + '&name='+ name + '&email=' + email;  		// alert (dataString); return false;		$.ajax({		type: "POST",		url: "processForms/process_enews.php",		data: dataString,		success: function()	{			$('#emailForm').html("<div id='message'></div>");			$('#message').html("<h2>Sign Up Complete</h2>")			.append("<p>You have been signed up for the Harris e-News email</p>")			.append("<p class='thankYou'>Thank You</p>")			.hide()			.fadeIn(2000, function() {				$('#message')				.pause(2000)				.fadeIn(0, function() {				$('#emailForm').slideToggle();									   });			});		}		});	return false;		});});<!-- End ENews Signup--><!-- More Product Info -->$(function() {	$('.error').hide();	$("#questionsForm .button").click(function() {																// Validation										$('.error').hide();		var title = $("input#title").val();		var name = $("input#name").val();          if (name == "") {        $("label#name_error").show();        $("input#name").focus();        return false;      }		var company = $("input#company").val();          if (company == "") {        $("label#company_error").show();        $("input#company").focus();        return false;      }		var email = $("input#email").val();          if (email == "") {        $("label#email_error").show();        $("input#email").focus();        return false;      }		var phone = $("input#phone").val();          if (phone == "") {        $("label#phone_error").show();        $("input#phone").focus();        return false;      }		var address = $("input#address").val();		if (address == "") {        $("label#address_error").show();        $("input#address").focus();        return false;      } 		var city = $("input#city").val();          if (city == "") {        $("label#city_error").show();        $("input#city").focus();        return false;      } 		var state = $("input#state").val();          if (state == "") {        $("label#state_error").show();        $("input#state").focus();        return false;      } 		var zip = $("input#zip").val();          if (zip == "") {        $("label#zip_error").show();        $("input#zip").focus();        return false;      }		var country = $("select#country").val();		var machine = $("select#machine").val();		var source = $("select#source").val();			var comments = $("textarea#comments").val();		var dataString = "title=" + title + '&name=' + name + '&company=' + company + '&email=' + email + '&phone=' + phone + '&address=' + address + '&city=' + city + '&state=' + state + '&zip=' + zip + '&country=' + country + '&machine=' + machine + '&source=' + source + '&comments=' + comments;  		// alert (dataString); return false;		$.ajax({		type: "POST",		url: "processForms/hubspotForm1.php",		data: dataString,		success: function()	{			$('#questionsForm').html("<div id='message'></div>");			$('#message').html("<h2>Information Processed</h2>")			.append("<p>We have received your information request. Someone will be in touch with you soon. If you don't hear from Harris in 24 hours please contact Harris at 800.373.9131 or 770.631.7290</p>")			.append("<p class='thankYou'>Thank You</p>")			.hide()			.fadeIn(2000, function() {				$('#message')				.pause(5000)				.fadeIn(0)			});		}		});	return false;		});});<!-- End Product Information Form --><!-- Used Equipment Form -->$(function() {	$('.error').hide();	$("#usedEquipForm .button").click(function() {																// Validation										$('.error').hide();		var title = $("input#title").val();		var name = $("input#name").val();          if (name == "") {        $("label#name_error").show();        $("input#name").focus();        return false;      }		var company = $("input#company").val();          if (company == "") {        $("label#company_error").show();        $("input#company").focus();        return false;      }		var email = $("input#email").val();          if (email == "") {        $("label#email_error").show();        $("input#email").focus();        return false;      }		var phone = $("input#phone").val();          if (phone == "") {        $("label#phone_error").show();        $("input#phone").focus();        return false;      }		var machine = $("select#machine").val();		var comments = $("textarea#formcomments").val();		var dataString = 'title=' + title + '&name='+ name + '&company=' + company + '&email=' + email + '&phone=' + phone + '&machine=' + machine + '&comments=' + comments;  		// alert (dataString); return false;		$.ajax({		type: "POST",		url: "processForms/process_info.php",		data: dataString,		success: function()	{			$('#usedEquipForm').html("<div id='message'></div>");			$('#message').html("<h2>Information Processed</h2>")			.append("<p>We have received your information request. Someone will be in touch with you soon. If you don't hear from Harris in 24 hours please contact Harris at 800.373.9131 or 770.631.7290</p>")			.append("<p class='thankYou'>Thank You</p>")			.hide()			.fadeIn(2000, function() {				$('#message')				.pause(5000)				.fadeIn(0)			});		}		});	return false;		});});<!-- End Used Equipment Form --><!-- Parts Form -->$(function() {	$('.error').hide();	$("#partsForm .button").click(function() {																// Validation										$('.error').hide();		var title = $("input#title").val();		var name = $("input#name").val();          if (name == "") {        $("label#name_error").show();        $("input#name").focus();        return false;      }		var company = $("input#company").val();          if (company == "") {        $("label#company_error").show();        $("input#company").focus();        return false;      }		var email = $("input#email").val();          if (email == "") {        $("label#email_error").show();        $("input#email").focus();        return false;      }		var phone = $("input#phone").val();          if (phone == "") {        $("label#phone_error").show();        $("input#phone").focus();        return false;      }		var serialNumber = $("input#serialNumber").val();          if (phone == "") {        $("label#serialNumber_error").show();        $("input#serialNumber").focus();        return false;      } 		var machine = $("select#machine").val();		var comments = $("textarea#comments").val();		var dataString = "title=" + title + '&name='+ name + '&company=' + company + '&email=' + email + '&phone=' + phone + '&machine=' + machine + '&serialNumber=' + serialNumber + '&comments=' + comments;  		// alert (dataString); return false;		$.ajax({		type: "POST",		url: "processForms/process_parts.php",		data: dataString,		success: function()	{			$('#partsForm').html("<div id='message'></div>");			$('#message').html("<h2>Information Processed</h2>")			.append("<p>We have received your information request. Someone will be in touch with you soon. If you don't hear from Harris in 24 hours please contact Harris at 800.710.4994 or 770.631.7290</p>")			.append("<p class='thankYou'>Thank You</p>")			.hide()			.fadeIn(2000, function() {				$('#message')				.pause(5000)				.fadeIn(0)			});		}		});	return false;		});});<!-- End Parts Form --><!-- North American Sales Form -->$(function() {	$('.error').hide();	$("#NASalesForm .button").click(function() {																// Validation										$('.error').hide();			var title = $("input#title").val();		var name = $("input#name").val();          if (name == "") {        $("label#name_error").show();        $("input#name").focus();        return false;      }		var company = $("input#company").val();          if (company == "") {        $("label#company_error").show();        $("input#company").focus();        return false;      }		var email = $("input#email").val();          if (email == "") {        $("label#email_error").show();        $("input#email").focus();        return false;      }		var phone = $("input#phone").val();          if (phone == "") {        $("label#phone_error").show();        $("input#phone").focus();        return false;      }		var address = $("input#address").val();		if (address == "") {        $("label#address_error").show();        $("input#address").focus();        return false;      } 		var city = $("input#city").val();          if (city == "") {        $("label#city_error").show();        $("input#city").focus();        return false;      } 		var state = $("input#state").val();          if (state == "") {        $("label#state_error").show();        $("input#state").focus();        return false;      } 		var zip = $("input#zip").val();          if (zip == "") {        $("label#zip_error").show();        $("input#zip").focus();        return false;      }		var country = $("select#country").val();		var machine = $("select#machine").val();		var source = $("select#source").val();			var comments = $("textarea#formcomments").val();		var dataString = "title=" + title + '&name='+ name + '&company=' + company + '&email=' + email + '&phone=' + phone + '&address=' + address + '&city=' + city + '&state=' + state + '&zip=' + zip + '&country=' + country + '&machine=' + machine + '&source=' + source + '&comments=' + comments;  		// alert (dataString); return false;		$.ajax({		type: "POST",		url: "processForms/process_info.php",		data: dataString,		success: function()	{			$('#NASalesForm').html("<div id='message'></div>");			$('#message').html("<h2>Information Processed</h2>")			.append("<p>We have received your information request. Someone will be in touch with you soon. If you don't hear from Harris in 24 hours please contact Harris at 800.373.9131 or 770.631.7290</p>")			.append("<p class='thankYou'>Thank You</p>")			.hide()			.fadeIn(2000, function() {				$('#message')				.pause(10000)				.fadeIn(0, function() {				$('#NASalesForm').slideToggle();									   });			});		}		});	return false;		});});<!-- End North American Sales Form --><!-- International Sales Form -->$(function() {	$('.error').hide();	$("#IntSalesForm .button").click(function() {																// Validation										$('.error').hide();		var title = $("input#title").val();		var name = $("input#name").val();          if (name == "") {        $("label#name_error").show();        $("input#name").focus();        return false;      }		var company = $("input#company").val();          if (company == "") {        $("label#company_error").show();        $("input#company").focus();        return false;      }		var email = $("input#email").val();          if (email == "") {        $("label#email_error").show();        $("input#email").focus();        return false;      }		var phone = $("input#phone").val();          if (phone == "") {        $("label#phone_error").show();        $("input#phone").focus();        return false;      }		var address = $("input#address").val();		if (address == "") {        $("label#address_error").show();        $("input#address").focus();        return false;      } 		var city = $("input#city").val();          if (city == "") {        $("label#city_error").show();        $("input#city").focus();        return false;      }  		var state = $("input#state").val();          if (state == "") {        $("label#state_error").show();        $("input#state").focus();        return false;      } 		var country = $("select#country").val();		var machine = $("select#machine").val();		var source = $("select#source").val();			var comments = $("textarea#comments").val();		var dataString = "title=" + title + '&name='+ name + '&company=' + company + '&email=' + email + '&phone=' + phone + '&address=' + address + '&city=' + city + '&state=' + state + '&country=' + country + '&machine=' + machine + '&source=' + source + '&comments=' + comments;  		// alert (dataString); return false;		$.ajax({		type: "POST",		url: "processForms/process_info.php",		data: dataString,		success: function()	{			$('#IntSalesForm').html("<div id='message'></div>");			$('#message').html("<h2>Information Processed</h2>")			.append("<p>We have received your information request. Someone will be in touch with you soon. If you don't hear from Harris in 24 hours please contact Harris at 800.373.9131 or 770.631.7290</p>")			.append("<p class='thankYou'>Thank You</p>")			.hide()			.fadeIn(2000, function() {				$('#message')				.pause(10000)				.fadeIn(0, function() {				$('#IntSalesForm').slideToggle();									   });			});		}		});	return false;		});});<!-- End International Sales Form --><!-- Contact Page Form -->$(function() {	$('.error').hide();	$("#contactForm .button").click(function() {																// Validation										$('.error').hide();		var title = $("input#title").val();			var name = $("input#name").val();          if (name == "") {        $("label#name_error").show();        $("input#name").focus();        return false;      }		var email = $("input#email").val();          if (email == "") {        $("label#email_error").show();        $("input#email").focus();        return false;      }		var comments = $("textarea#comments").val();		var dataString = "title=" + title + '&name='+ name + '&email=' + email + '&comments=' + comments;  		// alert (dataString); return false;		$.ajax({		type: "POST",		url: "processForms/process_info.php",		data: dataString,		success: function()	{			$('#contactForm').html("<div id='message'></div>");			$('#message').html("<h2>Information Processed</h2>")			.append("<p>We have received your information request. Someone will be in touch with you soon. If you don't hear from Harris in 24 hours please contact Harris at 800.373.9131 or 770.631.7290</p>")			.append("<p class='thankYou'>Thank You</p>")			.hide()			.fadeIn(2000, function() {				$('#message')				.pause(3000)				.fadeIn(0, function() {				$('#IntSalesForm').slideToggle();									   });			});		}		});	return false;		});});<!-- End Contact Form --><!-- Email Change Remove Form -->$(function() {	$('.error').hide();	$(".removeForm .button").click(function() {																// Validation										$('.error').hide();		var title = $("input#title").val();		var firstName = $("input#firstName").val();          if (firstName == "") {        $("label#firstName_error").show();        $("input#firstName").focus();        return false;      }			var lastName = $("input#lastName").val();          if (lastName == "") {        $("label#lastName_error").show();        $("input#lastName").focus();        return false;      }		var email = $("input#email").val();          if (email == "") {        $("label#email_error").show();        $("input#email").focus();        return false;      }			var dataString = "title=" + title + '&firstName='+ firstName + '&lastName=' + lastName + '&email=' + email;  		// alert (dataString); return false;		$.ajax({		type: "POST",		url: "../processForms/emailChange.php",		data: dataString,		success: function()	{			$('.removeForm').html("<div id='message'></div>");			$('#message').html("<h2>Information Processed</h2>")			.append("<p>We have received your request.</p>")			.append("<p class='thankYou'>Thank You</p>")			.hide()			.fadeIn(2000, function() {				$('#message')				.pause(3000)				.fadeIn(0, function() {				$('#removeForm').slideToggle();									   });			});		}		});	return false;		});});<!-- Survey Tab Sign Up -->$(function() {	$('.error').hide();	$("#SurveyFormTab .button").click(function() {																// Validation										$('.error').hide();		var title = $("input#title").val();		var firstName = $("input#firstName").val();          if (firstName == "") {        $("label#required_error").show();        $("input#firstName").focus();        return false;      }        var lastName = $("input#lastName").val();          if (lastName == "") {        $("label#required_error").show();        $("input#lastName").focus();        return false;      }		var company = $("input#company").val();          if (company == "") {        $("label#required_error").show();        $("input#company").focus();        return false;      }		var email = $("input#email").val();          if (email == "") {        $("label#required_error").show();        $("input#email").focus();        return false;      }            var zip = $("input#zip").val();  		var phone = $("input#phone").val();          if (phone == "") {        $("label#required_error").show();        $("input#phone").focus();        return false;      }		var machine = $("input#machine").val();          if (machine == "") {        $("label#required_error").show();        $("input#machine").focus();        return false;      }         var manufacturer = $("input#manufacturer").val();  		var dataString = "title=" + title + '&firstName=' + firstName + "&lastName=" + lastName + '&company=' + company + '&email=' + email + "&zip=" + zip + '&phone=' + phone + '&machine=' + machine + '&manufacturer=' + manufacturer;  		// alert (dataString); return false;		$.ajax({		type: "POST",		url: "processForms/surveySignUp.php",		data: dataString,		success: function()	{			$('#SurveyFormTab').html("<div id='message'></div>");			$('#message').html("<h2>Registration Processed</h2>")			.append("<p>We have received your registration. You will be sent a link to the survey shortly. We appreciate your interest in helping Harris improve its product line.</p>")			.append("<p class='thankYou'>Thank You</p>")			.hide()			.fadeIn(2000, function() {				$('#message')				.pause(5000)				.fadeIn(0)			});		}		});	return false;		});});