function TOption(name, desc, hint, link, icon)
{
   this.name = name;
   this.desc = desc;
   this.hint = hint;
   this.link = link;
   this.icon = icon;
}

var Options = new Array(
   new TOption('Naming Conventions',                   
               'In our product names:<br><b>G2</b>: GPS+Galileo,<br><b>G3</b>: GPS+Galileo+GLONASS,<br><b>T&nbsp;&nbsp;</b>: Triple GPS, others dual frequency,<br><b>D&nbsp;&nbsp;</b>: GPS L1/L2 and Galileo E1', 
               'In our product names:G2: GPS+Galileo,G3: GPS+Galileo+GLONASS,T: Triple GPS, others dual frequency,D: GPS L1/L2 and Galileo E1', 
               '', 
               '' )

  ,new TOption('Code Differential Base',                   
               'Transmits code differential corrections in RTCM 2.x format. It is also called DGPS when referring to GPS only.', 
               'Transmits code differential corrections in RTCM 2.x format. It is also called DGPS when referring to GPS only.', 
               '', 
               '' )

  ,new TOption('Code Differential Rover',       
               'Receives Code Differential corrections in RTCM 2.x format from up to five base stations simultaneously and provides solutions in single epoch mode or in Kalman filter mode (KFK).', 
               'Receives Code Differential corrections in RTCM 2.x format from up to five base stations simultaneously and provides solutions in single epoch mode or in Kalman filter mode (KFK).', 
               '', 
               '' )

  ,new TOption('KFK WAAS/EGNOS (SBAS)',                    
               'Receives Code Differential corrections from US WAAS, European EGNOS, and similar satellite systems and provides solutions in single epoch mode or in Kalman filter mode (KFK).', 
               'Receives Code Differential corrections from US WAAS, European EGNOS, and similar satellite systems and provides solutions in single epoch mode or in Kalman filter mode (KFK).', 
               '', 
               '' )

  ,new TOption('RTK Base',                                 
               'Transmits Carrier Phase differential corrections in RTCM 2.x, RTCM 3.x, CMR or JPS formats. Our RTK options includes RTK Base and RTK Multi-Base Rover.', 
               'Transmits Carrier Phase differential corrections in RTCM 2.x, RTCM 3.x, CMR or JPS formats. Our RTK options includes RTK Base and RTK Multi-Base Rover.', 
               '', 
               '' )

  ,new TOption('Multi-base RTK Rover',                     
               'Receives Carrier Phase differential corrections in RTCM 2.x, RTCM 3.x, CMR, or JPS formats from up to three base stations simultaneously and provides RTK solutions. It also has the "moving base" feature in JPS format only.<br/>Our RTK options includes RTK Base and RTK Multi-Base Rover.', 
               'Receives Carrier Phase differential corrections in RTCM 2.x, RTCM 3.x, CMR, or JPS formats from up to three base stations simultaneously and provides RTK solutions. It also has the "moving base" feature in JPS format only.Our RTK options includes RTK Base and RTK Multi-Base Rover.', 
               '', 
               '' )

  ,new TOption('Advanced Multipath Reduction',              
               'Multipath occurs when the undesirable reflected satellite signals enter the antenna in addition to the desirable direct signal. Multipath is the most critical source of inaccuracy in precision applications. Our Advanced Multipath Reduction technique is a sophisticated signal processing technique which substantially removes the reflected signals from code and carrier.', 
               'Multipath occurs when the undesirable reflected satellite signals enter the antenna in addition to the desirable direct signal. Multipath is the most critical source of inaccuracy in precision applications. Our Advanced Multipath Reduction technique is a sophisticated signal processing technique which substantially removes the reflected signals from code and carrier.', 
               '', 
               '' )


  ,new TOption('IRIG',                  
               'IRIG Timecode is the RCC standard used to timestamp video, film, telemetry, radar, and other data collected at test ranges.<br/>Our IRIG Timecode Generator supports B122 and B123 formats.', 
               'IRIG Timecode is the RCC standard used to timestamp video, film, telemetry, radar, and other data collected at test ranges.Our IRIG Timecode Generator supports B122 and B123 formats.', 
               '', 
               '' )

  ,new TOption('1-PPS',                      
               'Outputs programmable "n" pulses per second, locked to GNSS (user selectable) timing systems; active edge programmable; typical voltage level 0 to 2 volts on 50 Ohm load; 10 nanosecond phase jitter', 
               'Outputs programmable "n" pulses per second, locked to GNSS (user selectable) timing systems; active edge programmable; typical voltage level 0 to 2 volts on 50 Ohm load; 10 nanosecond phase jitter', 
               '', 
               '' )

  ,new TOption('Event Marker',                             
               'Accepts and time tags events with 10 nano seconds resolution; programmable active edge; input level 3.3 volt CMOS with 5 kOhm pull up resistor.', 
               'Accepts and time tags events with 10 nano seconds resolution; programmable active edge; input level 3.3 volt CMOS with 5 kOhm pull up resistor.', 
               '', 
               '' )

  ,new TOption('External Frequency Input/Output',          
               'In the Input mode it locks the internal oscillator of the GNSS receiver to an external clock (usually Cesium or Rubidium) connected to the receiver.<br/>In the output mode it locks the internal 20 Mhz oscillator of the GNSS receiver to the GNSS timing system (user selectable) and outputs the frequency via an RF connector.', 
               'In the Input mode it locks the internal oscillator of the GNSS receiver to an external clock (usually Cesium or Rubidium) connected to the receiver.In the output mode it locks the internal 20 Mhz oscillator of the GNSS receiver to the GNSS timing system (user selectable) and outputs the frequency via an RF connector.', 
               '', 
               '' )

  ,new TOption('CAN 2.0',            
               'CAN(Controller Area Network) 2.0 A/B with maximum speed of 1 Mbps. It includes all hardware and software.', 
               'CAN(Controller Area Network) 2.0 A/B with maximum speed of 1 Mbps. It includes all hardware and software.', 
               '', 
               '' )

  ,new TOption('CANopen interface',                        
               'CANopen is a CAN-based higher layer protocol. It is implemented in accordance with CiA Draft Standard 301.( <a href="http://www.can-cia.com" target="_blank">www.can-cia.com</a> ).', 
               'CANopen is a CAN-based higher layer protocol. It is implemented in accordance with CiA Draft Standard 301.( www.can-cia.com ).', 
               '', 
               '' )

  ,new TOption('USB 2.0',                            
               'Compliant with specification 2.0, can act at Full Speed rate of up to 12 Mbit/s or at Hi-Speed rate of up to 480 Mbit/s. OEM TR-serie boards and Alpha products are support Full Speed mode only.', 
               'Compliant with specification 2.0, can act at Full Speed rate of up to 12 Mbit/s or at Hi-Speed rate of up to 480 Mbit/s. OEM TR-serie boards and Alpha products are support Full Speed mode only.', 
               '', 
               '' )

  ,new TOption('RS232',                        
               'In receiving it accepts &plusmn;3 to &plusmn;25 volts. In transmitting typical levels are &plusmn;5.5 volts. Maximum speed: 460.8 kbps.', 
               'In receiving it accepts +-3 to +-25 volts. In transmitting typical levels are +-5.5 volts. Maximum speed: 460.8 kbps.', 
               '', 
               '' )

  ,new TOption('RS422',                        
               'RS422 is an interface which supports balanced and differential Point-to-Point and Multi-Drop data transmission at data rates of up to 460.8 kbps. With maximum cable length of 500 meters, speed of about 200 kbps could be achieved.', 
               'RS422 is an interface which supports balanced and differential Point-to-Point and Multi-Drop data transmission at data rates of up to 460.8 kbps. With maximum cable length of 500 meters, speed of about 200 kbps could be achieved.', 
               '', 
               '' )

  ,new TOption('In-Band Interference Rejection',           
               'To defend against signals that fall within the GNSS band, we have five sophisticated 64th order adaptive anti jamming filters in five different signal bands, capable of suppressing multiple interferences by up to 60 dB.', 
               'To defend against signals that fall within the GNSS band, we have five sophisticated 64th order adaptive anti jamming filters in five different signal bands, capable of suppressing multiple interferences by up to 60 dB.', 
               '', 
               '' )

  ,new TOption('Heading Determination',                    
               'The "Heading Determination" option is aimed to calculate the heading and pitch angles using two receivers. It is necessary, the ports of the receivers are connected by using a cable and the receivers have the same value for "RTK Rate" options.', 
               'The "Heading Determination" option is aimed to calculate the heading and pitch angles using two receivers. It is necessary, the ports of the receivers are connected by using a cable and the receivers have the same value for "RTK Rate" options.', 
               '', 
               '' )

  ,new TOption('WiFi (IEEE 802.11b/g)',
               'WiFi module can connect to 802.11 b/g access points (hot spots) and access Internet with maximum data rate of 54 Mbps.', 
               'WiFi module can connect to 802.11 b/g access points (hot spots) and access Internet with maximum data rate of 54 Mbps.', 
               '', 
               '' )

  ,new TOption('Internal Modem',
               'Digital UHF radio transceiver programmable in frequency ranges from 410 to 470 MHz with channel spacing of 6.25, 12.5, 20, or 25 KHz and capable of transmitting with speed up to 38.4 Kbps. It has DBPSK, DQPSK, D8PSK, D16QAM, and GMSK modulations with advanced forward error correction and data scrambling. The maximum output power is 1 Watt.', 
               'Digital UHF radio transceiver programmable in frequency ranges from 410 to 470 MHz with channel spacing of 6.25, 12.5, 20, or 25 KHz and capable of transmitting with speed up to 38.4 Kbps. It has DBPSK, DQPSK, D8PSK, D16QAM, and GMSK modulations with advanced forward error correction and data scrambling. The maximum output power is 1 Watt.', 
               '', 
               '' )

  ,new TOption('Ext freq out/ 1PPS converter',
               'It sets output frequency of External reference signal equal 5MHz, 10MHz or 20MHz; changes output power of External reference signal in a range from -2dBm to +13dBm with step 1dBm; changes level of 1PPS signal from 3V to 5V and back for 1PPS(1)',
               'It sets output frequency of External reference signal equal 5MHz, 10MHz or 20MHz; changes output power of External reference signal in a range from -2dBm to +13dBm with step 1dBm; changes level of 1PPS signal from 3V to 5V and back for 1PPS(1)',
               '', 
               '' )

  ,new TOption('Ethernet',
               'Standard full duplex, 10/100 Mb; supports auto-negotiation and selecting proper speed. We also support point-to-point protocol (PPP).<br>Mid-Level Protocols: TCP/IP and UDP/IP.<br>High-Level Protocols: Raw TCP server, FTP server in read only mode, support for sending GREIS messages over UPD/IP, RCV TCP client, NTRIP TCP client, JSRV TCP Client.<br>Please see our <a href="/downloads/javadgnss/manuals/GREIS/GREIS_Reference_Guide.pdf" target="_blank">GNSS Receiver External Interface Specification (GREIS) manual</a> for details.', 
               'Standard full duplex, 10/100 Mb; supports auto-negotiation and selecting proper speed. We also support point-to-point protocol (PPP).Mid-Level Protocols: TCP/IP and UDP/IP.High-Level Protocols: Raw TCP server, FTP server in read only mode, support for sending GREIS messages over UPD/IP, RCV TCP client, NTRIP TCP client, JSRV TCP Client.Please see our GNSS Receiver External Interface Specification (GREIS) manual for details.', 
               '', 
               '' )

  ,new TOption('GSM',
               'The GSM/GPRS/EDGE quad band module (850, 900, 1800, 1900 MHz) can operate in all GSM networks worldwide and connect to internet via the EDGE and GPRS Class 10 features.<br/>It supports two SIM cards: one internal and one easily accessible via a sealed SIM card door.', 
               'The GSM/GPRS/EDGE quad band module (850, 900, 1800, 1900 MHz) can operate in all GSM networks worldwide and connect to internet via the EDGE and GPRS Class 10 features.It supports two SIM cards: one internal and one easily accessible via a sealed SIM card door.', 
               '', 
               '' )

  ,new TOption('Bluetooth',
               'A BlueCore4-ROM based Class 2 Bluetooth module conforms with Bluetooth V2.0 + EDR specification. It supports SPP Slave and Master profile.<br/>Our Bluetooth module can coexist with our WiFi 802.11b/g module and operate simultaneously.', 
               'A BlueCore4-ROM based Class 2 Bluetooth module conforms with Bluetooth V2.0 + EDR specification. It supports SPP Slave and Master profile.Our Bluetooth module can coexist with our WiFi 802.11b/g module and operate simultaneously.', 
               '', 
               '' )

  ,new TOption('MinPad interface',
               'It provides four LED drivers, 3.3 volt CMOS buffers with 100 Ohm series resistor. In all OEM boards (except TR-G2) it also provides two control inputs for two external buttons.', 
               'It provides four LED drivers, 3.3 volt CMOS buffers with 100 Ohm series resistor. In all OEM boards (except TR-G2) it also provides two control inputs for two external buttons.', 
               '', 
               '' )

  ,new TOption('RAIM',
               'Receiver Autonomous Integrity Monitoring (RAIM) feature isolates and eliminates faulty satellites when possible.', 
               'Receiver Autonomous Integrity Monitoring (RAIM) feature isolates and eliminates faulty satellites when possible.', 
               '', 
               '' )

  ,new TOption('GLONASS 0.2mm Dynamic Calibration',
               'We dynamically and continuously calibrate GLONASS inter-channel biases with an accuracy of 0.2 millimeter. <a href="gclb.html" target="_blank">More...</a>', 
               'We dynamically and continuously calibrate GLONASS inter-channel biases with an accuracy of 0.2 millimeter.', 
               '', 
               '' )

);

function topic(header,body)
{
   if ( SingleTopicMode && DocumentSearch != '?'+header ) return;
   if ( body=='' ) body='&nbsp;';
   document.writeln('<scr'+'ipt>GreyBox.open()</scr'+'ipt>');
   document.writeln('<div align=center><b>'+header+'</b></div>');
   document.writeln('<div class="justify" style="padding-top:0">'+body+'</div>');
   document.writeln('<scr'+'ipt>GreyBox.close()</scr'+'ipt>');
}

function DrawOptionsDescriptions()
{
    var rows=Math.round(0.5+(Options.length/3));
    var row=0;
    document.writeln('<tr><td width="33%" valign="top">');
    for(var i=0; i < Options.length; i++)
      {
        var Opt=Options[i];
        if( row % rows == 0 && row !=0 )
          {
            document.writeln('</td><td width="33%" valign="top">');
            row=0;
          }
        document.writeln('<scr'+'ipt>topic('+"'"+Opt.name+"'"+', '+"'"+Opt.desc+"'"+');</scr'+'ipt>');
        row++;
      }
    document.writeln('</td></tr>');

}

function DrawOption(name)
{
    for(var i=0; i < Options.length; i++)
      {
        var Opt=Options[i];
        if( Opt.name == name )
          {
            document.write('<a class="tooltipped" id="' + name.replace(/[^a-zA-Z0-9]/g, '-') + '" href="/jgnss/products/options/index.html" ');
            //document.write('title='+"'"+Opt.hint+"' ");
            document.write('target="_blank" style="color:#000000;">');
            document.write(Opt.name);
            document.write('</a>');
            document.write('<span class="tooltip" style="display:none;" id="'+ name.replace(/[^a-zA-Z0-9]/g, '-') +'-tooltip">'+Opt.desc+'</span>');

            return;
          }
      }
    // if none is match:
    document.writeln(name);

}


