// Quick-Links

// Properties


// Constructor

function QuickLink (strKey, strUrl, strImageUrl, strDescUk, strDescGr)
  {
  this.m_strKey=strKey;
  this.m_strUrl=strUrl;
  this.m_strImageUrl=strImageUrl;
  this.m_strDescUk=strDescUk;
  this.m_strDescGr=strDescGr;
  }


  
// +++ Quicklink Array

var lstQuickLink=new Array();
var i=0;

// <QuickLinkList>
//                                key            Link-Url (ohne _gr/uk.htm)            Image                                            DescUk                                                                                             DescGr
lstQuickLink[i++]=new QuickLink( "Pyramid",     "Products/Acc/Mounting/Ball",         "Products/Acc/Mounting/Pyramid_thmb.jpg",        "Holder pyramid with 7 1/4 inch threads for ball joints and flange mounting capabilities",         "Alu-Pyramide mit 7x1/4\"-Gewinden für Kugelgelenke mit Flansch"            );
lstQuickLink[i++]=new QuickLink( "PowerCon",    "Products/Acc/Cables/Power",          "Products/Acc/Cables/Dsub5l.jpg",                "Power supply connector DSub5",                                                                    "Spannungs-versorgungs-Stecker DSub5"                                       );
lstQuickLink[i++]=new QuickLink( "PowerCable",  "Products/Acc/Cables/Power",          "Products/Acc/Cables/Power_thmb.jpg",            "Power supply cable with two banana plugs, several lengths",                                       "Spannungs-versorgungskabel mit Bananen-steckern in verschiedenen Längen"   );
lstQuickLink[i++]=new QuickLink( "VgaCable",    "Products/Acc/Cables/Video",          "Products/Acc/Cables/Vga_thmb.jpg",              "VGA signal cable with ferrite bead, several lengths",                                             "VGA Signalkabel mit Ferrit, verschiedene Längen"                           );
lstQuickLink[i++]=new QuickLink( "VideoCable",  "Products/Acc/Cables/SVideo",         "Products/Acc/Cables/MDin2_thmb.jpg",            "S-Video cable, several lengths",                                                                  "S-Video-Kabel, verschiedene Längen"                                        );
lstQuickLink[i++]=new QuickLink( "EthCable",    "Products/Acc/Cables/Patch",          "Products/Acc/Cables/Patch_thmb.jpg",            "Ethernet twisted pair cable, several lengths",                                                    "Ethernet Twisted-Pair-Kabel in verschiedenen Längen"                       );
lstQuickLink[i++]=new QuickLink( "SquareCable", "Products/Acc/Cables/Square10",       "Products/Acc/Cables/Square10_thmb75.jpg",       "Universal 0.64mm²/2.54mm cable",                                                                  "Universelles 0,64mm²/2,54mm-Kabel"                                         );
lstQuickLink[i++]=new QuickLink( "KbdCable",    "Products/Acc/Cables/KbdExt",         "Products/Acc/Cables/MDin2_thmb.jpg",            "Keyboard extension cable for PS/2 keyboards",                                                     "Tastatur-<BR>Verlängerungskabel für PS/2-Tastaturen"                       );
lstQuickLink[i++]=new QuickLink( "KbdY",        "Products/Acc/Cables/Ps2Y",           "Products/Acc/Cables/Ps2Y_thmb.jpg",             "PS/2 Y adapter<BR>for mouse and keyboard",                                                        "PS/2 Y Adapter<BR>für Maus and Tastatur"                                   );
lstQuickLink[i++]=new QuickLink( "KbdDinAdapt", "Products/Acc/Cables/MiniDinAdaptor", "Products/Acc/Cables/MiniDinAdaptor.jpg",        "PS/2 adapter<BR>DIN to Mini-DIN",                                                                 "PS/2-Adapter<BR>DIN zu Mini-DIN"                                           );
lstQuickLink[i++]=new QuickLink( "Keyboard",    "Products/Keyboards/Kbd",             "Products/Keyboards/KbdTrackCompact_thmb.jpg",   "Keyboards for mobile applications",                                                               "Tastaturen für mobile Anwendungen"                                         );
lstQuickLink[i++]=new QuickLink( "RGB",         "Products/Video/Rgb",                 "Products/Video/Rgb_thmb.jpg",                   "CVBS to RGB converter splits CVBS- or S-Video into RGB signals",                                  "FBAS zu RGB Konverter splittet FBAS oder S-Video in RGB-Signale auf"       );
lstQuickLink[i++]=new QuickLink( "FBAS",        "Products/Video/Fbas",                "Products/Video/Fbas_thmb.jpg",                  "RGB to CVBS converter converts RGB video into CVBS and S-Video",                                  "RGB zu FBAS Konverter konvertiert RGB in FBAS und S-Video"                 );
lstQuickLink[i++]=new QuickLink( "Sdvc",        "Products/Video/Sdvc",                "Products/Video/Sdvc_thmb.jpg",                  "RGB, Component, CVBS and S-Video to each other",                                                  "Konvertiert FBAS, RGB, YPbPr, S-Video, FBAS in jeweils andere Formate"     );
lstQuickLink[i++]=new QuickLink( "HolderBall",  "Products/Acc/Mounting/Ball",         "Products/Acc/Mounting/Ball_thmb.jpg",           "Universal, massive mounting assistant with ball joint and a mounting flange",                     "Universeller, massiver Aluminiumhalter mit Kugelgelenk und Montageflansch" );
lstQuickLink[i++]=new QuickLink( "Viso",        "Products/Video/Viso",                "Products/Video/Viso_thmb.jpg",                  "Video isolator detaches ground loops of video signal paths",                                      "Video-Isolator für Masse-Potenzialtrennung in Video-Leitungen"             );
// obsolete lstQuickLink[i++]=new QuickLink( "Vdc",         "Products/Acc/Others/Vdc",            "Products/Acc/Others/Vdc_thmb.jpg",              "Versatile Display Controller drives almost all type of TFT, e.g. LVDS or analog",                 "Vielseitiger Display-Controller für nahezu alle TFTs z.B. LVDS oder Analog");
lstQuickLink[i++]=new QuickLink( "Vti",         "Products/Acc/Others/Vti",            "Products/Acc/Others/Vti_thmb.jpg",              "TFT interface for embedded applications. Has multiple inputs and drives almost all TFTs",         "TFT-Interface für Embedded-Anwendungen. Kann nahezu alle TFTs ansteuern"   );
lstQuickLink[i++]=new QuickLink( "HolderDock",  "Products/Acc/Mounting/PCompDock",    "Products/Acc/Mounting/PCompDock_thmb.jpg",      "Holder for DisplayPC with ball joint and docking function",                                       "DisplayPC-Halter mit Docking-Funktion"                                     );
lstQuickLink[i++]=new QuickLink( "DisplayPC",   "Products/DisplayPC/DisplayPCFrame",  "Products/DisplayPC/PComp10XP.jpg",              "DisplayPC - Display with integraged PC",                                                          "DisplayPC - Display mit integriertem Rechner"                              );

lstQuickLink[i++]=new QuickLink( "Displays",    "Products/Displays/Displays",         "Products/Displays/Sl10x/Sl10x_thmb75.jpg",      "High-brightness displays for mobile use",                                                         "Displays für mobilen Einsatz, High-Brightness"                             );
// obsolete lstQuickLink[i++]=new QuickLink( "SL2",         "Products/Displays/Std/Std",          "Products/Displays/Std/Std_thmb75.jpg",          "SunLight2 2.5\" TFT display for PAL RGB",                                                         "SunLight2 2,5\" TFT Display für PAL RGB"                                   );
// obsolete lstQuickLink[i++]=new QuickLink( "SL5",         "Products/Displays/Mfd/Mfd",          "Products/Displays/Mfd/Mfd_thmb75.jpg",          "SunLight5 5.1\" TFT display for PAL and NTSC RGB",                                                "SunLight5 5,1\" TFT Display für PAL und NTSC RGB"                          );
lstQuickLink[i++]=new QuickLink( "SL10X",       "Products/Displays/Sl10x/Sl10x",      "Products/Displays/Sl10x/Sl10x_thmb75.jpg",      "SunLight10X 10.4\" XGA TFT display 1000 cd/m²",                                                   "SunLight10X 10,4\" XGA TFT Display 1000 cd/m²"                             );
lstQuickLink[i++]=new QuickLink( "SL12X",       "Products/Displays/Sl12x/Sl12x",      "Products/Displays/Sl12x/Sl12x_thmb75.jpg",      "SunLight12X 12.1\" XGA TFT display 800 cd/m²",                                                    "SunLight12X 12,1\" XGA TFT Display 800 cd/m²"                              );
lstQuickLink[i++]=new QuickLink( "SL15U",       "Products/Displays/Sl15u/Sl15u",      "Products/Displays/Sl15u/Sl15u_thmb75.jpg",      "SunLight15U 15\" UXGA TFT display 1000 cd/m²",                                                    "SunLight15U 15\" UXGA TFT Display 1000 cd/m²"                              );
lstQuickLink[i++]=new QuickLink( "PL6WQ",       "Products/Displays/Pl6wq/Pl6wq",      "Products/Displays/Pl6wq/Pl6wq_thmb75.jpg",      "Planet6WQ 6.5 \"transflective TFT display",                                                       "Planet6WQ 6,5\" transflektives TFT Display"                                );
lstQuickLink[i++]=new QuickLink( "ST6V",        "Products/Displays/St6v/St6v",        "Products/Displays/St6v/St6v_thmb75.jpg",        "StarLight6V 6.5\" VGA TFT display",                                                               "StarLight6V 6,5\" VGA TFT Display"                                         );
lstQuickLink[i++]=new QuickLink( "ST8S",        "Products/Displays/Sl8s/Sl8s",        "Products/Displays/St8s/St8s_thmb75.jpg",        "StarLight8S 8.4\" SVGA TFT display",                                                              "StarLight8S 8,4\" SVGA TFT Display"                                        );
lstQuickLink[i++]=new QuickLink( "ST12X",       "Products/Displays/St12x/St12x",      "Products/Displays/St12x/St12x_thmb75.jpg",      "StarLight12X 12.1\" XGA TFT display",                                                             "StarLight12X 12,1\" XGA TFT Display"                                       );
lstQuickLink[i++]=new QuickLink( "ST15X",       "Products/Displays/Sl15x/Sl15x",      "Products/Displays/St15x/St15x_thmb75.jpg",      "StarLight15X 15\" XGA TFT display",                                                               "StarLight15X 15\" XGA TFT Display"                                         );

lstQuickLink[i++]=new QuickLink( "Hub",         "Products/Network/Hub100",            "Products/Network/Hub100_thmb.jpg",              "100 MBit Ethernet Hub",                                                                           "100 MBit Ethernet Hub"                                                     );

lstQuickLink[i++]=new QuickLink( "ImageHub",    "Products/CarImage/Ih30/Ih30",        "Products/CarImage/Ih30/Ih30_thmb75.jpg",        "ImageHub for various vehicles",                                                                   "ImageHub für verschiedene Fahrzeuge"                                       );
lstQuickLink[i++]=new QuickLink( "ImageCutter", "Products/CarImage/Ic30/Ic30",        "Products/CarImage/Ic30/Ic30_thmb75.jpg",        "ImageCutter - Timing converter for ImageHub",                                                     "ImageCutter - Timing Converter für ImageHub"                               );

// lstQuickLink[i++]=new QuickLink( "",  "Products/",        "Products/",            "",                                       ""   );
// lstQuickLink[i++]=new QuickLink( "",  "Products/",        "Products/",            "",                                       ""   );
// lstQuickLink[i++]=new QuickLink( "",  "Products/",        "Products/",            "",                                       ""   );
// lstQuickLink[i++]=new QuickLink( "",  "Products/",        "Products/",            "",                                       ""   );
// lstQuickLink[i++]=new QuickLink( "",  "Products/",        "Products/",            "",                                       ""   );
// lstQuickLink[i++]=new QuickLink( "",  "Products/",        "Products/",            "",                                       ""   );
// lstQuickLink[i++]=new QuickLink( "",  "Products/",        "Products/",            "",                                       ""   );
// lstQuickLink[i++]=new QuickLink( "",  "Products/",        "Products/",            "",                                       ""   );
// lstQuickLink[i++]=new QuickLink( "",  "Products/",        "Products/",            "",                                       ""   );
// lstQuickLink[i++]=new QuickLink( "",  "Products/",        "Products/",            "",                                       ""   );

// </QuickLinkList>




function WriteQuickLinkRightbar (docTarget, strKeys)
  {
  var strLanguage="gr";
  var strUrl=unescape(docTarget.URL);
  var strBaseLocation="//";
  var linkAc;
  var nCol;
  var strKeyAc;
  var nLinkIndex;
  
  if(strUrl.indexOf("_gr")>0)
    strLanguage="gr";
  if(NavBar)
    strBaseLocation=NavBar.strBaseLocation;
  docTarget.writeln("<p>&nbsp;</p>");
  docTarget.writeln("<p>&nbsp;</p>");
  while(strKeys.length>0)
    {

    nCol=strKeys.indexOf(","); // limiter suchen
    if(nCol<0)
      nCol=strKeys.length;
    strKeyAc=strKeys.slice(0,nCol);
    if(nCol<strKeys.length)
      {
      nCol++; // Komma skippen
      while(nCol<strKeys.length&&strKeys.substr(nCol,1)==" ")
        nCol++;
      }
    strKeys=strKeys.slice(nCol,strKeys.length);

    for(nLinkIndex=0;nLinkIndex<lstQuickLink.length;nLinkIndex++)
      {
      if(lstQuickLink[nLinkIndex].m_strKey.toLowerCase()==strKeyAc.toLowerCase())
        {
        linkAc=lstQuickLink[nLinkIndex];
        docTarget.writeln("<table cellspacing=\"10\">");
        docTarget.writeln("<tr>");
        docTarget.writeln("<td><a href=\""+strBaseLocation+linkAc.m_strUrl+"_"+strLanguage+".htm\">");
        docTarget.writeln("<img border=\"0\" src=\""+strBaseLocation+linkAc.m_strImageUrl+"\" width=\"75\"><br>");
        docTarget.writeln("<span id=\"Hiddenref\">");
        switch(strLanguage)
          {
         case "uk":
          docTarget.writeln(linkAc.m_strDescUk);
          break;
         case "gr":
          docTarget.writeln(linkAc.m_strDescGr);
          break;
          }
        docTarget.writeln("</span>");
        docTarget.writeln("</a><hr color=\"#C0C0C0\" size=\"1\">");
        docTarget.writeln("</td></tr>");
        docTarget.writeln("</table>");
        }
      }
    }
  }
