﻿var langdropon = false
        var cssBackup
        var cssBackupisactive = false
        var globalcid

        function countryonof(cid, aktiv) {

            if (document.getElementById('subM_' + cid) == null)
                return
            if (aktiv == true) {
                document.getElementById('subM_' + cid).style.display = 'block'
                langdropon = true
            }
            else {
                document.getElementById('subM_' + cid).style.display = 'none'
            }
        }

        function outtimeout() {
            if (langdropon == false) {
                document.getElementById('subM_' + globalcid).style.display = 'none'
            }
        }
        function countryoftimeout(cid) {
            globalcid = cid
            langdropon = false
            window.setTimeout("outtimeout()", 5000)

        }
        
 $(document).ready(function() {

            $("#showbkm").click(function() {
                $("#popupbkm").css({ 'display': 'inline' });

            });
            $("#closebkm").click(function() {
                $("#popupbkm").hide();
            });

        });