// JavaScript Document
/*common popup menu*/
/*common popup menu*/



// JavaScript Document
/*common popup menu*/
/*common popup menu*/
function showdrop(Id1, Id2) {
    document.getElementById(Id1).style.display = "block";
    document.getElementById(Id2).className = "Active";
}

function hidedrop(Id1, Id2) {
    document.getElementById(Id1).style.display = "none";
    document.getElementById(Id2).className = "";
}

/*common popup menu
function showdrop(){
document.getElementById("drop").style.display="block";
}
function hidedrop(){
document.getElementById("drop").style.display="none";
}
/*for active popup menu*/




$(function() {
    //Seeting The Current Office
var currentOffice = jQuery('.mapHolder a#current').attr('class')
    jQuery('.office' + currentOffice).show();

    //HOVER STATES
    jQuery('.mapHolder a').hover(function() {

    if (jQuery(this).attr('id') == "current") {
            return false;
        } else {
        var office = jQuery(this).attr('class');
            jQuery('.office' + office).show();
        }

    }, function() {

    if (jQuery(this).attr('id') == "current") {
            return false;
        } else {
        var office = jQuery(this).attr('class');
            jQuery('.office' + office).hide();
        }

    });
});
/*
function hidedrop(Id1, Id2) {
		document.getElementById(Id1).style.display="none";
		document.getElementById(Id2).className="";
}

			function showLabel(office, label) {
			jQuery('#mapPopUp').addClass('office'+ office);
			jQuery('#mapPopUp .mapContent').text(label);
			jQuery('.office'+ office).show ();
			}

			function hideLabel(office) {
			jQuery('#mapPopUp').removeClass('office'+ office);
			jQuery('#mapPopUp').hide ();
			}
*/

function agreeLegal() {
    jQuery('#legal').hide()
    jQuery('#downloadForm').show();
}