 $(function() {
                $('#container-1').tabs();
  $('#container-1 ul li a').click(function () {location.hash = $(this).attr('href');
  $("#crumbNav").empty();
  $("#crumbNav").append(this.text);
});
});
 
function showTab(currentTab,requestedTab){
          $('a[href$=#'+currentTab+']').parent().removeClass("tabs-selected");
          $('a[href$=#'+requestedTab+']').parent().addClass("tabs-selected");
          $('#'+currentTab).addClass("tabs-hide");
          $('#'+requestedTab).removeClass("tabs-hide");
        }

function displayText(){
document.getElementById("enter").value="Search Convergia.com";
document.getElementById("enter").style.fontFamily="Arial,Helvetica,sans-serif";
}

/*
function changeValue(){
     var value1=document.getElementById('open1').value;
      if(value1 =="open"){
     document.getElementById('open1').value="close";
     document.getElementById('open_1').innerHTML="Close";
    }
    else if(value1 =="close"){
     document.getElementById('open1').value="open";
     document.getElementById('open_1').innerHTML="Open";
    }
    
     
     }*/

//select country 
$(document).ready(function(){ 
 $('.countryi').hide(); 
  $('#dropdown').change(function() { 
    $('.countryi').hide(); 
    $('#div' + $(this).val()).show(); 
 }); 
}); 

//text popup
$(document).ready(function(){
  $(".popuptxt1").click(function(){
    $("#text1").fadeIn();
    $(".backgrounddiv").fadeIn();
  
  });
  $(".close").click(function(){
    $("#text1").fadeOut();
    $(".backgrounddiv").fadeOut();
  
  });
});

$(document).ready(function(){
  $(".popuptxt2").click(function(){
    $("#text2").fadeIn();
    $(".backgrounddiv").fadeIn();
  
  });
  $(".close").click(function(){
    $("#text2").fadeOut();
    $(".backgrounddiv").fadeOut();
  
  });
});

$(document).ready(function(){
  $(".popuptxt3").click(function(){
    $("#text3").fadeIn();
    $(".backgrounddiv").fadeIn();
  
  });
  $(".close").click(function(){
    $("#text3").fadeOut();
    $(".backgrounddiv").fadeOut();
  
  });
});

$(document).ready(function(){
  $(".popuptxt4").click(function(){
    $("#text4").fadeIn();
    $(".backgrounddiv").fadeIn();
  
  });
  $(".close").click(function(){
    $("#text4").fadeOut();
    $(".backgrounddiv").fadeOut();
  
  });
});

$(document).ready(function(){
  $(".popuptxt5").click(function(){
    $("#text5").fadeIn();
    $(".backgrounddiv").fadeIn();
  
  });
  $(".close").click(function(){
    $("#text5").fadeOut();
    $(".backgrounddiv").fadeOut();
  
  });
});

$(document).ready(function(){
  $(".popuptxt6").click(function(){
    $("#text6").fadeIn();
    $(".backgrounddiv").fadeIn();
  
  });
  $(".close").click(function(){
    $("#text6").fadeOut();
    $(".backgrounddiv").fadeOut();
  
  });
});

$(document).ready(function(){
  $(".popuptxt7").click(function(){
    $("#text7").fadeIn();
    $(".backgrounddiv").fadeIn();
  
  });
  $(".close").click(function(){
    $("#text7").fadeOut();
    $(".backgrounddiv").fadeOut();
  
  });
});

$(document).ready(function(){
  $(".popuptxt8").click(function(){
    $("#text8").fadeIn();
    $(".backgrounddiv").fadeIn();
  
  });
  $(".close").click(function(){
    $("#text8").fadeOut();
    $(".backgrounddiv").fadeOut();
  
  });
});

$(document).ready(function(){
  $(".popuptxt9").click(function(){
    $("#text9").fadeIn();
    $(".backgrounddiv").fadeIn();
  
  });
  $(".close").click(function(){
    $("#text9").fadeOut();
    $(".backgrounddiv").fadeOut();
  
  });
});

$(document).ready(function(){
    $(".popuptxt10").click(function(){
        $("#text10").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text10").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt11").click(function(){
        $("#text11").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text11").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt12").click(function(){
        $("#text12").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text12").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt13").click(function(){
        $("#text13").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text13").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt14").click(function(){
        $("#text14").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text14").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt15").click(function(){
        $("#text15").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text15").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt16").click(function(){
        $("#text16").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text16").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt17").click(function(){
        $("#text17").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text17").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt18").click(function(){
        $("#text18").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text18").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt19").click(function(){
        $("#text19").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text19").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt20").click(function(){
        $("#text20").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text20").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt21").click(function(){
        $("#text21").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text21").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt22").click(function(){
        $("#text22").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){

        $("#text22").fadeOut();

        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt23").click(function(){
        $("#text23").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text23").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt24").click(function(){
        $("#text24").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text24").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt25").click(function(){
        $("#text25").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text25").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt26").click(function(){
        $("#text26").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text26").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt27").click(function(){
        $("#text27").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text27").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt28").click(function(){
        $("#text28").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text28").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt29").click(function(){
        $("#text29").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text29").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt30").click(function(){
        $("#text30").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text30").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt31").click(function(){
        $("#text31").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text31").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

$(document).ready(function(){
    $(".popuptxt32").click(function(){
        $("#text32").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text32").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});
$(document).ready(function(){
    $(".popuptxt33").click(function(){
        $("#text33").fadeIn();
        $(".backgrounddiv").fadeIn();
    });
    $(".close").click(function(){
        $("#text33").fadeOut();
        $(".backgrounddiv").fadeOut();
    });
});

//////////////////////

$(document).ready(function(){
 $('#container-1').show();
});

function changeValue()
    {
     var value1=document.getElementById('open1').value;
      if (value1 =="$glossary.get('open')")
         {
        document.getElementById('open1').value="$glossary.get('close')";
        document.getElementById('open_1').innerHTML="$glossary.get('close')";
       }
      else if(value1 =="$glossary.get('close')")
       {
        document.getElementById('open1').value="$glossary.get('open')";
        document.getElementById('open_1').innerHTML="$glossary.get('open')";
       }
    }
