<!--
$(document).ready(function() {
						   
// validation	
	
	$(".quote_request_form").validate({
	   submitHandler: function(form) {
		$(".quote_request_form").ajaxForm();
				$(".quote_request_form").ajaxForm();
				showSuccess = function (request,status){
					if (status == "Error") {
						$.fn.colorbox({
							href: "/marketing/micro-site/includes/modules/new/request-fail.cfm",
							width: '300',
							height: '180'
						});
					} else {
						$.fn.colorbox({
							href: "/marketing/micro-site/includes/modules/new/quote-request-success.cfm",
							width: '300',
							height: '180'
						});
						
						logOCPV('isconv=0|pover=Leased Line Quote');
						
						trackGoogleAnalyticsRequestConsultation();						
						
					}
				}
				
				
				
			$(".quote_request_form").ajaxSubmit({
			complete:showSuccess,
			resetForm:true
			});		

	   }
	})
	
	
	
		$(".consultation_request_form").validate({
	   submitHandler: function(form) {
		$(".consultation_request_form").ajaxForm();
				$(".consultation_request_form").ajaxForm();
				showSuccess = function (request,status){
					if (status == "Error") {
						$.fn.colorbox({
							href: "/marketing/micro-site/includes/modules/new/request-fail.cfm",
							width: '300',
							height: '180'
						});
					} else {
						$.fn.colorbox({
							href: "/marketing/micro-site/includes/modules/new/consultation-request-success.cfm",
							width: '300',
							height: '180'
						});
						
						logOCPV('isconv=0|pover=Leased Line Consultation');
						
						trackGoogleAnalyticsRequestConsultation()
						
					}
				}
				
				
				
			$(".consultation_request_form").ajaxSubmit({
			complete:showSuccess,
			resetForm:true
			});		

	   }
	})
	
	
			$("#frmContact").validate({
	   submitHandler: function(form) {
		$("#frmContact").ajaxForm();
				$("#frmContact").ajaxForm();
				showSuccess = function (request,status){
					if (status == "Error") {
						$.fn.colorbox({
							href: "/marketing/micro-site/includes/modules/new/request-fail.cfm",
							width: '300',
							height: '180'
						});
					} else {
						$.fn.colorbox({
							href: "/marketing/micro-site/includes/modules/new/contact-request-success.cfm",
							width: '300',
							height: '180'
						});
						
						logOCPV('isconv=0|pover=Website Contact');
						
						trackGoogleAnalyticsRequestConsultation();
						
					}
				}
				
				
				
			$("#frmContact").ajaxSubmit({
			complete:showSuccess,
			resetForm:true
			});		

	   }
	})
			
			
				$("#frmPartnerSignup").validate({
	   submitHandler: function(form) {
		$("#frmPartnerSignup").ajaxForm();
				$("#frmPartnerSignup").ajaxForm();
				showSuccess = function (request,status){
					if (status == "Error") {
						$.fn.colorbox({
							href: "/marketing/micro-site/includes/modules/new/request-fail.cfm",
							width: '300',
							height: '180'
						});
					} else {
						$.fn.colorbox({
							href: "/marketing/micro-site/includes/modules/new/contact-request-success.cfm",
							width: '300',
							height: '180'
						});
						
					}
				}
				
				
				
			$("#frmPartnerSignup").ajaxSubmit({
			complete:showSuccess,
			resetForm:true
			});		

	   }
	})	
				
				
				var strTracking = $("#strTracking").html();
				
					$("#frmGeneric").validate({
	   submitHandler: function(form) {
		$("#frmGeneric").ajaxForm();
				$("#frmGeneric").ajaxForm();
				showSuccess = function (request,status){
					if (status == "Error") {
						$.fn.colorbox({
							html: $("#msgFail").html(),
							width: 'auto',
							height: 'auto'
						});
					} else {
						$.fn.colorbox({
							html: $("#msgSuccess").html(),
							width: 'auto',
							height: 'auto'
						});
						
						logOCPV('isconv=0|pover='+strTracking+'');
						
						trackGoogleAnalyticsRequestConsultation()
						
					}
				}
				
				
				
			$("#frmGeneric").ajaxSubmit({
			complete:showSuccess,
			resetForm:true
			});		

	   }
	})				
	
	

	})	
//-->
