/* The link details */ 

var links = new Array ("secure_card", "usb_token", "secure_pinpad", "contactless", "secure_mobile", "ehealth", "pact", "customized", "chipsets", "chipdrive"); 

var links_text = new Array ("Smart Card Readers", "USB Token", "PINpad Readers", "Contactless & Dual Interface Readers", "Physical Access Control Terminals (PACT)", "eHealth Terminals", "ePassport Readers", "Mobile Readers", "Chip Sets", "CHIPDRIVE® Solutions"); 

var links_url = new Array ("secure_card.html?lang=en", "usb_token.html?lang=en", "secure_pinpad.html?lang=en", "dual_interface_overview.html?lang=en", "pact_overview.html?lang=en", "ehealth_overview.html?lang=en", "epass_overview.html?lang=en", "secure_mobile.html?lang=en", "chipsets_overview.html?lang=en", "chipdrive_overview.html?lang=en"); 



/* Resolve the location */ 

var loc=String(this.location); 

loc=loc.split("/"); 

loc=loc[loc.length-1].split("."); 

loc=loc[loc.length-2]; 



/* Menu generating function */ 

function dyn_menu_gen() 

{ 

for(var i=0; i<links.length; i++) 

{ 

 if(loc==links[i]) 

 { 

  document.write('<table width="170" border="0" cellpadding="0" cellspacing="0">');

  document.write('<tr class="navline"><td colspan="2"><img src="/images/blank.gif" width="1" height="1" border="0"></td></tr>');

  document.write('<tr class="bgnavactive" onmouseover="this.className=\'bgnavactive\';" onmouseout="this.className=\'bgnavactive\';" onmousedown="this.className=\'bgnavactive\';" onclick="location.href=\'' + links_url[i] + '\'; return true"><td align="right" width="20"><div class="nav"><b>»&nbsp;&nbsp;</b></div></td><td width="143"><div class="nav"><a href="' + links_url[i] + '" class="nav">' + links_text[i] + '</a></div></td></tr>');

  document.write('</table>'); 

  } 

 else 

 { 

  document.write('<table width="170" border="0" cellpadding="0" cellspacing="0">'); 

  document.write('<tr class="navline"><td colspan="2"><img src="/images/blank.gif" width="1" height="1" border="0"></td></tr>');

  document.write('<tr class="bgnav" onmouseover="this.className=\'bgnavover\';return true" onmouseout="this.className=\'bgnav\';return true" onmousedown="this.className=\'bgnav\';return true" onclick="location.href=\'' + links_url[i] + '\'"><td width="20"><img src="/images/blank.gif" width="20" height="1" border="0"></td><td width="143"><div class="nav"><a href="' + links_url[i] + '" class="nav">' + links_text[i] + '</a></div></td></tr>');

  document.write('</table>');



} 

 document.write(''); 

} 

} 



/* Generate the menu */ 

dyn_menu_gen();

