﻿// JScript File


//=======  13 Below - Variables for Grid Columns:  ==============//

var create_manager = 'This allows the USER to create new Manager accounts';
var create_basic = 'This allows the USER to create new Basic accounts';
var delete_basic = 'This allows the USER to create permanently delete Basic accounts';
var delete_manager = 'This allows the USER to create permanently delete Manager accounts';
var template_name = 'Name of template';
var associated_users = 'Users that have access to this template';
var request_credit = 'This allows the USER to request a credit for items on past orders';
var change_basic_defaults = 'This allows the USER to determine which permissions are set as the default for new Basic accounts';
var view_invoices = 'This allows the USER to search/view Invoices from the main screen and from the Order History screen';
var view_order_history = 'This allows the USER to view/search Order History from the main screen and from the Order History screen';
var manage_templates = 'This allows the USER to View/Edit templates and to assign users access to individual templates';
var change_individual_permissions = 'This allows the USER to change the permissions for Manager or Basic accounts';
var create_template = 'This allows the USER to Create new templates and assign which users have access to the new template';
var delete_template = 'This allows the USER to permanently Delete templates';
var change_billing_address = 'This allows the USER to change the Default Billing Address';
var change_shipping_address = 'This allows the USER to change the Default Shipping Address';
var change_delivery_method = 'This allows the USER to change the Delivery Method during the Checkout process';
var show_order_prices = 'This allows the USER to see the pricing information during the Checkout process';
var show_invoice_prices = 'This allows the USER to see the pricing information from the View Invoices screen';
var change_manager_defaults = 'This allows the USER to determine which permissions are set as the default for new Manager accounts';
var choose_symbology = 'Select the type of bar code symbology to be created.';
var job_reference_number = 'The Job Reference Number, is used to help you identify your order.  It is displayed on the Order Notification email or you can use it to search for past orders';
var template_name = 'Name given to the template when the it was created';
var upc_magnification = 'Magnification determines the size of a UPC barcode.  Acceptable ranges are 80% - 200%.  The larger the code, the better since a larger code will increase your print tolerance for ease of printing/scanning and allows for easier location of the code on the package by the retailer for faster check-out.  Try to avoid 80% as this is the most difficult to print/scan.  If printing directly on corrugated stock, go with 150% or larger in size.  Going below 80% or larger than 200% is not recommended and will be difficult for the scanner to identify each bar/space pattern and may miss-scan or no-read the code.';
var narrow_bar_width = 'Narrow Bar Width (NBW) is the size of the smallest bar in the bar code and is used to determine the overall size of the bar code image.';
var cell_size = 'Module Size (cell size) is the width of each of the individual squares that make up the data matrix code and is used to determine the overall size of the e-code image.';
var ratio = 'The ratio is the ratio of the narrow bar width to wide bar width.  A bar code with a ratio of 2.5 and 10mil narrow bar width will result in a wide bar width of 25 mils.  Acceptable ratios are 2.2 to 3.0 if the NBW is less than 0.020" and 2.0 to 3.0 if the NBW is greater than 0.020".';
var bwa_description = 'Bar Width Adjustment (BWA) is important because all printing processes introduce print gain.  In order to achieve good quality bar codes the bars must be adjusted to compensate for this gain.  Typically the bars are reduced, however if reverse printing a bar code symbol then the bars should be made larger.  The amount of bar adjustment depends on the size of the symbol and the printing method.';
var bha_description = 'Bar Height Adjustment (BHA) is important because all printing processes introduce print gain.  In order to achieve good quality bar codes the bars must be adjusted to compensate for this gain.  Typically the bars are reduced, however if reverse printing a bar code symbol then the bars should be made larger.  The amount of bar adjustment depends on the size of the symbol and the printing method.';
var bar_height = 'The Bar Height is the measurement from the bottom of the tallest bar to the top of the same bar.  This field will default to the the GS1 or industry standard size.  Changing from the default size can result in rejected product and poor scannability.';
var cwa_description = 'Cell Width Adjustment (CWA) is important because all printing processes introduce print gain.  In order to achieve good quality bar codes the cells must be adjusted to compensate for this gain.  Typically the cells are reduced, however if reverse printing a e-code symbol then the cells should be made larger.  The amount of cell adjustment depends on the size of the symbol and the printing method.';
var overall_width = 'Overall width is the measurement from the first bar to the last bar on the barcode.  This measurement does NOT include quiet zones or bearer bar.';
var overall_width_height = 'Overall width/height is the measurement from side to side or top to bottom of the square symbol and does not include any quiet zone.';
var bearer_bar = 'A Bearer Bar is a box that surrounds the bar code.  It is used to increase the scanners ability to locate the bar code and to provide support when the bar code is printed on difficult materials (corrugated).';
var bearer_bar_width = 'The Bearer Bar Width is the thickness of the bearer bar on all sides.  GS1 requires a minimum of 0.19" for ITF-14 bar codes printing with a printing plate.';
var human_read = 'Custom Human Readable Spacing allows for spaces, hyphens or other characters to be inserted between the human readable text.';
var human_read_location = 'Human Readable Location is where the human readable will be located in reference to the bar code.  “Bottom” would locate the human readable below the bar code.';
var print_method = 'Print Method is important because it allows the system to recommend the proper Bar Width Adjustment and helps in selecting the proper template when ordering a new bar code.';
var bar_code_reference = 'The Bar Code Description/Reference is used to help you identify the correct bar code when you place it into our graphic design.  It is displayed in the EPS file, shown on the Invoice, and shown on the Order Notification email.';
var bar_code_data = 'The Bar Code Data is the information encoded in the bar code.  Depending on the symbology it may be limited to numeric, alpha-numeric.  Some symbologies limit the number of characters/digits that can be encode and/or require an even number of characters/digits.';
var calculated_check_digit = 'The system will calculate the proper check digit based on the bar code data entered.';
var check_digit = 'The Check Digit is an extra character that is added to the end of the bar code data that allows the bar code scanner to check that the bar code was decoded properly.  A scanner will read the bar code data (ignores the check digit) and perform a mathematical calculation with that data.  Then it will read the check digit and make sure they both match.';
var select = 'Click Select next to the template that  should be used to create the bar code image.';
var download_only = 'User will ONLY be able to download existing items.  Other permissions will be ignored.';
var row_count = 'Number of stacked rows.  Depending upon actual encoded data, this may not be exact.';



//=======  End 13 Below Variables  ==============//

function showToolTip(e, text) {
    document.all.ToolTip.innerHTML = "<table><tr><td bgcolor=#333333><font color=white face=arial size=1>Help</font></td></tr><tr><td class=ToolTipTD>" + text + "</td></tr></table>";
    ToolTip.style.pixelLeft = (e.x + 15 + document.body.scrollLeft);
    ToolTip.style.pixelTop = (e.y + document.body.scrollTop);
    ToolTip.style.visibility = "visible";
}
function hideToolTip() {
    ToolTip.style.visibility = "hidden";
}
function disableValidator(validator) {
    var myVal = document.getElementById(validator);
    ValidatorEnable(myVal, false);
}
function enableValidator(validator) {
    var myVal = document.getElementById(validator);
    ValidatorEnable(myVal, true);
}

