/* Function Set Values */
function setLanguage(language) { 
  if (language=="english") { 
     document.getElementById('link').innerHTML="<a href=\"#\" onclick=\"setLanguage('spanish');\">Español</a>&nbsp;|&nbsp;<a href=\"/Availability/dayPass/others/DayPassUserManual.pdf\" target=\"_blank\">User Manual</a>";
     document.getElementById('title').innerHTML="Welcome to the Day Pass system for the Ports of Long Beach and Los Angeles Clean Truck Program";
     document.getElementById('content').innerHTML="If you require access to the marine terminals at the Ports of Long Beach and Los Angeles and you are not operating under a valid concession agreement, you are required to obtain a Day Pass. <b>Trucks operating under a valid Concession for either Port are not eligible to obtain Day Passes</b>. If you are seeking a Day Pass for the first time please select the button titled \"Apply for a new day pass\" and follow the instructions. One Day Pass is required for each truck and is valid for entry at terminals for both ports for up to a maximum of 24 Day Passes per truck, per year.<br><br>In order to gain access to the container terminals you will require a valid, activated RFID tag that is properly registered in advance.  If you have been issued an RFID tag by eModal, Pier Pass or Port Check previously, you will be able to reuse that RFID for Day Passes you purchase.  If you have not been issued an RFID tag before, you will be required to purchase and activate an RFID tag as part of this process.  The system will guide you through the steps.  Please be sure to read the instructions on your printed receipt to activate your new RFID tag.  This step is necessary to ensure you are not refused access to the container terminals.<br><br>The cost of an RFID tag is $95 which includes local sales tax and the cost for the Day Pass is $30, not subject to sales tax . Day Passes may be applied for individually or in an annual pack of 24. Day Passes for non-container terminals do not require an RFID tag for gate access. Non-container terminal Day Passes once printed may be placed on the dash of the truck for access to the port terminals.<br><br>You will require a major credit card to purchase an RFID tag and/or Day Pass. Please note that trucks with model years of 1994 and older without an ARB extension will not be permitted to obtain a Day Pass. Trucks with model years of 1995 through 2004 may only obtain a Day Pass if they are covered by an ARB extension or have been retrofitted with a qualified VDECs device.  If you have applied for a Day Pass before and want to change the date of the Day Pass or need to reprint it please return to this site, select the button titled \"Reprint day pass\" and follow the instructions. To ensure proper results please use Internet Explorer version 6 or later when using this application. If you are having problems with this site please call 866-721-5686.";
  } else if (language=="spanish") {
     document.getElementById('link').innerHTML="<a href=\"#\" onclick=\"setLanguage('english');\">English</a>&nbsp;|&nbsp;<a href=\"/Availability/dayPass/others/DayPassUserManual.pdf\" target=\"_blank\">Manual de Usuario</a>";
     document.getElementById('title').innerHTML="Bienvenido al sistema de Pases de Acceso por un Día al los Puertos de Long Beach y Los Ángeles del Programa de Tractocamiones Limpios";
     document.getElementById('content').innerHTML="Si usted requiere acceso a las terminales marítimas en los Puertos de Long Beach y Los Ángeles, y usted no opera bajo un acuerdo valido de concesión, usted requerirá obtener un Pase de Acceso por un Día. <b>Tractocamiones operando bajo una Concesión para cualquiera de los puertos no podrán obtener pases.</b> Si usted está tramitando un pase por primera vez, por favor seleccione el botón titulado “Apply for a new day pass” y sigua las instrucciones. Un pase por tractocamión es requerido y será válido para acceder a las terminales de ambos puertos, un tractocamión  podrá obtener hasta un máximo de 24 pases dentro de un año.<br><br>Para obtener acceso a terminales de contenedores usted requerirá una etiqueta de RFID valida y activa que haya sido previamente registrada. Si a usted se le ha otorgado previamente una etiqueta RFID por eModal, PierPass o Port Check, usted podrá volverla a usar en el nuevo pase que compre. Si a usted no se le ha otorgado una etiqueta RFID anteriormente, usted requerirá comprar y activar una como parte de este proceso. El sistema lo guiará a través de pasos. Por favor asegúrese de leer las instrucciones impresas en el recibo para activar su nueva etiqueta de RFID. Este paso es necesario para garantizar que no le sea negado el acceso a las terminales de contenedores.<br><br>El costo de una etiqueta de RFID es de $95 incluyendo impuestos de venta locales y el costo del Pase de Acceso por un Día es de $30 no sujeto a impuestos.  Pases por un Día pueden aplicarse individualmente o en un paquete anual de 24. Pases por Día para terminales de no-contenedores no requieren una etiqueta RFID; para acceder a las terminales del puerto estos pases se deberán ser impresos y colocados en el tablero de su tractocamión.<br><br>Usted requerirá una tarjeta de crédito para comprar una etiqueta de RFID y/o un Pase de Acceso por un Día. Por favor esté informado que tractocamiones modelo 1994 y anteriores sin una extensión del ARB no podrán obtener Pases de Acceso por un Día.  Tractocamiones con modelo entre 1995 y 2004 sólo podrán obtener un Pase de Acceso por un Día sí están cubiertos por una extensión de ARB o se les ha adaptado un dispositivo VDECs. Sí usted ha aplicado anteriormente por un pase y necesita reimprimirlo, selección el botón titulado \"Reprint Day Pass\" y siga las instrucciones. Para asegurar el correcto funcionamiento del sistema por favor use Internet Explorer versión 6 o posterior. Si usted tiene problemas con este sitio por favor llame al 866-721-5686.";
  }  
}