function goTo(href){
    location.href= href;
}
function goUrl(param,value){
    var h = location.href.replace('&amp;','&');    
    h = h.replace(/#.+/gi,"");
    if(/.+\?.+/.test(location.href)){
        location.href = h + "&"+param+"="+value;
    } else {
        location.href = h + "?"+param+"="+value;
    }
}

//menu control
jQuery(document).ready(function(){
    jQuery('#neck .topmenu').hover(
        function(){
            var offset = jQuery(this).offset();
            var left = offset.left-13;
            var top = offset.top+30;
            jQuery('.submenu',this).css({
                'left':left,
                'top': top
            }).show();
        },
        function(){
            jQuery('.submenu',this).hide();
        }
        );
})

jQuery(document).ready(function(){
    jQuery('.submenu li').hover(
        function(){
            jQuery(this).css({
                'background-color': '#777',
                'color' : 'pink',
                'font-weight' : 'bold'
            });
        },
        function(){
            jQuery(this).css({
                'background-color': 'white',
                'color' : '#7f7f7f',
                'font-weight' : 'normal'
            });
        }
        );
})
