    function mail(name, domain, style, text) {
        if (text == "undefined" || text == null)
            document.write("<a h"+"ref='"+"mai"+ "lto:"+name+"@"+domain+"' style='"+style+"'>"+name+"@"+domain+"</a>");
        else
            document.write("<a h"+"ref='"+"mai"+ "lto:"+name+"@"+domain+"' style='"+style+"'>"+text+"</a>");
          };    
    $(document).ready(function(){
        $("#artic tr:even").addClass("odd");
        //$(document).pngFix(); 
        $("#content #link_list .viewclick").hide();
            $("#content #link_list a.dashed").eq(0).addClass("h2");
            $("#content #link_list .viewclick").eq(0).show().animate({marginBottom: '20px'},"fast");

        $('#content #link_list a.dashed').click(function () {
            $(this).next(".viewclick").slideToggle(250).siblings(".viewclick:visible").slideUp(300);
            $(this).toggleClass("h2");
            $(this).siblings("a").removeClass("h2");
            $("#content #link_list a:not(.h2)").animate({marginTop: '0px'},250);
            $("#content #link_list a:not(.h2)").next(".viewclick").animate({marginBottom: '0px'},250);
            //$("#content #link_list a:not(.h2)").animate({marginBottom: '0px'},250);
            $("#content #link_list a.dashed").animate({marginBottom: '4px'},0);
            
            $("#content #link_list a.h2").prev(".viewclick").prev("a.dashed").animate({marginBottom: '20px'},500);
            
            $("#content #link_list a").filter(".h2").next(".viewclick").animate({marginBottom: '20px'},300);
            return false;
            });
        
    });
    
    $(function(){
        DD_belatedPNG.fix('#inside, #logoimg, #header-center');
        $("#menu-td").corner('cc:#fff bottom');
        $("#header").corner('top');
        //$("#mmenu-td").corner();
        $("#footer-menu").corner('cc:#fff top');
        $("#footer").corner('bottom');
        $("#inside").corner('bottom');
		
        $(".insider").mouseover(function(){
            $(this).addClass('active');
			$(this).next().addClass('first');
			$(this).prev().addClass('last');
            $("#inside").show();
            return false;
        });
        
        $(".insider").mouseout(function(){
			var c = $(this);
			$("#inside").hide();
			c.removeClass('active');
			$(this).next().removeClass('first');
			$(this).prev().removeClass('last');
        });
    })
