|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/conceptlabs1/viateq/demo/ |
Upload File : |
/***************************************************
DATE: May 24, 2017
AUTHOR: VIATEQ CORPORATION / Dennis R. Dunston
DESCRIPTION: This Javascript helps to resolve form inputs and menu behavior.
***************************************************/
var str_html = "";
/***************************************************
Date for Signature
***************************************************/
function check_date_required(id) {
var d = new Date();
var n = d.getMonth()+1+"/"+d.getDate()+"/"+d.getFullYear();
document.getElementById(id).setAttribute('value',n);
return true;
}
function disableEnterKey(e) {
var key;
if(window.event)
key = window.event.keycode; // IE
else
key = e.which;
return (key !=13);
}
/***************************************************
Check Email
***************************************************/
function check_email(id) {
var regex = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.length < 3 || str.match(regex) == null) {
alert("Tanpri tape adrès imel ou ankò.");
document.getElementById(id).focus();
document.getElementById(id).select();
return false;
}
return true;
}
return true;
}
/***************************************************
Check Email
***************************************************/
function check_contact_email(id) {
var regex = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.length < 3 || str.match(regex) == null) {
alert("Tanpri tape adrès imel ou ankò.");
//alert("Please re-enter your point of contact email address.");
document.getElementById(id).focus();
document.getElementById(id).select();
//document.getElementById(id).value =" ";
return false;
}
}
return true;
}
/***************************************************
Attorney Email
***************************************************/
function check_attorney_email(id) {
var regex = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.length < 3 || str.match(regex) == null) {
alert("Tanpri tape adrès imel ou ankò.");
//alert("Please re-enter your representative or attorney email address.");
document.getElementById(id).focus();
document.getElementById(id).select();
//document.getElementById(id).value =" ";
return false;
}
}
return true;
}
/***************************************************
Check Telephone
***************************************************/
function check_agency_telephone(id) {
var phonenumber = document.getElementById(id).value;
var phoneno = /^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/;
phonenumber = phonenumber.trim();
document.getElementById(id).value = phonenumber;
if (phonenumber.match(phoneno))
{
return true;
}
else
{
alert("Tanpri tape nimewo telefòn ou ankò 999-999-9999.");
document.getElementById(id).focus();
document.getElementById(id).select();
return false;
}
}
/***************************************************
Check Telephone
***************************************************/
function check_telephone(id) {
var phonenumber = document.getElementById(id).value;
var phoneno = /^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/;
phonenumber = phonenumber.trim();
document.getElementById(id).value = phonenumber;
if (phonenumber.match(phoneno))
{
return true;
}
else
{
alert("Tanpri tape nimewo telefòn ou ankò 999-999-9999.");
document.getElementById(id).focus();
document.getElementById(id).select();
return false;
}
}
/***************************************************
Company Telephone
***************************************************/
function check_company_telephone(id) {
var phonenumber = document.getElementById(id).value;
var phoneno = /^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/;
phonenumber = phonenumber.trim();
document.getElementById(id).value = phonenumber;
if (phonenumber.match(phoneno))
{
return true;
}
else
{
alert("Tanpri tape nimewo telefòn ou ankò 999-999-9999.");
document.getElementById(id).focus();
document.getElementById(id).select();
return false;
}
}
/***************************************************
Check Telephone Required
***************************************************/
function check_telephone_required(id) {
var phonenumber = document.getElementById(id).value;
var phoneno = /^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/;
phonenumber = phonenumber.trim();
document.getElementById(id).value = phonenumber;
if (phonenumber.match(phoneno))
{
return true;
}
else
{
alert("Tanpri tape nimewo telefòn ou ankò 999-999-9999.");
document.getElementById(id).focus();
document.getElementById(id).select();
return false;
}
}
/***************************************************
Check Telephone Not Required for complainant
***************************************************/
function check_telephone_not_required2(id) {
var phonenumber = document.getElementById(id).value;
var phoneno = /^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/;
phonenumber = phonenumber.trim();
document.getElementById(id).value = phonenumber;
if (phonenumber.match(phoneno))
{
return true;
}
else
{
alert("Tanpri tape nimewo telefòn ou ankò 999-999-9999.");
document.getElementById(id).focus();
document.getElementById(id).select();
return false;
}
}
/***************************************************
Check Telephone Not Required
***************************************************/
function check_telephone_not_required(id) {
var phonenumber = document.getElementById(id).value;
var phoneno = /^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/;
phonenumber = phonenumber.trim();
document.getElementById(id).value = phonenumber;
if (phonenumber.match(phoneno))
{
return true;
}
else
{
alert("Tanpri tape nimewo telefòn ou ankò 999-999-9999.");
document.getElementById(id).focus();
document.getElementById(id).select();
return false;
}
}
/***************************************************
Telephone for Point of Contact
***************************************************/
function check_contact_telephone(id) {
var phonenumber = document.getElementById(id).value;
var phoneno = /^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/;
phonenumber = phonenumber.trim();
document.getElementById(id).value = phonenumber;
if (phonenumber.match(phoneno))
{
return true;
}
else
{
alert("Tanpri tape nimewo telefòn ou ankò 999-999-9999.");
document.getElementById(id).focus();
document.getElementById(id).select();
return false;
}
}
/***************************************************
Telephone for Attorney
***************************************************/
function check_attorney_telephone(id) {
var phonenumber = document.getElementById(id).value;
var phoneno = /^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$/;
phonenumber = phonenumber.trim();
document.getElementById(id).value = phonenumber;
if (phonenumber.match(phoneno))
{
return true;
}
else
{
alert("Tanpri tape nimewo telefòn ou ankò 999-999-9999.");
document.getElementById(id).focus();
document.getElementById(id).select();
return false;
}
}
/***************************************************
Check Zip code 2
***************************************************/
function check_zipcode2(id) {
var zipcodenumber = document.getElementById(id).value;
var zipcodeformat = /^[0-9]{5}(?:-[0-9]{4})?$/;
zipcodenumber = zipcodenumber.trim();
document.getElementById(id).value = zipcodenumber;
if (zipcodenumber.match(zipcodeformat))
{
return true;
}
else
{
alert("Tanpri tape nimewo zip kòd ou ankò: sou fòm 99999 oswa 99999-9999.");
document.getElementById(id).focus();
document.getElementById(id).select();
return false;
}
}
/***************************************************
Check to make sure a state is selected
***************************************************/
function check_state_selected(id) {
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length < 1 ) {
//alert("Required Field. Please select a state from the drop down list.");
document.getElementById(id).focus();
document.getElementById(id).select();
return false;
}
else
{
//document.getElementById('Zipcode1').select();
// document.getElementById('Zipcode1').focus();
return true;
}
}
/***************************************************
Check Zip code
***************************************************/
function check_zipcode(id) {
var zipcodenumber = document.getElementById(id).value;
var zipcodeformat = /^[0-9]{5}(?:-[0-9]{4})?$/;
zipcodenumber = zipcodenumber.trim();
document.getElementById(id).value = zipcodenumber;
if (zipcodenumber.match(zipcodeformat))
{
return true;
}
else
{
alert("Tanpri tape nimewo zip kòd ou ankò: sou fòm 99999 oswa 99999-9999.");
document.getElementById(id).focus();
document.getElementById(id).select();
return false;
}
}
/***************************************************
Check Zip code
***************************************************/
function check_company_zipcode(id) {
var zipcodenumber = document.getElementById(id).value;
var zipcodeformat = /^[0-9]{5}(?:-[0-9]{4})?$/;
zipcodenumber = zipcodenumber.trim();
document.getElementById(id).value = zipcodenumber;
if (zipcodenumber.match(zipcodeformat))
{
return true;
}
else
{
alert("Tanpri tape nimewo zip kòd ou ankò: sou fòm 99999 oswa 99999-9999.");
document.getElementById(id).focus();
document.getElementById(id).select();
return false;
}
}
/***************************************************
Contact Zip code
***************************************************/
function check_contact_zipcode(id) {
var zipcodenumber = document.getElementById(id).value;
var zipcodeformat = /^[0-9]{5}(?:-[0-9]{4})?$/;
zipcodenumber = zipcodenumber.trim();
document.getElementById(id).value = zipcodenumber;
if (zipcodenumber.match(zipcodeformat))
{
return true;
}
else
{
alert("Tanpri tape nimewo zip kòd ou ankò: sou fòm 99999 oswa 99999-9999.");
document.getElementById(id).focus();
document.getElementById(id).select();
return false;
}
}
/***************************************************
Check Zip code
***************************************************/
function check_attorney_zipcode(id) {
var zipcodenumber = document.getElementById(id).value;
var zipcodeformat = /^[0-9]{5}(?:-[0-9]{4})?$/;
zipcodenumber = zipcodenumber.trim();
document.getElementById(id).value = zipcodenumber;
if (zipcodenumber.match(zipcodeformat))
{
return true;
}
else
{
alert("Tanpri tape nimewo zip kòd ou ankò: sou fòm 99999 oswa 99999-9999.");
document.getElementById(id).focus();
document.getElementById(id).select();
return false;
}
}
/***************************************************
Check State name for special characters and blanks
***************************************************/
function check_state_required(id){
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length < 1) {
alert("Repons Obligatwa, tanpri chwazi yon eta nan lis ki desann nan.");
//document.getElementById(id).value ="";
document.getElementById(id).select();
//document.getElementById(id).focus();
return false;
}
else
{
//alert("Required Field. State ok.");
return true;
}
}
/***************************************************
Check State name for special characters and blanks
***************************************************/
function check_state_not_required(id){
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length < 1) {
alert("Repons Obligatwa, tanpri chwazi yon eta nan lis ki desann nan.");
//document.getElementById(id).value ="";
document.getElementById(id).select();
//document.getElementById(id).focus();
return false;
}
return true;
}
/***************************************************
***************************************************/
function check_textarea_required(id){
var regex = /^[òèa-zA-Z0-9-'\n\r()"*!;?:%#,/\\ .\b]+$/;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.match(regex) == null || str.match("ftp") || str.match(".jpg") || str.match(".png") || str.match(".gif") || str.match("file:") || str.match("http") || str.match(".jpeg")) {
alert("Yo pa pèmèt karaktè espesyal ( ` @ ~ | [ ] { } ^ ) ipèlyen, imaj, oswa adrès entènèt nan narasyon an.");
//alert("Required field. Please re-type your complaint narrative without special characters ( ` @ ~ | [ ] { } ^ ).");
document.getElementById(id).focus();
document.getElementById(id).select();
return false;
}
}
else
{
alert("Espas kote pou w ekri narasyon plent lan vid oswa li gen karaktè espesyal.");
//alert("Required field. Your complaint narrative is blank, please re-type.");
//document.getElementById(id).focus();
//document.getElementById(id).select();
return false;
}
return true;
}
/***************************************************
***************************************************/
function check_company_textarea_required(id){
var regex = /^[òèa-zA-Z0-9-'\n\r()"*!;?:%#,/\\ .\b]+$/;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.match(regex) == null || str.match("ftp") || str.match(".jpg") || str.match(".png") || str.match(".gif") || str.match("file:") || str.match("http") || str.match(".jpeg")) {
alert("Yo pa pèmèt karaktè espesyal ( ` @ ~ | [ ] { } ^ ) ipèlyen, imaj, oswa adrès entènèt nan narasyon an.");
//alert("Required field. Please re-type your discrimination narrative details without special characters ( ` @ ~ | [ ] { } ^ ).");
document.getElementById(id).focus();
document.getElementById(id).select();
return false;
}
}
else
{
alert("Espas kote pou w ekri narasyon plent lan vid oswa li gen karaktè espesyal.");
//alert("Required field. Your discrimination narrative is blank.");
document.getElementById(id).focus();
document.getElementById(id).select();
return false;
}
return true;
}
/***************************************************
Check Name (First, Middle, and Last) for special characters and blanks
***************************************************/
function check_name_required(id){
var regex = /^[òèa-zA-Z-'\n\r .\b]+$/;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
// document.getElementById(id).select();
// document.getElementById(id).focus();
if (str.length > 0) {
if (str.match(regex) == null || str.match("ftp") || str.match(".jpg") || str.match(".png") || str.match(".gif") || str.match("file:") || str.match("http") ) {
alert("Repons Obligatwa, tanpri tape yon prenon, dezyèm non, ak siyati ki valid.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
}
else
{
alert("Repons Obligatwa, tanpri tape yon prenon, dezyèm non, ak siyati ki valid.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
// document.getElementById(id).select();
// document.getElementById(id).focus();
return true;
}
/***************************************************
Check Name (First, Middle, and Last) for special characters and blanks
***************************************************/
function check_name_not_required(id){
var regex = /^[òèa-zA-Z-'\n\r .\b]+$/;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.match(regex) == null || str.match("ftp") || str.match(".jpg") || str.match(".png") || str.match(".gif") || str.match("file:") || str.match("http") ) {
alert("Repons Obligatwa, tanpri tape yon prenon, dezyèm non, ak siyati ki valid.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
}
return true;
}
/***************************************************
Check Name (First, Middle, and Last) for special characters and blanks
***************************************************/
function check_contact_name(id){
var regex = /^[òèa-zA-Z-'\n\r .\b]+$/;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.match(regex) == null || str.match("ftp") || str.match(".jpg") || str.match(".png") || str.match(".gif") || str.match("file:") || str.match("http") ) {
alert("Repons Obligatwa, tanpri tape yon prenon, dezyèm non, ak siyati ki valid.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
}
return true;
}
/***************************************************
Check Name (First, Middle, and Last) for special characters and blanks
***************************************************/
function check_attorney_name(id){
var regex = /^[òèa-zA-Z-'\n\r .\b]+$/;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.match(regex) == null || str.match("ftp") || str.match(".jpg") || str.match(".png") || str.match(".gif") || str.match("file:") || str.match("http") ) {
alert("Repons Obligatwa, tanpri tape yon prenon, dezyèm non, ak siyati ki valid.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
}
return true;
}
/***************************************************
Signature
***************************************************/
function check_signature_required(id){
var regex = /^[òèa-zA-Z-'\n\r .\b]+$/;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.match(regex) == null || str.match("ftp") || str.match(".jpg") || str.match(".png") || str.match(".gif") || str.match("file:") || str.match("http") ) {
alert("Repons Obligatwa, tanpri tape yon prenon, dezyèm non, ak siyati ki valid.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
}
else
{
alert("Repons Obligatwa, tanpri tape yon prenon, dezyèm non, ak siyati ki valid.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
return true;
}
/***************************************************
Check contact name for allegations.
***************************************************/
function check_allegations_contact_name(id){
var regex = /^[òèa-zA-Z-'\n\r .\b]+$/;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.match(regex) == null || str.match("ftp") || str.match(".jpg") || str.match(".png") || str.match(".gif") || str.match("file:") || str.match("http") ) {
alert("Repons Obligatwa, tanpri tape yon non konpayi ki valid");
//alert("Please type a valid allegations of employment discrimination contact name.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
}
else
{
alert("Repons Obligatwa, tanpri tape yon non konpayi ki valid");
//alert("Please type a valid allegations of employment discrimination contact name.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
return true;
}
/***************************************************
Address Company
***************************************************/
function check_company_address_required(id){
var regex = /^[òèa-zA-Z0-9-'#, .\b]+$/;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.match(regex) == null || str.match("ftp") || str.match(".jpg") || str.match(".png") || str.match(".gif") || str.match("file:") || str.match("http") ) {
alert("Repons Obligatwa, tanpri tape yon adrès ki valid.");
//alert("Required Field. Please type in a valid company street address.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
}
else
{
alert("Repons Obligatwa, tanpri tape yon adrès ki valid.");
//alert("Required Field. Please type in a valid company street address.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
return true;
}
/***************************************************
Check address for special characters and blanks
***************************************************/
function check_address_required(id){
var regex = /^[òèa-zA-Z0-9-'#, .\b]+$/;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.match(regex) == null || str.match("ftp") || str.match(".jpg") || str.match(".png") || str.match(".gif") || str.match("file:") || str.match("http") ) {
alert("Repons Obligatwa, tanpri tape yon adrès ki valid.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
}
return true;
}
/***************************************************
Check address for special characters and blanks
***************************************************/
function check_address_not_required(id){
var regex = /^[òèa-zA-Z0-9-'#, .\b]+$/;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.match(regex) == null || str.match("ftp") || str.match(".jpg") || str.match(".png") || str.match(".gif") || str.match("file:") || str.match("http") ) {
alert("Repons Obligatwa, tanpri tape yon adrès ki valid.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
}
return true;
}
/***************************************************
Check address for special characters and blanks
***************************************************/
function check_contact_address(id){
var regex = /^[òèa-zA-Z0-9-'#, .\b]+$/;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.match(regex) == null || str.match("ftp") || str.match(".jpg") || str.match(".png") || str.match(".gif") || str.match("file:") || str.match("http") ) {
alert("Repons Obligatwa, tanpri tape yon adrès ki valid.");
//alert("Please type in a valid street address for the point of contact.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
}
return true;
}
/***************************************************
Check address for special characters and blanks
***************************************************/
function check_attorney_address(id){
var regex = /^[òèa-zA-Z0-9-'#, .\b]+$/;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.match(regex) == null || str.match("ftp") || str.match(".jpg") || str.match(".png") || str.match(".gif") || str.match("file:") || str.match("http") ) {
alert("Repons Obligatwa, tanpri tape yon adrès ki valid.");
//alert("Please type a valid street address for representative or attorney.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
}
return true;
}
/***************************************************
Check City name for special characters and blanks
***************************************************/
function check_city_name_required(id){
var regex = /^[òèa-zA-Z0-9-'#, .\b]+$/;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.match(regex) == null || str.match("ftp") || str.match(".jpg") || str.match(".png") || str.match(".gif") || str.match("file:") || str.match("http") ) {
alert("Repons Obligatwa, tanpri tape yon non vil ki valid.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
}
else
{
alert("Repons Obligatwa, tanpri tape yon non vil ki valid.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
return true;
}
/***************************************************
Check City name for special characters and blanks
***************************************************/
function check_company_city_name_required(id){
var regex = /^[òèa-zA-Z0-9-'#, .\b]+$/;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.match(regex) == null || str.match("ftp") || str.match(".jpg") || str.match(".png") || str.match(".gif") || str.match("file:") || str.match("http") ) {
alert("Non vil kote konpayi an ye manke oswa li gen karaktè espesyal.");
//alert("Required Field. Please enter a valid city name for the company.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
}
else
{
alert("Non vil kote konpayi an ye manke oswa li gen karaktè espesyal.");
//alert("Required Field. Please enter a valid city name for the company.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
return true;
}
/***************************************************
Check City name for special characters and blanks
***************************************************/
function check_city_name_not_required(id){
var regex = /^[òèa-zA-Z0-9-'#, .\b]+$/;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.match(regex) == null || str.match("ftp") || str.match(".jpg") || str.match(".png") || str.match(".gif") || str.match("file:") || str.match("http") ) {
alert("Repons Obligatwa, tanpri tape yon non vil ki valid.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
}
return true;
}
/***************************************************
Check City name for special characters and blanks
***************************************************/
function check_contact_city_name(id){
var regex = /^[òèa-zA-Z0-9-'#, .\b]+$/;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.match(regex) == null || str.match("ftp") || str.match(".jpg") || str.match(".png") || str.match(".gif") || str.match("file:") || str.match("http") ) {
alert("Repons Obligatwa, tanpri tape yon non vil ki valid.");
//alert("Please enter a valid city name for the point of contact.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
}
return true;
}
/***************************************************
Check City name for special characters and blanks
***************************************************/
function check_attorney_city_name(id){
var regex = /^[òèa-zA-Z0-9-'#, .\b]+$/;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.match(regex) == null || str.match("ftp") || str.match(".jpg") || str.match(".png") || str.match(".gif") || str.match("file:") || str.match("http") ) {
alert("Repons Obligatwa, tanpri tape yon non vil ki valid.");
//alert("Please type a valid city name for representative or attorney.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
}
return true;
}
/***************************************************
Check Agency and Company Name for special characters and blanks
***************************************************/
function check_company_name_required(id){
var regex = /^[òèa-zA-Z0-9-'#, .\b]+$/;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.match(regex) == null || str.match("ftp") || str.match(".jpg") || str.match(".png") || str.match(".gif") || str.match("file:") || str.match("http") ) {
alert("Repons Obligatwa, tanpri tape yon non konpayi ki valid.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
}
else
{
alert("Repons Obligatwa, tanpri tape yon non konpayi ki valid.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
return true;
}
/***************************************************
Check Agency and Company Name for special characters and blanks
***************************************************/
function check_agency_name(id){
var regex = /^[òèa-zA-Z0-9-'#, .\b]+$/;
str = document.getElementById(id).value;
str = str.trim();
document.getElementById(id).value = str;
if (str.length > 0) {
if (str.match(regex) == null || str.match("ftp") || str.match(".jpg") || str.match(".png") || str.match(".gif") || str.match("file:") || str.match("http") ) {
alert("Non ajans lan manke.");
//alert("Required Field , please type a valid agency name.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
}
else
{
alert("Non ajans lan manke.");
//alert("Required Field , please type a valid agency name.");
document.getElementById(id).select();
document.getElementById(id).focus();
return false;
}
return true;
}
/***************************************************
MISC -
***************************************************/
function validateForm(id) {
document.getElementById("myform").Instructions.value = "NoShow";
document.myform.submit();
}
function clear_form() {
document.myform.reset();
return false;
}
function instructions() {
document.myform2.submit();
return false;
}
/***************************************************
GO BACK
***************************************************/
function goBack() {
window.history.back();
}
/***************************************************
Treatedc - Switches buttons on and off
***************************************************/
function change_button_value(id) {
str = id;
//alert("Element: --->" + str);
if (str.match("Treated5")) {
//document.getElementById("Treated5").value ="1";
//document.getElementById("Treated6").value ="0";
//document.getElementById("Treated5").checked = true;
//document.getElementById("Treated6").checked = false;
if (document.getElementById("Treated5").checked == true) {
//alert("False");
document.getElementById("Treated5").checked = true;
}
else
{
//alert("True");
document.getElementById("Treated5").checked = false;
}
}
if (str.match("Treated6")) {
//document.getElementById("Treated6").value ="0";
//document.getElementById("Treated5").value ="1";
//document.getElementById("Treated6").checked = true;
//document.getElementById("Treated5").checked = false;
if (document.getElementById("Treated6").checked == true) {
document.getElementById("Treated6").checked = true;
}
else
{
document.getElementById("Treated6").checked = false;
}
}
if (str.match("Attorney5_You")) {
//document.getElementById("Attorney5_You").value ="1";
//document.getElementById("Attorney6_You").value ="0";
//document.getElementById("Attorney5_You").checked = true;
//document.getElementById("Attorney6_You").checked = false;
if (document.getElementById("Attorney5_You").checked == true) {
document.getElementById("Attorney5_You").checked = true;
}
else
{
document.getElementById("Attorney5_You").checked = false;
}
}
if (str.match("Attorney6_You")) {
//document.getElementById("Attorney6_You").value ="2";
//document.getElementById("Attorney5_You").value ="0";
//document.getElementById("Attorney6_You").checked = true;
//document.getElementById("Attorney5_You").checked = false;
if (document.getElementById("Attorney6_You").checked == true) {
document.getElementById("Attorney6_You").checked = true;
}
else
{
document.getElementById("Attorney6_You").checked = false;
}
}
if (str.match("Home1")) {
if (document.getElementById("Home1").checked == true) {
//alert("False");
document.getElementById("Home1").checked = true;
}
else
{
//alert("True");
document.getElementById("Home1").checked = false;
}
}
if (str.match("Work1")) {
if (document.getElementById("Work1").checked == true) {
//alert("False");
document.getElementById("Work1").checked = true;
}
else
{
//alert("True");
document.getElementById("Work1").checked = false;
}
}
if (str.match("Cell1")) {
if (document.getElementById("Cell1").checked == true) {
//alert("False");
document.getElementById("Cell1").checked = true;
}
else
{
//alert("True");
document.getElementById("Cell1").checked = false;
}
}
if (str.match("Home2")) {
if (document.getElementById("Home2").checked == true) {
//alert("False");
document.getElementById("Home2").checked = true;
}
else
{
//alert("True");
document.getElementById("Home2").checked = false;
}
}
if (str.match("Work2")) {
if (document.getElementById("Work2").checked == true) {
//alert("False");
document.getElementById("Work2").checked = true;
}
else
{
//alert("True");
document.getElementById("Work2").checked = false;
}
}
if (str.match("Cell2")) {
if (document.getElementById("Cell2").checked == true) {
//alert("False");
document.getElementById("Cell2").checked = true;
}
else
{
//alert("True");
document.getElementById("Cell2").checked = false;
}
}
if (str.match("Allegations_Yes")) {
if (document.getElementById("Allegations_Yes").checked == true) {
//alert("yes - False");
document.getElementById("Allegations_Yes").checked = true;
document.getElementById("Allegations_No").checked = false;
}
else
{
//alert("yes - True");
document.getElementById("Allegations_Yes").checked = false;
//document.getElementById("Allegations_No").checked = false;
}
}
if (str.match("Allegations_No")) {
//alert("All no");
if (document.getElementById("Allegations_No").checked == true) {
alert("no - False");
document.getElementById("Allegations_No").checked = true;
document.getElementById("Allegations_Yes").checked = false;
}
else
{
alert(" no - True");
document.getElementById("Allegations_No").checked = false;
//document.getElementById("Allegations_Yes").checked = false;
}
}
}
/***************************************************
Message some buttons before input.
***************************************************/
function message_for_button(id) {
str = id;
if (str.match("Allegations_Yes")) {
alert("Please enter the agency name, agency point of contact, and agency telephone number.");
}
}
/***************************************************
on_off - Switches buttons on and off
***************************************************/
function button_on_off(id) {
str = id;
document.getElementById(id).select();
document.getElementById(id).focus();
/*alert("Element: --->" + str);*/
if (document.getElementById(id).value == 1) {
document.getElementById(id).value = 0;
document.getElementById(id).checked = false;
}
else
{
document.getElementById(id).value = 1;
document.getElementById(id).checked = true;
}
}
/***************************************************
on_or_off - Switches buttons on or off
***************************************************/
function test(event,id,id2) {
//var key;
var key = event.which || event.keyCode;
alert("Keypressed = " + key);
return true;
}
/***************************************************
on_or_off - Switches buttons on or off
***************************************************/
function button_on_or_off(event,id,id2) {
//var key;
var key = event.which || event.keyCode;
//alert("Keypressed = " + key);
//alert("ID = " + document.getElementById(id).checked);
// Opera 8.0+ (UA detection to detect Blink/v8-powered Opera)
isOpera = !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0;
// Firefox 1.0+
isFirefox = typeof InstallTrigger !== 'undefined';
// Safari 3.0+
isSafari = /constructor/i.test(window.HTMLElement) || (function (p) { return p.toString() === "[object SafariRemoteNotification]"; })(!window['safari'] || safari.pushNotification);
// Internet Explorer 6-11
isIE = /*@cc_on!@*/false || !!document.documentMode;
// Edge 20+
//isEdge = !isIE && !!window.StyleMedia;
// Chrome 1+
isChrome = !!window.chrome && !!window.chrome.webstore;
// Blink engine detection
//isBlink = (isChrome || isOpera) && !!window.CSS;
//alert("IsOpera :" + isOpera);
//alert("isFirefox :" + isFirefox);
//alert("isSafari :" + isSafari);
//alert("isIE :" + isIE);
//alert("isChrome :" + isChrome);
document.getElementById(id).select();
document.getElementById(id).focus();
//alert("Keypressed = " + key);
if (key == 32) {
if (isIE) {
if (document.getElementById(id).checked == "" || document.getElementById(id).checked == false) {
//alert(" ie ID = false");
document.getElementById(id2).checked = false;
document.getElementById(id).checked = true;
//if (document.getElementById(id2).checked == true) {
// document.getElementById(id2).checked = false;
//}
}
else
{
//alert(" ie ID = True");
document.getElementById(id).checked = false;
}
return true;
}
if (isSafari) {
if (document.getElementById(id).checked == "" || document.getElementById(id).checked == false) {
// alert("safa ID = false");
document.getElementById(id).checked = false;
}
else
{
document.getElementById(id2).checked = false;
// alert(" safa ID = True");
document.getElementById(id).checked = true;
if (document.getElementById(id2).checked == true) {
document.getElementById(id2).checked = false;
}
}
return true;
}
if (isChrome) {
//alert("o chr ID");
if (document.getElementById(id).checked == "" || document.getElementById(id).checked == false) {
// alert("chr ID = false");
document.getElementById(id).checked = false;
}
else
{
//if (document.getElementById(id2).checked == true) {
document.getElementById(id2).checked = false;
//}
// alert("chr ID = True");
document.getElementById(id).checked = true;
}
return true;
}
}
else
{
if (isChrome) {
//alert("chr ID = false");
if (document.getElementById(id).checked == "" || document.getElementById(id).checked == false) {
// alert("chr ID = false");
document.getElementById(id).checked = false;
}
else
{
//if (document.getElementById(id2).checked == true) {
document.getElementById(id2).checked = false;
//}
// alert("chr ID = True");
document.getElementById(id).checked = true;
}
return true;
}
if (isFirefox) {
if (document.getElementById(id).checked == "" || document.getElementById(id).checked == false) {
//alert("fire ID = false");
document.getElementById(id).checked = false;
}
else
{
document.getElementById(id2).checked = false;
//alert(" fire ID = True");
document.getElementById(id).checked = true;
if (document.getElementById(id2).checked == true) {
document.getElementById(id2).checked = false;
}
}
return true;
}
}
return true;
} //End of Function
/***************************************************
on_or_off 2 just the event and the id - Switches buttons on or off
***************************************************/
function button_on_or_off2(event,id) {
//var key;
var key = event.which || event.keyCode;
//alert("Keypressed = " + key);
//alert("ID = " + document.getElementById(id).checked);
// Opera 8.0+ (UA detection to detect Blink/v8-powered Opera)
isOpera = !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0;
// Firefox 1.0+
isFirefox = typeof InstallTrigger !== 'undefined';
// Safari 3.0+
isSafari = /constructor/i.test(window.HTMLElement) || (function (p) { return p.toString() === "[object SafariRemoteNotification]"; })(!window['safari'] || safari.pushNotification);
// Internet Explorer 6-11
isIE = /*@cc_on!@*/false || !!document.documentMode;
// Edge 20+
//isEdge = !isIE && !!window.StyleMedia;
// Chrome 1+
isChrome = !!window.chrome && !!window.chrome.webstore;
// Blink engine detection
//isBlink = (isChrome || isOpera) && !!window.CSS;
//alert("IsOpera :" + isOpera);
//alert("isFirefox :" + isFirefox);
//alert("isSafari :" + isSafari);
//alert("isIE :" + isIE);
//alert("isChrome :" + isChrome);
//alert("Keypressed = " + key);
document.getElementById(id).select();
document.getElementById(id).focus();
if (key == 32) {
if (isIE) {
if (document.getElementById(id).checked == "" || document.getElementById(id).checked == false) {
//alert(" ie ID = false");
document.getElementById(id).checked = true;
}
else
{
//alert(" ie ID = True");
document.getElementById(id).checked = false;
}
return true;
}
if (isSafari) {
if (document.getElementById(id).checked == "" || document.getElementById(id).checked == false) {
// alert("safa ID = false");
document.getElementById(id).checked = false;
}
else
{
// alert(" safa ID = True");
document.getElementById(id).checked = true;
}
return true;
}
if (isChrome) {
//alert("o chr ID");
if (document.getElementById(id).checked == "" || document.getElementById(id).checked == false) {
// alert("chr ID = false");
document.getElementById(id).checked = false;
}
else
{
// alert("chr ID = True");
document.getElementById(id).checked = true;
}
return true;
}
}
else
{
if (isChrome) {
//alert("chr ID = false");
if (document.getElementById(id).checked == "" || document.getElementById(id).checked == false) {
// alert("chr ID = false");
document.getElementById(id).checked = false;
}
else
{
// alert("chr ID = True");
document.getElementById(id).checked = true;
}
return true;
}
if (isFirefox) {
if (document.getElementById(id).checked == "" || document.getElementById(id).checked == false) {
//alert("fire ID = false");
document.getElementById(id).checked = false;
}
else
{
//alert(" fire ID = True");
document.getElementById(id).checked = true;
}
return true;
}
}
return true;
} //End of Function
/***************************************************
on_or_off - Switches buttons on or off
***************************************************/
function mouse_on_or_off(id,id2) {
document.getElementById(id).select();
document.getElementById(id).focus();
if (document.getElementById(id).checked == "" || document.getElementById(id).checked == false) {
//document.getElementById(id).focus();
//document.getElementById(id).select();
document.getElementById(id).checked = false;
}
else
{
//document.getElementById(id).focus();
//document.getElementById(id).select();
document.getElementById(id).checked = true;
if (document.getElementById(id2).checked == true) {
// document.getElementById(id2).select();
document.getElementById(id2).checked = false;
}
}
} //End of Function
/***************************************************
BUILDHTML
***************************************************/
function buildhtml(text) {
str_html = str_html + text + "\n"
return true;
}
/***************************************************
PADDING
***************************************************/
function padd(text,len) {
fill = " ";
text = text + fill;
//text = "<u><pre>" + text.substring(text, len) + "</pre></u>";
//text = "<u>" + text.substring(text, len) + "</u>";
//text = text.substring(text, len);
text = '<input size=' + len + ' width=auto type=text value="' + text + '">';
return text;
}
function validateForm(id) {
document.getElementById("myform").Instructions.value = "NoShow";
document.myform.submit();
}
/***************************************************
PRINT FORM
***************************************************/
function print_form() {
//alert("print");
//document.getElementById("myform").Instructions.value = "MyPrint";
//alert(document.getElementById("myform").Instructions.value);
//document.getElementById("log").innerHTML="<h1>some thing you want</h1>";
//document.myform.submit();
F_Fullname1 = document.getElementById("Fullname1").value;
F_Address1 = document.getElementById("Address1").value;
F_City1 = document.getElementById("City1").value;
F_State1 = document.getElementById("state1").value;
F_Zipcode1 = document.getElementById("Zipcode1").value;
F_Telephone1 = document.getElementById("Telephone1").value;
F_Home1 = "";
if (document.getElementById("Home1").checked) { F_Home1 = "checked";}
F_Work1 = "";
if (document.getElementById("Work1").checked) { F_Work1 = "checked";}
F_Cell1 = "";
if (document.getElementById("Cell1").checked) { F_Cell1 = "checked";}
F_Email1 = document.getElementById("Email1").value;
F_Allegations_Yes = "";
if (document.getElementById("Allegations_Yes").checked) {F_Allegations_Yes = "checked";}
F_Allegations_No = "";
if (document.getElementById("Allegations_No").checked) {F_Allegations_No = "checked";}
F_Agency_Name1 = document.getElementById("Agency_Name1").value;
F_Agency_POC1 = document.getElementById("Agency_POC1").value;
F_Agency_Telephone1 = document.getElementById("Agency_Telephone1").value;
F_Fullname2 = document.getElementById("Fullname2").value;
F_Address2 = document.getElementById("Address2").value;
F_City2 = document.getElementById("City2").value;
F_State2 = document.getElementById("state2").value;
F_Zipcode2 = document.getElementById("Zipcode2").value;
F_Telephone2 = document.getElementById("Telephone2").value;
F_Home2 = "";
if (document.getElementById("Home2").checked) { F_Home2 = "checked";}
F_Work2 = "";
if (document.getElementById("Work2").checked) { F_Work2 = "checked";}
F_Cell2 = "";
if (document.getElementById("Cell2").checked) { F_Cell2 = "checked";}
F_Email2 = document.getElementById("Email2").value;
F_Fullname3 = document.getElementById("Fullname3").value;
F_Address3 = document.getElementById("Address3").value;
F_City3 = document.getElementById("City3").value;
F_State3 = document.getElementById("state3").value;
F_Zipcode3 = document.getElementById("Zipcode3").value;
F_Telephone3 = document.getElementById("Telephone3").value;
F_Narrative5 = document.getElementById("Narrative5").value;
F_Race40 = "";
if (document.getElementById("Race40").checked) {F_Race40 = "checked";}
F_Race41 = "";
if (document.getElementById("Race41").checked) {F_Race41 = "checked";}
F_Race42 = "";
if (document.getElementById("Race42").checked) {F_Race42 = "checked";}
F_Race43 = "";
if (document.getElementById("Race43").checked) {F_Race43 = "checked";}
F_Race44 = "";
if (document.getElementById("Race44").checked) {F_Race44 = "checked";}
F_Race45 = "";
if (document.getElementById("Race45").checked) {F_Race45 = "checked";}
F_National_Origin41 = "";
if (document.getElementById("National_Origin41").checked) {F_National_Origin41 = "checked";}
F_National_Origin411 = "";
if (document.getElementById("National_Origin411").checked) {F_National_Origin411 = "checked";}
F_National_Origin412 = "";
if (document.getElementById("National_Origin412").checked) {F_National_Origin412 = "checked";}
F_Race4_Tribal_Affiliation4 = document.getElementById("Race4_Tribal_Affiliation4").value;
F_Color4 = "";
if (document.getElementById("Color4").checked) {F_Color4 = "checked";}
F_Religion4 = "";
if (document.getElementById("Religion4").checked) {F_Religion4 = "checked";}
F_Sex4 = "";
if (document.getElementById("Sex4").checked) {F_Sex4 = "checked";}
F_Sexual_Orientation4 = "";
if (document.getElementById("Sexual_Orientation4").checked) {F_Sexual_Orientation4 = "checked";}
F_Gender_Identity4 = "";
if (document.getElementById("Gender_Identity4").checked) {F_Gender_Identity4 = "checked";}
F_Inquiring_About_Pay4 = "";
if (document.getElementById("Inquiring_About_Pay4").checked) {F_Inquiring_About_Pay4 = "checked";}
F_Discussing_Pay4 = "";
if (document.getElementById("Discussing_Pay4").checked) {F_Discussing_Pay4 = "checked";}
F_Disclosing_Pay4 = "";
if (document.getElementById("Disclosing_Pay4").checked) {F_Disclosing_Pay4 = "checked";}
F_Protected_Veteran_Status4 = "";
if (document.getElementById("Protected_Veteran_Status4").checked) {F_Protected_Veteran_Status4 = "checked";}
F_Disability4 = "";
if (document.getElementById("Disability4").checked) {F_Disability4 = "checked";}
F_Retaliation4 = "";
if (document.getElementById("Retaliation4").checked) {F_Retaliation4 = "checked";}
F_Complaint51 = "";
if (document.getElementById("Complaint51").checked) {F_Complaint51 = "checked";}
F_Complaint52 = "";
if (document.getElementById("Complaint52").checked) {F_Complaint52 = "checked";}
F_Complaint53 = "";
if (document.getElementById("Complaint53").checked) {F_Complaint53 = "checked";}
F_Complaint54 = "";
if (document.getElementById("Complaint54").checked) {F_Complaint54 = "checked";}
F_Complaint55 = "";
if (document.getElementById("Complaint55").checked) {F_Complaint55 = "checked";}
F_Complaint56 = "";
if (document.getElementById("Complaint56").checked) {F_Complaint56 = "checked";}
F_Treated5 = "";
if (document.getElementById("Treated5").checked) {F_Treated5 = "checked";}
F_Treated6 = "";
if (document.getElementById("Treated6").checked) {F_Treated6 = "checked";}
F_Narrative6 = document.getElementById("Narrative6").value;
F_Attorney5_You = "";
if (document.getElementById("Attorney5_You").checked) {F_Attorney5_You = "checked";}
F_Attorney6_You = "";
if (document.getElementById("Attorney6_You").checked) {F_Attorney6_You = "checked";}
F_Fullname21 = document.getElementById("Fullname21").value;
F_Address21 = document.getElementById("Address21").value;
F_City21 = document.getElementById("City21").value;
F_State21 = document.getElementById("state21").value;
F_Zipcode21 = document.getElementById("Zipcode21").value;
F_Telephone21 = document.getElementById("Telephone21").value;
F_Email21 = document.getElementById("Email21").value;
F_Print_Signature = document.getElementById("Print_Signature").value;
F_Print_Signature_Date = document.getElementById("Print_Signature_Date").value;
buildhtml("<!DOCTYPE html>");
buildhtml("<html lang='ht'>");
buildhtml("<head>");
buildhtml("<title>OFCCP Complaint Form Creole</title>");
buildhtml("<meta http-equiv='Content-type' content='text/html;charset=UTF-8'>");
buildhtml("<meta http-equiv='Content-Style-Type' content='text/css'>");
buildhtml("<meta name='generator' content=''>");
buildhtml("<style>");
buildhtml("body, a, h1, h2, h3, h4, ul, ol, li, p, label, td, th, u { font-family: Tahoma, Arial, verdana, sans-serif;}");
buildhtml("body, a, h1, h2, h3, h4, ul, ol, li, p, label, td, th, u { color:black; font-weight:normal; line-height:150%;}");
buildhtml("td, th {border 2px solid gray;}");
buildhtml("h1 { text-align:right;}");
buildhtml("h2 { text-align:left;}");
buildhtml("h3 { text-align:left;}");
buildhtml("h4 { text-align:right;}");
buildhtml("td { text-align:left;}");
buildhtml("th { text-align:left;}");
buildhtml("ol { text-align:left;}");
buildhtml("li { text-align:left;}");
buildhtml("u { text-align:right;}");
buildhtml("a { font-size: 10px;}")
buildhtml("h1 { font-size: 18px;}");
buildhtml("h2 { font-size: 11px;}");
buildhtml("h3 { font-size: 11px;}");
buildhtml("h4 { font-size: 11px;}");
buildhtml("td { font-size: 11px;}");
buildhtml("th { font-size: 11px;}");
buildhtml("ol { font-size: 11px;}");
buildhtml("li { font-size: 11px;}");
buildhtml("u { font-size: 11px;}");
buildhtml("p { font-size: 11px;}");
buildhtml("input { font-size: 11px; border:0; outline: 0; border-bottom:1px solid black;}");
buildhtml("h1, h2, h3, h4 {margin:0; padding:0;}");
buildhtml("button {margin:0;}");
buildhtml("td { vertical-align: top; text-align:left;}");
buildhtml("th { vertical-align: top; text-align:left;}");
buildhtml("h4 {margin-top:7px;}");
buildhtml("</style>");
buildhtml("</head>");
buildhtml("<body>");
buildhtml("<table bgcolor='white' width='780' border=0 cellspacing='0' cellpadding='0' align='center' cols=2>");
buildhtml("<!------------------------");
buildhtml("FORM TITLE");
buildhtml("------------------------->");
buildhtml("<tr>");
buildhtml("<td>");
buildhtml("<a style='float: left;' href='https://www.dol.gov'>");
buildhtml("<img src='https://raw.githubusercontent.com/GSA/logo/master/labor.png'");
buildhtml(" align='top' width='45' border='0'");
buildhtml(" alt='United States Department of Labor'");
buildhtml(" title='United States Department of Labor'>");
buildhtml("</a>");
buildhtml("<a style='float: left;' href='https://www.dol.gov/ofccp/aboutof.html'>");
buildhtml("<img src='https://www.dol.gov/sites/default/files/slide47.jpg'");
buildhtml(" align='top' width='155' border='0'");
buildhtml(" alt='Office of Federal Contract Compliance Programs'");
buildhtml(" title='Office of Federal Contract Compliance Programs'>");
buildhtml("</a>");
buildhtml("</td>");
buildhtml("<td>");
buildhtml("<h1>");
buildhtml("Plent ki Konsène Pratik Diskriminasyon yon Kontraktè oswa<br>Sou-Kontraktè Gouvènman Federal nan Travay");
buildhtml("</h1>");
buildhtml("</td>");
buildhtml("</tr>");
buildhtml("<tr>");
buildhtml("<td>");
buildhtml("</td>");
buildhtml("<td>");
buildhtml("<h4>");
buildhtml("<u>Tanpri li enstriksyon yo epi ranpli fòm sa a.</u>");
buildhtml("</h4>");
buildhtml("</td>");
buildhtml("</tr>");
buildhtml("<tr>");
buildhtml("<td>");
buildhtml("<h4 style='text-align:left; margin-top:10px;'>");
buildhtml("OMB: 1250-0002<br>");
buildhtml("Ekspire: 5/31/2020");
buildhtml("</h4>");
buildhtml("</td>");
buildhtml("<td>");
buildhtml("<h4>");
buildhtml("<button style='margin-right: 15px; margin-top: 5px;' readonly> Re-Inisyalize </button>");
buildhtml("<button style='margin-right: 15px; margin-top: 5px;' readonly> Enprime </button>");
buildhtml("<button style='margin-right: 0px; margin-top: 5px;' readonly> Soumèt </button>");
buildhtml("</h4>");
buildhtml("</td>");
buildhtml("</tr>");
buildhtml("</table>");
buildhtml("<table bgcolor='white' width='780px' border='1' cellspacing='0' cellpadding='5' align='center' style='border-collapse:collapse'>");
buildhtml("<!------------------------");
buildhtml("SECTION 1");
buildhtml("------------------------->");
buildhtml("<tr>");
buildhtml("<td width='170' valign='top' align=left>");
buildhtml("<h2><b>");
buildhtml("Kijan nou kapab kontakte ou?");
buildhtml("</b></h2>");
buildhtml("</td>");
buildhtml("<td width='610' >");
buildhtml("<table width='100%' border='0' cellspacing='0' cellpadding='5'>");
buildhtml("<tr><td>");
buildhtml("Nonn (Prenon, Dezyèm Prenon, Non Fanmi): " + padd(F_Fullname1,45) + "<br>");
buildhtml("Nimewo Kay: " + padd(F_Address1,50) + "<br>");
buildhtml("Vil: " + padd(F_City1,50) + "<br>");
buildhtml("Eta:: " + padd(F_State1,3) + " Kòd Postal: " + padd(F_Zipcode1,10) + "<br>");
buildhtml("Nimewo Telefòn: " + padd(F_Telephone1,15) + "<br>");
buildhtml("<input name=home type='checkbox' " + F_Home1 + " ><label>Lakay</label>");
buildhtml("<input name=home type='checkbox' " + F_Work1 + " ><label>Travay</label>");
buildhtml("<input name=home type='checkbox' " + F_Cell1 + " ><label>Selilè</label>");
buildhtml("<br>");
buildhtml("Adrès Imèl: " + padd(F_Email1,50) + "<br>");
buildhtml("<h3>");
buildhtml("Èske ou te depoze akizasyon pou diskriminasyon nan travay ba yon lòt ajans federal oswa lokal?");
buildhtml("<br>");
buildhtml("</h3>");
buildhtml("<input name=home type='checkbox' " + F_Allegations_Yes + " ><label>Wi</label>");
buildhtml("<input name=home type='checkbox' " + F_Allegations_No + " ><label>Non</label>");
buildhtml("<br>");
buildhtml("Si ou reponn wi, ki ajans:" + padd(F_Agency_Name1,45) + "<br>");
buildhtml("Non pou kontakte:" + padd(F_Agency_POC1,35) + "Nimewo Telefòn:" + padd(F_Agency_Telephone1,12) + "<br>");
buildhtml("<br>");
buildhtml("</td>");
buildhtml("</tr>");
buildhtml("</table>");
buildhtml("</td>");
buildhtml("</tr>");
buildhtml("<!------------------------");
buildhtml("SECTION 2");
buildhtml("------------------------->");
buildhtml("<tr>");
buildhtml("<td valign='top' align=left>");
buildhtml("<h2><b>");
buildhtml("Kimoun nou kapab kontakte si nou pa kapab jwenn ou?");
buildhtml("</b></h2>");
buildhtml("</td>");
buildhtml("<td>");
buildhtml("<table width='100%' border='0' cellspacing='0' cellpadding='5'>");
buildhtml("<tr>");
buildhtml("<td>");
buildhtml("Nonn (Prenon, Dezyèm Prenon, Non Fanmi): " + padd(F_Fullname2,45) + "<br>");
buildhtml("Nimewo Kay: " + padd(F_Address2,50) + "<br>");
buildhtml("Vil: " + padd(F_City2,50) + "<br>");
buildhtml("Eta:: " + padd(F_State2,3) + " Kòd Postal: " + padd(F_Zipcode2,10) + "<br>");
buildhtml("Nimewo Telefòn: " + padd(F_Telephone2,15) + "<br>");
buildhtml("<input name=home type='checkbox' " + F_Home2 + " ><label>Lakay</label>");
buildhtml("<input name=home type='checkbox' " + F_Work2 + " ><label>Travay</label>");
buildhtml("<input name=home type='checkbox' " + F_Cell2 + " ><label>Selilè</label>");
buildhtml("<br>");
buildhtml("Adrès Imèl: " + padd(F_Email2,50) + "<br>");
buildhtml("</td>");
buildhtml("</tr>");
buildhtml("</table>");
buildhtml("</td>");
buildhtml("</tr>");
buildhtml("<!------------------------");
buildhtml("SECTION 3");
buildhtml("------------------------->");
buildhtml("<tr>");
buildhtml("<td valign='top' align=left>");
buildhtml("<h2><b>");
buildhtml("Ki non patwon ou kwè ki te fè diskriminasyon oswa vanjans kont ou?");
buildhtml("</b></h2>");
buildhtml("</td>");
buildhtml("<td>");
buildhtml("<table width='100%' border='0' cellspacing='0' cellpadding='5'>");
buildhtml("<tr>");
buildhtml("<td>");
buildhtml("Konpayi Non: " + padd(F_Fullname3,50) + "<br>");
buildhtml("Nimewo Kay: " + padd(F_Address3,50) + "<br>");
buildhtml("Vil: " + padd(F_City3,50) + "<br>");
buildhtml("Eta: " + padd(F_State3,3) + " Kòd Postal: " + padd(F_Zipcode3,12) + "<br>");
buildhtml("Nimewo Telefòn: " + padd(F_Telephone3,15) + "<br>");
buildhtml("<h3><b>");
buildhtml("Bay dat (yo) ak lè ou kwè ou te viktim diskriminasyon oswa vanjans:");
buildhtml("</b></h3>");
buildhtml(F_Narrative5);
buildhtml("<br>");
buildhtml("</td>");
buildhtml("</tr>");
buildhtml("</table>");
buildhtml("</td>");
buildhtml("</tr>");
buildhtml("<!------------------------");
buildhtml("SECTION 4");
buildhtml("------------------------->");
buildhtml("<tr>");
buildhtml("<td>");
buildhtml("<h2><b>");
buildhtml("Pou kisa ou kwè patwon ou te fè diskriminasyon oswa vanjans kont ou?");
buildhtml("</b></h2>");
buildhtml("</td>");
buildhtml("<td>");
buildhtml("<table width='100%' border='0' cellspacing='0' cellpadding='0' cols=4>");
buildhtml("<tr valign='top'>");
buildhtml("<!--------------------- ");
buildhtml(" ROW 1 of 4");
buildhtml("--------------------->");
buildhtml("<td >");
buildhtml("<table width=150 border='0' cellspacing='0' cellpadding='4' cols=2 > ");
buildhtml("<tr>");
buildhtml("<td width=10 valign='top' align='left'><input name=F_Race40 type='checkbox' " + F_Race40 + "></td>");
buildhtml("<td valign='middle' align='left' height=10><b>Ras</b></td>");
buildhtml("</tr>");
buildhtml("<tr>");
buildhtml("<td width=10 valign='top' align='left'><input name=F_Race41 type='checkbox' " + F_Race41 + "></td>");
buildhtml("<td valign='middle' align='left' height=10><b>Ameriken Natifnatal oswa Natifnatal Alaska<br>Endike Afilyasyon Tribi a:</b>");
buildhtml("<u>" + F_Race4_Tribal_Affiliation4 + "</u>");
buildhtml("</td>");
buildhtml("</tr>");
buildhtml("<tr>");
buildhtml("<td width=10 valign='top' align='left'><input name=F_Race42 type='checkbox' " + F_Race42 + "></td>");
buildhtml("<td valign='middle' align='left' height=10><b>Azyatik</b></td>");
buildhtml("</tr>");
buildhtml("<tr>");
buildhtml("<td width=10 valign='top' align='left'><input name=F_Race42 type='checkbox' " + F_Race42 + "></td>");
buildhtml("<td valign='middle' align='left' height=10><b>Moun Nwa oswa Ameriken Nwa</b></td>");
buildhtml("</tr>");
buildhtml("<tr>");
buildhtml("<td width=10 valign='top' align='left'><input name=F_Race43 type='checkbox' " + F_Race43 + "></td>");
buildhtml("<td valign='middle' align='left' height=10><b>Natifnatal Zile Hawaii oswa Lòt Moun ki Fèt nan Zile Pasifik</b></td>");
buildhtml("</tr>");
buildhtml("<tr>");
buildhtml("<td width=10 valign='top' align='left'><input name=F_Race44 type='checkbox' " + F_Race44 + "></td>");
buildhtml("<td valign='middle' align='left' height=10><b>Moun Blan</b></td>");
buildhtml("</tr>");
buildhtml("</table>");
buildhtml("</td>");
buildhtml("<!--------------------- ");
buildhtml(" ROW 2 of 4");
buildhtml("--------------------->");
buildhtml("<td >");
buildhtml("<table width=150 border='0' cellspacing='0' cellpadding='4' cols=2 > ");
buildhtml("<tr>");
buildhtml("<td width=10 valign='top' align='left'><input name=F_National_Origin41 type='checkbox' " + F_National_Origin41 + "></td>");
buildhtml("<td valign='middle' align='left' height=10><b>Peyi kote Moun nan Fèt</b></td>");
buildhtml("</tr>");
buildhtml("<tr>");
buildhtml("<td width=10 valign='top' align='left'><input name=F_National_Origin411 type='checkbox' " + F_National_Origin411 + "></td>");
buildhtml("<td valign='middle' align='left' height=10><b>Ispanik oswa Latino-Ameriken</b></td>");
buildhtml("</tr>");
buildhtml("<tr>");
buildhtml("<td width=10 valign='top' align='left'><input name=F_National_Origin412 type='checkbox' " + F_National_Origin412 + "></td>");
buildhtml("<td valign='middle' align='left' height=10><b>Lòt</b><br><br><br></td>");
buildhtml("</tr>");
buildhtml("<tr>");
buildhtml("<td width=10 valign='top' align='left'><input name=F_Color4 type='checkbox' " + F_Color4 + "></td>");
buildhtml("<td valign='middle' align='left' height=10><b>Koulè</b></td>");
buildhtml("</tr>");
buildhtml("<tr>");
buildhtml("<td width=10 valign='top' align='left'><input name=F_Religion4 type='checkbox' " + F_Religion4 + "></td>");
buildhtml("<td valign='middle' align='left' height=10><b>Relijyon</b></td>");
buildhtml("</tr>");
buildhtml("<tr>");
buildhtml("<td width=10 valign='top' align='left'><input name=F_Sex4 type='checkbox' " + F_Sex4 + "></td>");
buildhtml("<td valign='middle' align='left' height=10><b>Sèks</b></td>");
buildhtml("</tr>");
buildhtml("</table>");
buildhtml("</td>");
buildhtml("<!--------------------- ");
buildhtml(" ROW 3 of 4");
buildhtml("--------------------->");
buildhtml("<td >");
buildhtml("<table width=150 border='0' cellspacing='0' cellpadding='4' cols=2 > ");
buildhtml("<tr>");
buildhtml("<td width=10 valign='top' align='left'><input name=F_Sexual_Orientation4 type='checkbox' " + F_Sexual_Orientation4 + "></td>");
buildhtml("<td valign='middle' align='left' height=10><b>Preferans Seksyèl</b></td>");
buildhtml("</tr>");
buildhtml("<tr>");
buildhtml("<td width=10 valign='top' align='left'><input name=F_Gender_Identity4 type='checkbox' " + F_Gender_Identity4 + "></td>");
buildhtml("<td valign='middle' align='left' height=10><b>Idantite Seksyèl</b></td>");
buildhtml("</tr>");
buildhtml("<tr>");
buildhtml("<td width=10 valign='top' align='left'><input name=F_Inquiring_About_Pay4 type='checkbox' " + F_Inquiring_About_Pay4 + "></td>");
buildhtml("<td valign='middle' align='left' height=10><b>Demann Enfòmasyon Sou Salè</b></td>");
buildhtml("</tr>");
buildhtml("<tr>");
buildhtml("<td width=10 valign='top' align='left'><input name=F_Discussing_Pay4 type='checkbox' " + F_Discussing_Pay4 + "></td>");
buildhtml("<td valign='middle' align='left' height=10><b>Diskisyon sou Salè</b></td>");
buildhtml("</tr>");
buildhtml("<tr>");
buildhtml("<td width=10 valign='top' align='left'><input name=F_Disclosing_Pay4 type='checkbox' " + F_Disclosing_Pay4 + "></td>");
buildhtml("<td valign='middle' align='left' height=10><b>Divilgasyon Enfòmasyon sou Sal</b></td>");
buildhtml("</tr>");
buildhtml("</table>");
buildhtml("</td>");
buildhtml("<!--------------------- ");
buildhtml(" ROW 4 of 4");
buildhtml("--------------------->");
buildhtml("<td >");
buildhtml("<table width=150 border='0' cellspacing='0' cellpadding='4' cols=2 > ");
buildhtml("<tr>");
buildhtml("<td width=10 valign='top' align='left'><input name=F_Protected_Veteran_Status4 type='checkbox' " + F_Protected_Veteran_Status4 + "></td>");
buildhtml("<td valign='middle' align='left' height=10><b>Kondisyon Veteran Pwoteje</b></td>");
buildhtml("</tr>");
buildhtml("<tr>");
buildhtml("<td width=10 valign='top' align='left'><input name=F_Disability4 type='checkbox' " + F_Disability4 + "></td>");
buildhtml("<td valign='middle' align='left' height=10><b>Andikap</b></td>");
buildhtml("</tr>");
buildhtml("<tr>");
buildhtml("<td width=10 valign='top' align='left'><input name=F_Retaliation4 type='checkbox' " + F_Retaliation4 + "></td>");
buildhtml("<td valign='middle' align='left' height=10><b>Vanjans</b></td>");
buildhtml("</tr>");
buildhtml("</table>");
buildhtml("</td>");
buildhtml("</tr>");
buildhtml("</table>");
buildhtml("</td>");
buildhtml("</tr>");
buildhtml("<!------------------------");
buildhtml("SECTION 5");
buildhtml("------------------------->");
buildhtml("<tr>");
buildhtml("<th width='100%' colspan=2 valign='left' align=left>");
buildhtml("<table bgcolor='white' width='100%' border='0' cellspacing='0' cellpadding='0' align='left'>");
buildhtml("<tr><td>");
buildhtml("<h2><b>");
buildhtml("Ki kote ou te aprann ou te kapab depoze yon plent ba OFCCP?");
buildhtml("</b></h2>");
buildhtml("<h3>");
buildhtml("<input name=F_Complaint51 type='checkbox' " + F_Complaint51 + " ><label>Entènèt</label>");
buildhtml("<input name=F_Complaint52 type='checkbox' " + F_Complaint52 + " ><label>Afich</label>");
buildhtml("<input name=F_Complaint53 type='checkbox' " + F_Complaint53 + " ><label>Òganizasyon Kominotè</label>");
buildhtml("<input name=F_Complaint54 type='checkbox' " + F_Complaint54 + " ><label>Reyinyon/Evènman OFCCP</label>");
buildhtml("<input name=F_Complaint55 type='checkbox' " + F_Complaint55 + " ><label>Tiliv</label>");
buildhtml("<input name=F_Complaint56 type='checkbox' " + F_Complaint56 + " ><label>Lòt</label>");
buildhtml("</h3>");
buildhtml("</td>");
buildhtml("</tr>");
buildhtml("</table>");
buildhtml("</th>");
buildhtml("</tr>");
buildhtml("<!------------------------");
buildhtml("SECTION 6");
buildhtml("------------------------->");
buildhtml("<tr>");
buildhtml("<th width='100%' colspan=2 valign='top' align='left'>");
buildhtml("<h2><b>Plent Ou:</b></h2>");
buildhtml("<b>Tanpri dekri anba la a sa ou panse patwon ou te fè oswa pa t fè epi ou kwè sa te lakòz ou viktim diskriminasyon oswa vanjans, tankou:</b>");
buildhtml("<ol>");
buildhtml("<li>Kisa aksyon patwon an te fè kont ou.</li>");
buildhtml("<li>Pou kisa ou kwè aksyon yo te baze sou: ras ou; koulè ou; relijyon ou; sèks ou; preferans seksyèl ou; idantite seksyèl ou; peyi kote ou soti; andikap ou; kondisyon veteran ou; ak/oswa rechèch, diskisyon, divilgasyon enfòmasyon sou salè ou oswa salè lòt moun; epi/oswa nan vanjans pou depoze yon plent, patisipasyon nan pwosedi diskriminasyon, opozisyon nan diskriminasyon ilegal, oswa egzèsis nenpòt lòt dwa ki pwoteje avèk OFCCP.</li>");
buildhtml("<li>Kilè patwon an te fè aksyon yo, kote aksyon yo te fèt, epi kimoun ki te konsène.</li>");
buildhtml("<li>Ki domaj, si genyen, oumenm oswa lòt moun te soufri akòz diskriminasyon oswa vanjans ou sipoze a.</li>");
buildhtml("<li>Ki eksplikasyon, si genyen, patwon ou oswa moun ki reprezante patwon ou te ofri pou aksyon yo.</li>");
buildhtml("<li>Kimoun ki te nan menm sitiyasyon an oswa sitiyasyon sanblab tankou oumenm ak fason yo te trete. Mete enfòmasyon tankou ras, koulè, relijyon, sèks, preferans seksyèl, idantite seksyèl, peyi kote ou soti, andikap, oswa kondisyon pwoteje moun sa yo, si ou konnen yo.</li>");
buildhtml("<li>Ki enfòmasyon ou genyen sou kontra federal konpayi kote ou t ap travay la te genyen nan moman diskriminasyon oswa vanjans ou dekri nan plent sa a.</li>");
buildhtml("</ol>");
buildhtml("<br><p>");
buildhtml(F_Narrative6);
buildhtml("</p><br>");
buildhtml("</th>");
buildhtml("</tr>");
buildhtml("<!------------------------");
buildhtml("SECTION 7");
buildhtml("------------------------->");
buildhtml("<tr>");
buildhtml("<td>");
buildhtml("<h2><b>");
buildhtml("Ou panse ke diskriminasyon an gen ladan oswa afekte lòt moun?");
buildhtml("</b></h2>");
buildhtml("</td>");
buildhtml("<td>");
buildhtml("<table width='100%' border='0' cellspacing='0' cellpadding='5'>");
buildhtml("<tr><td>");
buildhtml("Èske ou panse diskriminasyon an gen lòt moun ladan oswa afekte lòt moun?");
buildhtml("<br>");
buildhtml("<input name=F_Treated5 type='checkbox' " + F_Treated5 + " ><label>Wi</label>");
buildhtml("<input name=F_Treated6 type='checkbox' " + F_Treated6 + " ><label>Non</label>");
buildhtml("</td></tr>");
buildhtml("</table>");
buildhtml("</td>");
buildhtml("</tr>");
buildhtml("<!------------------------");
buildhtml("SECTION 8");
buildhtml("------------------------->");
buildhtml("<tr>");
buildhtml("<td>");
buildhtml("<h2><b>");
buildhtml("Èske ou gen yon avoka oswa lòt reprezantan?");
buildhtml("</b></h2>");
buildhtml("</td>");
buildhtml("<td>");
buildhtml("<table width='100%' border='0' cellspacing='0' cellpadding='5'>");
buildhtml("<tr><td>");
buildhtml("Si ou gen reprezantasyon yon avoka, oswa yon lòt moun, oswa yon òganizasyon, tanpri bay enfòmasyon pou kontakte yo anba la a.");
buildhtml("<br><br>");
buildhtml("Nonn (Prenon, Dezyèm Prenon, Non Fanmi): " + padd(F_Fullname21,40) + "<br>");
buildhtml("Nimewo Kay: " + padd(F_Address21,50) + "<br>");
buildhtml("Vil: " + padd(F_City21,50) + "<br>");
buildhtml("Eta: " + padd(F_State21,3) + " Kòd Postal: " + padd(F_Zipcode21,10) + "<br>");
buildhtml("Nimewo Telefòn: " + padd(F_Telephone21,15) + "<br>");
buildhtml("Adrès Imèl: " + padd(F_Email21,50) + "<br>");
buildhtml("<br>");
buildhtml("Kimoun nou ta dwe kontakte si nou bezwen plis enfòmasyon sou deskripsyon sa ki te pase a?");
buildhtml("<br>");
buildhtml("<input name=F_Attorney5_You type='checkbox' " + F_Attorney5_You + " ><label>Oumenm</label>");
buildhtml("<input name=F_Attorney6_You type='checkbox' " + F_Attorney6_You + " ><label>Reprezantan Ou</label>");
buildhtml("</td></tr>");
buildhtml("</table>");
buildhtml("</td>");
buildhtml("</tr>");
buildhtml("<!------------------------");
buildhtml("SECTION 9");
buildhtml("------------------------->");
buildhtml("<tr>");
buildhtml("<td>");
buildhtml("<h2><b>");
buildhtml("Siyati ak Verifikasyon");
buildhtml("</b></h2>");
buildhtml("</td>");
buildhtml("<td>");
buildhtml("<table width='100%' border='0' cellspacing='0' cellpadding='5'>");
buildhtml("<tr><td>");
buildhtml("Mwen deklare, anba menas sanksyon pou fo temwayaj, enfòmasyon mwen bay yo se enfòmasyon ki vrè dapre tout sa mwen konnen. Lalwa ap pini mwen si mwen fè espre pou bay fo temwayaj.");
buildhtml("<br><br>");
buildhtml("Mwen bay otorizasyon pou yo divilge nenpòt enfòmasyon medikal ki nesesè pou ankèt sa a.");
buildhtml("</td></tr>");
buildhtml("<tr><td>");
buildhtml("Siyati Moun ki Fè Plent lan: " + padd(F_Print_Signature,25));
buildhtml(" Dat la: " + padd(F_Print_Signature_Date,15));
buildhtml("</td></tr>");
buildhtml("</table>");
buildhtml("</td>");
buildhtml("</tr>");
buildhtml("</table>");
buildhtml("<table align=center width=780px border=0 cellspacing=0 cellpadding=0>");
buildhtml("<tr>");
buildhtml("<th colspan=2 width='100%' style='text-align:right;'>");
buildhtml("<br>");
buildhtml("Fòm CC-4 (Revised 5/2017)");
buildhtml("<br>");
buildhtml("</th>");
buildhtml("</tr>");
buildhtml("</table>");
buildhtml("</table>");
buildhtml("</body>");
buildhtml("</html>");
childWindow = window.open('','childWindow','location=yes, menubar=yes, toolbar=yes');
childWindow.document.open();
childWindow.document.write(str_html);
childWindow.document.close();
childWindow.print();
childWindow.close();
str_html = "";
return true;
}