    //左右コンテンツの高さあわせ（高いほうに）
    window.onload = function(){
    
        //高さ合わせるIDを指定
        var id = new Array("con_m", "con_s");
        var idHeight = new Array();
        
        //指定IDの高さを取得
        for(i=0; i<id.length; i++){
            idHeight[i] = document.getElementById(id[i]).offsetHeight;
        }
            
        //配列を昇順でソート
        idHeight.sort(    
                        function Func(a, b){//ソートのための比較関数
                            return (b - a);
                        }
                    );
        
        //一番高いのに合わせる
        for(i=0; i<id.length; i++){
            document.getElementById(id[i]).style.height = idHeight[0] + "px";
        }
                    
    }

