Gotvach = {
    lib: {
        checkIfFieldIsEmpty: function(o) {
            if (o.value == o.defaultValue) {
                o.value = '';
            }
        },
        checkIfPasswordIsEmpty: function(o) {
            if (o.value == o.defaultValue) {
                o.value = '';
                o.type = 'password';
            }
        },
        restoreValueIfEmpty: function(o) {
            if (o.value == '') {
                o.value = o.defaultValue;
            }
        },
        restoreValueIfPasswordEmpty: function(o) {
            if (o.value == '') {
                o.type = 'text';
                o.value = o.defaultValue;
            }
        }
    }
};

function bookmarksite(title,url){
if (window.sidebar) // firefox
window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
var elem = document.createElement('a');
elem.setAttribute('href',url);
elem.setAttribute('title',title);
elem.setAttribute('rel','sidebar');
elem.click();
}
else if(document.all)// ie
window.external.AddFavorite(url, title);
}

//If jQuery available
if (window.jQuery) {
    jQuery(function(){
        //Do nothing
    });
}

                  httpool_publisher_id = '7a287bd1f4d8776d954b88fef1396c9a';
                  httpool_block_type = '1';
                  httpool_ad_format = '468x60';
                  httpool_ad_type_text = 'true';
                  httpool_ad_type_shop = 'true';
                  httpool_ad_type_bigshop = 'true';
                  httpool_ad_type_rich = 'true';
                  httpool_ad_type_video = 'true';
                  httpool_ad_type_http_perf = 'global';
                  httpool_ad_type_perf_text = 'true';
                  httpool_ad_type_perf_shop = 'true';
                  httpool_ad_type_perf_bigshop = 'true';
                  httpool_ad_type_perf_rich = 'true';
                  httpool_ad_type_perf_video = 'true';
                  httpool_open_new_window = 'true';
                  httpool_color_border = '#ffffff';
                  httpool_color_bg = '#ffffff';
                  httpool_color_title = '#0000ff';
                  httpool_color_link = '#34a705';
                  httpool_color_text = '#000000';
                  httpool_alternative_url = 'http://www.gotvach.com';
                  httpool_channel = 'a4f01e8';

        var now = new Date();
        var dayNames = new Array("Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота");
        var monNames = new Array("Януари","Февруари","Март","Април","Май","Юни","Юли","Август","Септември","Октомври","Ноември","Декември");

