function hideall() {
 $('#overview').hide();
 $('#blockdiagram').hide();
 $('#detail').hide();
 $('#orderinfo').hide();
 $('#overviewsel').css('border','1px solid #585b8d');
 $('#blockdiagramsel').css('border','1px solid #585b8d');
 $('#detailsel').css('border','1px solid #585b8d');
 $('#orderinfosel').css('border','1px solid #585b8d');
 $('#overviewsel').css('padding-top','2px');
 $('#blockdiagramsel').css('padding-top','2px');
 $('#detailsel').css('padding-top','2px');
 $('#orderinfosel').css('padding-top','2px');
 $('#overviewsel').css('padding-bottom','3px');
 $('#blockdiagramsel').css('padding-bottom','3px');
 $('#detailsel').css('padding-bottom','3px');
 $('#orderinfosel').css('padding-bottom','3px');
 $('#overviewsel').css('height','20px');
 $('#blockdiagramsel').css('height','20px');
 $('#detailsel').css('height','20px');
 $('#orderinfosel').css('height','20px');
 $('#overviewsel').css('width','100px');
 $('#blockdiagramsel').css('width','100px');
 $('#detailsel').css('width','100px');
 $('#orderinfosel').css('width','100px');
 $('#overviewsel').css('margin','0px');
 $('#blockdiagramsel').css('margin','0px');
 $('#detailsel').css('margin','0px');
 $('#orderinfosel').css('margin','0px');
 $('#overviewsel').css('margin-left','-1px');
 $('#blockdiagramsel').css('margin-left','-1px');
 $('#detailsel').css('margin-left','-1px');
 $('#orderinfosel').css('margin-left','-1px');
 $('#overviewsel').css('background','#acbadf');
 $('#blockdiagramsel').css('background','#acbadf');
 $('#detailsel').css('background','#acbadf');
 $('#orderinfosel').css('background','#acbadf');
 $('#overviewsel').hover(function(){
  $('#overviewsel').css('background','#e9ecf1');
 }, function(){
  $('#overviewsel').css('background','#acbadf');
 });
 $('#blockdiagramsel').hover(function(){
  $('#blockdiagramsel').css('background','#e9ecf1');
 }, function(){
  $('#blockdiagramsel').css('background','#acbadf');
 });
 $('#detailsel').hover(function(){
  $('#detailsel').css('background','#e9ecf1');
 }, function(){
  $('#detailsel').css('background','#acbadf');
 });
 $('#orderinfosel').hover(function(){
  $('#orderinfosel').css('background','#e9ecf1');
 }, function(){
  $('#orderinfosel').css('background','#acbadf');
 });
}
function showoverview() {
 hideall();
 $('#overview').show();
 $('#overviewsel').css('border-bottom','none');
 $('#overviewsel').css('background','white');
 $('#overviewsel').css('height','21px');
 $('#overviewsel').hover(function(){
  $('#overviewsel').css('background','white');
 }, function(){
  $('#overviewsel').css('background','white');
 });
}
function showblockdiagram() {
 hideall();
 $('#blockdiagram').show();
 $('#blockdiagramsel').css('border-bottom','none');
 $('#blockdiagramsel').css('background','white');
 $('#blockdiagramsel').css('height','21px');
 $('#blockdiagramsel').hover(function(){
  $('#blockdiagramsel').css('background','white');
 }, function(){
  $('#blockdiagramsel').css('background','white');
 });
}
function showdetail() {
 hideall();
 $('#detail').show();
 $('#detailsel').css('border-bottom','none');
 $('#detailsel').css('background','white');
 $('#detailsel').css('height','21px');
 $('#detailsel').hover(function(){
  $('#detailsel').css('background','white');
 }, function(){
  $('#detailsel').css('background','white');
 });
}
function showorderinfo() {
 hideall();
 $('#orderinfo').show();
 $('#orderinfosel').css('border-bottom','none');
 $('#orderinfosel').css('background','white');
 $('#orderinfosel').css('height','21px');
 $('#orderinfosel').hover(function(){
  $('#orderinfosel').css('background','white');
 }, function(){
  $('#orderinfosel').css('background','white');
 });
}
function hidealloverview() {
 $('#FPGA').hide();
 $('#Host_I_F').hide();
 $('#xrmfunc').hide();
 $('#fpgasel').css('background','#acbadf');
 $('#hostifsel').css('background','#acbadf');
 $('#xrmsel').css('background','#acbadf');
 $('#fpgasel').hover(function(){
  $('#fpgasel').css('background','white');
 }, function(){
  $('#fpgasel').css('background','#acbadf');
 });
 $('#hostifsel').hover(function(){
  $('#hostifsel').css('background','white');
 }, function(){
  $('#hostifsel').css('background','#acbadf');
 });
 $('#xrmsel').hover(function(){
  $('#xrmsel').css('background','white');
 }, function(){
  $('#xrmsel').css('background','#acbadf');
 });
}
function showfpga() {
 hidealloverview();
 $('#FPGA').show();
 $('#fpgasel').css('background','white');
 $('#fpgasel').hover(function(){
  $('#fpgasel').css('background','white');
 }, function(){
  $('#fpgasel').css('background','white');
 });
}
function showhostif() {
 hidealloverview();
 $('#Host_I_F').show();
 $('#hostifsel').css('background','white');
 $('#hostifsel').hover(function(){
  $('#hostifsel').css('background','white');
 }, function(){
  $('#hostifsel').css('background','white');
 });
}
function showxrm() {
 hidealloverview();
 $('#xrmfunc').show();
 $('#xrmsel').css('background','white');
 $('#xrmsel').hover(function(){
  $('#xrmsel').css('background','white');
 }, function(){
  $('#xrmsel').css('background','white');
 });
}
function hideallfunction() {
 $('#futurediv').hide();
 $('#activefpgadiv').hide();
 $('#activexrmdiv').hide();
 $('#activecarrierdiv').hide();
 $('#maturefpgadiv').hide();
 $('#maturexrmdiv').hide();
 $('#future').html("Future Products [+]");
 $('#activefpga').html("Active FPGA Products [+]");
 $('#activexrm').html("Active XRM Products [+]");
 $('#activecarrier').html("Active carrier Products [+]");
 $('#maturexrm').html("mature XRM Products [+]");
 $('#maturefpga').html("mature FPGA Products [+]");
}
function showfuture() {
 $('#futurediv').toggle();
 if($('#future').html()=="Future Products [-]"){
  $('#future').html("Future Products [+]");
 }
 else {
  $('#future').html("Future Products [-]");
 }
}
function showactivefpga() {
 $('#activefpgadiv').toggle();
 if($('#activefpga').html()=="Active FPGA Products [-]"){
  $('#activefpga').html("Active FPGA Products [+]");
 }
 else {
  $('#activefpga').html("Active FPGA Products [-]");
 }
}
function showactivexrm() {
 $('#activexrmdiv').toggle();
 if($('#activexrm').html()=="Active XRM Products [-]"){
  $('#activexrm').html("Active XRM Products [+]");
 }
 else {
  $('#activexrm').html("Active XRM Products [-]");
 }
}
function showactivecarrier() {
 $('#activecarrierdiv').toggle();
 if($('#activecarrier').html()=="Active carrier Products [-]"){
  $('#activecarrier').html("Active carrier Products [+]");
 }
 else {
  $('#activecarrier').html("Active carrier Products [-]");
 }
}
function showmaturexrm() {
 $('#maturexrmdiv').toggle();
 if($('#maturexrm').html()=="mature XRM Products [-]"){
  $('#maturexrm').html("mature XRM Products [+]");
 }
 else {
  $('#maturexrm').html("mature XRM Products [-]");
 }
}
function showmaturefpga() {
 $('#maturefpgadiv').toggle();
 if($('#maturefpga').html()=="mature FPGA Products [-]"){
  $('#maturefpga').html("mature FPGA Products [+]");
 }
 else {
  $('#maturefpga').html("mature FPGA Products [-]");
 }
}
