$(document).ready(function(){
         $('#seo_market').mouseover(
               function(){
                  $('.over').show().siblings().hide();
               }).mouseout(function(){
                  $('.simple').show().siblings().hide();
               });
      });

jQuery(document).ready(function() {
    $('.menu2 td').not('.delim').mouseover(function() {
        var num = ($(this).attr('num'));
        var imgnum = $('.center_image img:visible').attr('imgnum');
        if (num != imgnum) {
            $('.center_image img:visible').fadeOut(200);
            $('.center_image img[imgnum='+ num +']').fadeIn(200);
        }


        $(this).addClass('active');
        if ($(this).hasClass('first')) {
            $(this).addClass('active_first');
        }
        if ($(this).hasClass('last')) {
            $(this).addClass('active_last');
        }
    }).mouseout(function() {
        $(this).removeClass('active');
        $(this).removeClass('active_first');
        $(this).removeClass('active_last');
    });

    $('div.special').jCarouselLite({
        btnNext: ".right_arrow",
        btnPrev: ".left_arrow",
        visible: 1,
        speed: 400,
        circular: false,
        afterEnd: function(elements) {
            
        }
    });

    $('.serv1').click(function(e) {
        $('#confirm').modal({
            closeHTML: "<a href='#' title='Close' class='modal-close'>x</a>",
            position: ["20%"],
            overlayId: 'confirm-overlay',
            containerId: 'confirm-container',
            onShow: function (dialog) {


                // if the user clicks "yes"
                $('.simplemodal-close', dialog.data[0]).click(function () {
                    // call the callback
                    /*if ($.isFunction(callback)) {
					callback.apply();
				}*/
                    // close the dialog
                    $.modal.close();
                });
            }
        });
    });

    $('.serv2').click(function(e) {
        $('#confirm2').modal({
            closeHTML: "<a href='#' title='Close' class='modal-close'>x</a>",
            position: ["20%"],
            overlayId: 'confirm-overlay2',
            containerId: 'confirm-container2',
            onShow: function (dialog) {


                // if the user clicks "yes"
                $('.simplemodal-close', dialog.data[0]).click(function () {
                    // call the callback
                    /*if ($.isFunction(callback)) {
					callback.apply();
				}*/
                    // close the dialog
                    $.modal.close();
                });
            }
        });
    });

	$(".gw .tabs div a").mouseover(function() {
		if (!$(this).parent().parent().hasClass("set")) {
		$(this).parent().parent().addClass("hover");
		}
	});
	
	$(".gw .tabs div a").mouseout(function() {
		$(this).parent().parent().removeClass("hover");
	});
    
});
