function base(){
	$('ul.consultants').last().css('border','none');
	
    //Links Open Close
    var height_government = ($('ul.government').height());
    var height_other = ($('ul.other').height());
    $('p.dropdown').next('ul').hide();
    var height = $('p.dropdown').parent('div').height();
    var government_up = true;
    var other_up = true;
    $("p.dropdown").click(function() {
        if ($(this).next('ul').attr('class') == 'government'){
            if (government_up == true){
                government_up = false;
                $(this).next('ul').slideDown();
                newheight = height + height_government + "px";
                $("ul.other").slideUp();
                other_up = true;
                $(this).parent('div').css('height', newheight);
				$(this).css('background-position','410px -18px');
				$("p.dropdown").not(this).css('background-position','410px 7px');
            }
            else {
				$(this).css('background-position','410px 7px');
                government_up = true;
                $(this).next('ul').slideUp();
                firstheight = height + "px";
                $(this).parent('div').css('height', firstheight);
            }
        }
        else{
            if (other_up == true){
                other_up = false;
                $(this).next('ul').slideDown();
                newheight = height + height_other + "px";
                $("ul.government").slideUp();
                government_up = true;
                $(this).parent('div').css('height', newheight);
				$(this).css('background-position','410px -18px');
				$("p.dropdown").not(this).css('background-position','410px 7px');
            }
            else {
				$(this).css('background-position','410px 7px');
                other_up = true;
                $(this).next('ul').slideUp();
                firstheight = height + "px";
                $(this).parent('div').css('height', firstheight);
            }
        }
    }); 
   
    
    $('ul.nav li:first-child a').css('background-image','none');
	$('div.footer ul li').after('<li>|</li>');
	$('div.footer ul li:last-child').remove();
	
	// testimonial
	$('.view').click(function(){
		$('.slide').slideToggle();
		$('#one div.show').slideToggle();
		$('.view').toggleClass('active');
		if ( $('.view').hasClass('active') == true ) {
			$('.viewSpan').text('Hide Testimonial');
			}
		else { $('.viewSpan').text('View Testimonial'); }
	});
	
	// accordian	
	$("div#three ul li:last").css({height:"237px"}, 300);
	$("div#three ul li:last a span").css('background-position','right 4px');
	$("div#three  ul li a").click(function(){
		if ($(this).parent().hasClass("active") != true ) {
			whichActive = $(this).parent("li").attr("id");
			$("div#three ul li a span").css('background-position','right -16px');
			$("div#three ul li").removeClass("active");
			$("div#three ul li#"+whichActive).addClass("active");
			$("div#three ul li.active a span").css('background-position','right 4px');
			$("div#three ul li#"+whichActive).animate({height:"155px"}, 300);
			$("div#three ul li#"+whichActive).siblings("li").animate({height:"36px"}, 300);
		}
	});
	if ($.browser.msie) {
		$('ul.consultants li p').css('font-size','9px');
		$("#slides div.slides_container div.text_box h1").removeAttr("filter");
		$("#slides div.slides_container div.text_box p").removeAttr("filter");
		$("#slides div.slides_container div.text_box a").removeAttr("filter");
	}
    //IE 6 PNG FIX / Width Fix
    if ($.browser.msie && $.browser.version.substr(0,1)<7) {
        $("img").css('behavior','url("/style/iepngfix.htc")');
        $("div").css('behavior','url("/style/iepngfix.htc")');
        $("input").css('behavior','url("/style/iepngfix.htc")');
        $("#lower_nav li a").css('width','0px');
        $("#lower_nav ul.top li.main").hover( 
            function () {
                $(this).children("ul.sub").css('display','block'); 
            },  
            function () { 
                $(this).children("ul.sub").css('display','none');  
            } 
        );
    }
    //IE 7 FIX
    if ($.browser.msie && $.browser.version.substr(0,1)==7) {
        $("#lower_nav li.main ul li a").css('padding','0px 0px 10px 0px');
    }
    $(function(){
        $("#slides").slides({
            preload: true,
            effect: 'fade',
            crossfade: true,
            fadeSpeed: 1000,
            preloadImage: '/img/loading.gif',
            play: 5000,
            pause: 2500,
            hoverPause: true
        });
    });
    
	function unifyHeights() {
        var maxHeight = 473;
        $('#internal_wrapper').children('div.left_nav, div.internal_content, div.internal_right').each(function() {
            var height = $(this).outerHeight();
            // alert(height);
            if ( height > maxHeight ) {
                maxHeight = height;
            }
        });
        $('div.left_nav, div.internal_content, div.internal_right').css('height', maxHeight);
    }
    unifyHeights();
}
