function SelectNavi(){
	var num;
	var jpURL = new Array(
	"#",
	"/mw/Report_Sample2",
	"/mw/グランディハウス㈱",
	"#",
	"#",
	"#"
	);  
  //何番目のoptionが選択されたか調べる
  num=document.rlist.ReportList.selectedIndex;

  //該当するリンク先へジャンプさせる
  location.href=jpURL[num];
}

            
/* ================================================================ 
This copyright notice must be untouched at all times.
Stay Put!
Copyright (c) 2009 Stu Nicholls - stunicholls.com - all rights reserved.
=================================================================== */

            
/* ================================================================ 
This copyright notice must be untouched at all times.
Stay Put!
Copyright (c) 2009 Stu Nicholls - stunicholls.com - all rights reserved.
=================================================================== */

$(function() {
try{
if ($.browser.safari || $.browser.chrome) {
$("#qalist_new").css("position", "static")
}
$("#qalist").css("position", "fixed").css("top", "125px").css("height", "82.3%").css("border", "none").css("width", "182px")
$("#qalist_header").css("border", "#ccc 1px solid")
$("#qalist_body").css("border-left", "#ccc 1px solid").css("border-right", "#ccc 1px solid")
$("#qalist_new").css("border", "#ccc 1px solid")

if ($.browser.msie && $.browser.version <= 7.0) {
$("#qalist").css("top", "126px").css("overflow", "hidden")
$("#qalist_body").css("height", "84.8%")
$("#qalist_body a").css("width", "135px").css("top", "-20px").css("margin-top", "-8px").css("margin-bottom", "-5px")
$("#qalist_body span").css("width", "135px").css("top", "-20px").css("margin-top", "-8px").css("margin-bottom", "-5px")
}
if ($.browser.msie && $.browser.version >= 8.0) {
$("#qalist").css("top", "126px");
$("#qalist_body").css("height", "85.5%")
}

  startPos = $("#qalist").position().top;
  divHeight = $("#qalist").outerHeight();
  if ($.browser.safari) {
    divHeight += 20;
  }  
  $(window).scroll(function(e) {
    scrTop = $(window).scrollTop();
  if($("#qalist_body").css("display") == "none"){
        $("#qalist").css("position", "absolute")
    .css("top", "125px")
  } else {
    if ((startPos - 125) < scrTop) {
    $("#qalist").css("position", "absolute").css("top", "126px").css("height", "100%")
      if ($.browser.msie && $.browser.version <= 7.0) {
        topPos = startPos + (scrTop - startPos) + 0;
        $("#qalist").css("position", "fixed")
	.css("top", "0px")
	.css("zIndex", "9999999")
	.css("float", "right")
	    $("#qalist_body").css("height", "85.3%")
      } else if ($.browser.msie && $.browser.version >= 8.0) {
        $("#qalist").css("position", "fixed")
	.css("top", "0px")
	.css("zIndex", "9999999")
	.css("left", "")
	.css("float", "right")
        $("#qalist_body").css("height", "85.6%")
	    $("#qalist_body li").css("margin-right", "1px")
      } else {
        $("#qalist").css("position", "fixed")
	.css("top", "0px")
	.css("zIndex", "9999999")
	.css("left", "")
	.css("float", "right")
	    $("#qalist_body").css("height", "85.8%")
	    $("#qalist_body li").css("margin-right", "1px")
      }
    }
    else {
      if ($.browser.msie && $.browser.version <= 7.0) {
        $("#qalist").css("position", "fixed")
    .css("top", "126px").css("height", "82.3%")
        $("#qalist_body").css("height", "84.8%")
      } else if ($.browser.msie && $.browser.version >= 8.0) {
        $("#qalist").css("position", "fixed")
    .css("top", "126px").css("height", "82.3%");
        $("#qalist_body").css("height", "85.5%")
      } else {
        $("#qalist").css("position", "fixed")
    .css("top", "125px").css("height", "82.3%")
        $("#qalist_body").css("height", "86%")
      }
    }
  }
  });
} catch(e) {
return null;
}
});

    
/*ランディングページの検索ボタンで
　英語、日本語サイトの検索を振り分ける*/

function goJaSearch(){
	if ( document.getElementById('searchInput').value == 'Enter Company Name or Exchange Code 証券コード又は企業名を入力してください'){
		document.getElementById('searchform').action = '/mw/Special:Search';
	}
	else {
		document.getElementById('searchform').action = '/mw/sharedresearch:Main Page';
	}
}
function goEnSearch(){
document.getElementById('searchform').action = '/en/Special:Search';
}


//ポップアップウインドウを表示させる
var lang;
function openWin(lang) {
	var win1=window.open('/' + lang + '/qa/form.php', 'newwin1', 'toolbar=no, location=no, status=no, menubar=no, scrollbars=no, top=0, left=0, resizable=yes');
}
function openWinff(lang) {
	var win1=window.open('/' + lang + '/qa/form.php', 'newwin1', 'toolbar=no, location=no, status=no, menubar=no, scrollbars=no, fullscreen');
}

//Myレポート用ダイアログ
var urlMR;
var urlMsg;
function MRConfarm(urlMsg, urlMR){
try{
	var WCMR = window.confirm(urlMsg);
	if(WCMR == true) {
		location.href = urlMR;
	} else {
		return false;
	}
}catch(e){
}
}
var smrTitle;
var smrMsg;
function MRUpLoad(smrMsg, smrTitle){
try{
	var WCST = window.confirm(smrMsg);
	if(WCST == true) {
		location.href = smrTitle;
	} else {
		return false;
	}
}catch(e){
}
}

//時計
$(function(){
try{
update_watch();
}catch(e){
}
});

///サイドバーのハイライト
$(function(){
//案内
	try{
		$('#p-navigation').hover(
			function(){
				$('#p-navigation .inner').css("background-color", "#666");
				$('#p-navigation .inner ul li').css("background-color", "#666");
				$('#p-navigation .inner ul li a').css("color", "white");
				$('#p-navigation h5').css("background-image", "none").css("color", "black");
			},
			function(){
				$('#p-navigation .inner').css("background-color", "white");
				$('#p-navigation .inner ul li').css("background-color", "white");
				$('#p-navigation .inner ul li a').css("color", "black");
				$('#p-navigation h5').css("background-image", "url(/sr_img/col3_toc_title.png)").css("color", "white");
			}
		);
	}catch(e){}
//意見箱
	try{
		$('#p-Send_Company_a_Message_21').hover(
			function(){
				$('#p-Send_Company_a_Message_21 .inner').css("background-color", "#666");
				$('#p-Send_Company_a_Message_21 .inner ul li').css("background-color", "#666");
				$('#p-Send_Company_a_Message_21 .inner ul li a').css("color", "white");
				$('#p-Send_Company_a_Message_21 h5').css("background-image", "none").css("color", "black");
			},
			function(){
				$('#p-Send_Company_a_Message_21 .inner').css("background-color", "white");
				$('#p-Send_Company_a_Message_21 .inner ul li').css("background-color", "white");
				$('#p-Send_Company_a_Message_21 .inner ul li a').css("color", "black");
				$('#p-Send_Company_a_Message_21 h5').css("background-image", "url(/sr_img/col3_toc_title.png)").css("color", "white");
			}
		);
	}catch(e){}
//金商法
	try{
		$('#p-FIEL_169').hover(
			function(){
				$('#p-FIEL_169 .inner').css("background-color", "#666");
				$('#p-FIEL_169 .inner ul li').css("background-color", "#666");
				$('#p-FIEL_169 .inner ul li a').css("color", "white");
				$('#p-FIEL_169 h5').css("background-image", "none").css("color", "black");
			},
			function(){
				$('#p-FIEL_169 .inner').css("background-color", "white");
				$('#p-FIEL_169 .inner ul li').css("background-color", "white");
				$('#p-FIEL_169 .inner ul li a').css("color", "red");
				$('#p-FIEL_169 h5').css("background-image", "url(/sr_img/col3_toc_title.png)").css("color", "white");
			}
		);
	}catch(e){}
//お知らせ
	try{
		$('#p-Infomation').hover(
			function(){
				$('#p-Infomation .inner').css("background-color", "#666");
				$('#p-Infomation .inner ul li').css("background-color", "#666");
				$('#p-Infomation .inner ul li a').css("color", "white");
				$('#p-Infomation h5').css("background-image", "none").css("color", "black");
			},
			function(){
				$('#p-Infomation .inner').css("background-color", "white");
				$('#p-Infomation .inner ul li').css("background-color", "white");
				$('#p-Infomation .inner ul li a').css("color", "red");
				$('#p-Infomation h5').css("background-image", "url(/sr_img/col3_toc_title.png)").css("color", "white");
			}
		);
	}catch(e){}
//問い合わせ
	try{
		$('#p-Inquiries').hover(
			function(){
				$('#p-Inquiries .inner').css("background-color", "#666");
				$('#p-Inquiries .inner ul li').css("background-color", "#666");
				$('#p-Inquiries .inner ul li a').css("color", "white");
				$('#p-Inquiries h5').css("background-image", "none").css("color", "black");
			},
			function(){
				$('#p-Inquiries .inner').css("background-color", "white");
				$('#p-Inquiries .inner ul li').css("background-color", "white");
				$('#p-Inquiries .inner ul li a').css("color", "black");
				$('#p-Inquiries h5').css("background-image", "url(/sr_img/col3_toc_title.png)").css("color", "white");
			}
		);
	}catch(e){}
//承認
	try{
		$('#p-Approval_Status').hover(
			function(){
				$('#p-Approval_Status .inner').css("background-color", "#666");
				$('#p-Approval_Status .inner ul li').css("background-color", "#666");
				$('#p-Approval_Status .inner ul #n-hd').css("color", "white");
				$('#p-Approval_Status .inner ul #n-mg').css("color", "white");
				$('#p-Approval_Status .inner ul #n-sv').css("color", "white");
				$('#p-Approval_Status .inner ul #n-op').css("color", "white");
				$('#p-Approval_Status .inner ul #n-ft').css("color", "white");
				$('#p-Approval_Status .inner ul #n-wait0 a').css("color", "white");
				$('#p-Approval_Status .inner ul #n-esc0 a').css("color", "white");
				$('#p-Approval_Status h5').css("background-image", "none").css("color", "black");
			},
			function(){
				$('#p-Approval_Status .inner').css("background-color", "white");
				$('#p-Approval_Status .inner ul li').css("background-color", "white");
				$('#p-Approval_Status .inner ul #n-hd').css("color", "black");
				$('#p-Approval_Status .inner ul #n-mg').css("color", "red");
				$('#p-Approval_Status .inner ul #n-sv').css("color", "red");
				$('#p-Approval_Status .inner ul #n-op').css("color", "red");
				$('#p-Approval_Status .inner ul #n-ft').css("color", "black");
				$('#p-Approval_Status .inner ul #n-wait0 a').css("color", "black");
				$('#p-Approval_Status .inner ul #n-esc0 a').css("color", "black");
				$('#p-Approval_Status h5').css("background-image", "url(/sr_img/col3_toc_title.png)").css("color", "white");
			}
		);
	}catch(e){}
//ツール
	try{
		$('#p-tb').hover(
			function(){
				$('#p-tb .inner').css("background-color", "#666");
				$('#p-tb .inner ul li').css("background-color", "#666");
				$('#p-tb .inner ul li a').css("color", "white");
				$('#p-tb h5').css("background-image", "none").css("color", "black");
			},
			function(){
				$('#p-tb .inner').css("background-color", "white");
				$('#p-tb .inner ul li').css("background-color", "white");
				$('#p-tb .inner ul li a').css("color", "black");
				$('#p-tb h5').css("background-image", "url(/sr_img/col3_toc_title.png)").css("color", "white");
			}
		);
	}catch(e){}
});

//承認ステータスの点滅
var wVorH = "visible" ;
function wBlink() {
      if (wVorH == "visible") {
        $('#n-wait a').css("color", "black").css("background-color", "white");
        wVorH = "hidden" ;
      } else {
        $('#n-wait a').css("color", "black").css("background-color", "yellow");
        wVorH = "visible" ;
      }
  setTimeout("wBlink()", 500);
}
var eVorH = "visible" ;
function eBlink() {
      if (eVorH == "visible") {
        $('#n-esc a').css("color", "black").css("background-color", "white");
        eVorH = "hidden" ;
      } else {
        $('#n-esc a').css("color", "black").css("background-color", "yellow");
        eVorH = "visible" ;
      }
  setTimeout("eBlink()", 500);
}
try{
wBlink();
}catch(e){}
try{
eBlink();
}catch(e){}

//郵便番号検索
function addressPartial() {
    var postalCode1 = $("#wpPostalCode1").val();
    var postalCode2 = $("#wpPostalCode2").val();
    $("#wpAddress").attr("value", "住所を取得しています");
    $.ajax(
        {
            type: "GET",
            async: false,
            url: "http://upload.sharedresearch.jp/Account/AddressPartial?postalCode1=" + postalCode1 + "&postalCode2=" + postalCode2,
            success: function(ret) {
        $("#wpAddress").attr("value", ret);
            },
            error: function(xmlHttpRequest, textStatus, errorThrown) {
                $("#wpAddress").attr("value", "");
            }
        }
    );
}

//メインページのタイトル属性削除
$(function(){
try{
$("#corplist .tTip a").attr({title: ""});
}catch(e){
}
});
//メインページのタイトル属性削除
$(function(){
try{
$("#searchGoButton").attr({title: ""});
}catch(e){
}
});

//メールアドレスの画像化
/*
$(document).ready(function(){
try{
$(".jqir").jQIR("jpg", "/sr_img/"); 
}catch(e){
}
});
*/

// GN投票ボタン

/* Cookie への書き出し
     引数 key　 : データキー （半角英数 _ のみ）
     引数 value : データの値（日本語可）
     引数 days  : データを保持する日数（ 0 の時は有効期限は省略）*/
function WriteCookie(key, value, days) {
     var str = key + "=" + escape(value) + ";";         // 書き出す値１ : key=value
     if (days != 0) {                                                 /* 日数 0 の時は省略 */
          var dt = new Date();                                   // 現在の日時
          dt.setDate(dt.getDate() + days);                   // days日後の日時
          str += "expires=" + dt.toGMTString() + ";"; // 書き出す値２ : 有効期限
     }
     document.cookie = str;                                   // Cookie に書き出し
}

/* Cookie の読み込み
     引数 key : 求める値のキー
     戻り値　 : 値（ない時は空文字""）*/
function ReadCookie(key) {
     var sCookie = document.cookie;    // Cookie文字列
     var aData = sCookie.split(";");       // ";"で区切って"キー=値"の配列にする
     var oExp = new RegExp(" ", "g");   // すべての半角スペースを表す正規表現
     key = key.replace(oExp, "");          // 引数keyから半角スペースを除去

     var i = 0;
     while (aData[i]) {                           /* 語句ごとの処理 : マッチする要素を探す */
          var aWord = aData[i].split("=");                         // さらに"="で区切る
          aWord[0] = aWord[0].replace(oExp, "");              // 半角スペース除去
          if (key == aWord[0]) return unescape(aWord[1]); // マッチしたら値を返す
          if (++i >= aData.length) break;                          // 要素数を超えたら抜ける
     }
     return "";                                   // 見つからない時は空文字を返す
}

var idKey;
var newKey2;
var s;     // 文字列
/* カウントを増やす */
function CookieGN(idKey, newKey2) {
var n = ReadCookie(newKey2); // 値
n = (n == "") ? 0: n;
WriteCookie(newKey2, 1, 9999);
  if (n == 1){
    $(idKey).remove();
  }
}

function RmoveGN(idKey, newKey2) {
var n = ReadCookie(newKey2); // 値
  if (n == 1){
    $(idKey).remove();
  }
}


//角丸
try{
$('h5').corner("tl 3px").corner("tr 8px");
$('.pBody').corner("bottom 3px");
$('.outer').corner("bottom 3px");
$('.inner').corner("bottom 3px");
$('.portlet').corner("1px");
//$('h1').corner("3px");
}catch(e){
}

//1024対応
var w = screen.width  //画面幅
function fix1024() {
  if( w < 1200 ) {
	$('#p-logo a').css("background-image", "url(/sr_img/1024logo.jpg)");
	$('#f-list').css("left", "300px");
	$('#privacy').css("margin-left", "auto").css("list-style-type", "none");
	$('#f-list li').css("list-style-type", "none");
	if((location.href.match(/Sharedresearch:Short_List_of_Rules/g) || location.href.match(/ルール/g) || location.href.match(/%E3%82%B7%E3%82%A7%E3%82%A2%E3%83%BC%E3%83%89%E3%83%AA%E3%82%B5%E3%83%BC%E3%83%81%E3%83%BB%E3%83%AB%E3%83%BC%E3%83%AB%E3%80%94%E7%9F%AD%E7%B8%AE%E7%89%88%E3%80%95/g) || location.href.match(/User:/g) || location.href.match(/User_talk:/g) || location.href.match(/Special:/g) || location.href.match(/%E5%88%A9%E7%94%A8%E8%80%85/g) || location.href.match(/%E7%89%B9%E5%88%A5/g)) && !(location.href.match(/Login/g) || location.href.match(/Logout/g) || location.href.match(/%E3%83%AD%E3%82%B0%E3%82%A4%E3%83%B3/g) || location.href.match(/%E3%83%AD%E3%82%B0%E3%82%A2%E3%82%A6%E3%83%88/g)) && (!location.href.match(/action=/g))){
		if($.browser.msie && $.browser.version >= 8.0) {
			$('#p-cactions').css("margin-top", "4px").css("height", "34px");
		$('#p-line').css("margin-top", "4px").css("height", "34px");
		} else {
			$('#p-cactions').css("margin-top", "5px").css("height", "34px");
			$('#p-line').css("margin-top", "5px").css("height", "34px");
		}
	}
	try{
	  $('#all').css("width", "950px").css("margin-left", "auto").css("margin-right", "auto").css("text-align", "center");
	  $('#mw-tab-content-0').remove();
	  $('#mw-tab-content-1').remove();
	  $('#mw-tab-content-2').remove();
	  $('#mw-tab-content-3').css("display", "block");
	  $('ul #premium_li').remove();
	}catch(e){}
	try{
	  $('#side_pre').css("display", "block");
	}catch(e){}
	try{
	  $('#side_pre_en').css("display", "block");
	}catch(e){}
	try{
	  document.getElementById("fordate2").innerHTML = document.getElementById("fordate").innerHTML;
	}catch(e){}
	$('#p-logo').css("display", "block");
	$('#wrapper').css("visibility", "visible");
  } else {
	$('#p-logo').css("display", "block");
	$('#f-list li').css("list-style-type", "none");
	try{
	  $('#sideleft').css("display", "block");
	  $('#wrapper').css("visibility", "visible");
	}catch(e){}
  }
  if(location.href.match(/Main_Page&action=edit/g) || location.href.match(/%E3%83%A1%E3%82%A4%E3%83%B3%E3%83%9A%E3%83%BC%E3%82%B8&action=edit/g) || location.href.match(/action=/g)) {
	$('#content').css("margin-top", "130px");
	$('#headbase').remove();
  }
  
  //■■■この部分通常FFもずれる
  if(location.href.match(/Sharedresearch:/g) && !location.href.match(/Main/g) && !location.href.match(/メイン/g) && !location.href.match(/%E3%83%A1%E3%82%A4%E3%83%B3/g)) {
	if($.browser.msie && $.browser.version >= 8.0) {
		//$('#p-cactions').css("margin-top", "4px").css("height", "34px");
		//$('#p-line').css("margin-top", "4px").css("height", "34px");
	} else {
		//$('#p-cactions').css("margin-top", "5px").css("height", "34px");
		//$('#p-line').css("margin-top", "5px").css("height", "34px");
	}
  }
}
$(function(){
  fix1024();
});

//IE6対応
function fixIE6() {
  if ($.browser.msie && $.browser.version <= 6.0) {
	try{
	  $('#mw-tab-content-0').remove();
	  $('#mw-tab-content-1').remove();
	  $('#mw-tab-content-2').remove();
	  $('#mw-tab-content-3').css("display", "block");
	  $('#p-personal ul li a').css("margin-top", "2px");
	  //$('#footer').css("margin-top", "-100px");
	  $('#footer ul').css("margin-left", "15px");
	  $('#foorright').css("margin-left", "15px");
	  $('#column-content').css("font-family", "Tahoma, Geneva, sans-serif");
	  document.getElementById("fordate2").innerHTML = document.getElementById("fordate").innerHTML;
	  $('#sideleft').css("display", "none");
	}catch(e){}
	if(location.href.match(/action=edit/g) || location.href.match(/action=history/g) || location.href.match(/action=delete/g) || location.href.match(/action=move/g) || location.href.match(/index.php/g) || location.href.match(/action=protect/g)) {
	  try{
	  $('#column-one').css("border", "solid 1px #F00").css("position", "absolute").css("display", "none").css;
	  $('#column-content').css("margin-top", "0px").css("position", "absolute").css("font-size", "12px");
	  $('#footer').css("position", "absolute").css("font-family", "Tahoma, Geneva, sans-serif").css("display", "none");
	  $('#p-search').css("width", "320px");
	  }catch(e){}
	}
	if(screen.width < 1200) {
	  /*$('#p-cactions').css("margin-top", "7px").css("height", "34px");*/
	}
	if(location.href.match(/Main_Page&action=edit/g) || location.href.match(/%E3%83%A1%E3%82%A4%E3%83%B3%E3%83%9A%E3%83%BC%E3%82%B8&action=edit/g) || location.href.match(/メインページ&action=edit/g)) {
	  $('#content').css("margin-top", "130px");
	   	   //$('#p-line').css("height", "38px").css("background-image", "url(header_base.jpg)").css("background-repeat", "x-repeat").css("width", "100%");
	}
	
	
	if(location.href.match(/Main_Page&action=edit/g) || location.href.match(/%E3%83%A1%E3%82%A4%E3%83%B3%E3%83%9A%E3%83%BC%E3%82%B8&action=history/g) || location.href.match(/メインページ&action=edit/g)) {
	  $('#content').css("margin-top", "130px");
	   	   //$('#p-line').css("height", "38px").css("background-image", "url(header_base.jpg)").css("background-repeat", "x-repeat").css("width", "100%");
	}
	
		if(location.href.match(/Main_Page&action=edit/g) || location.href.match(/%E3%83%A1%E3%82%A4%E3%83%B3%E3%83%9A%E3%83%BC%E3%82%B8&action=unprotect/g) || location.href.match(/メインページ&action=edit/g)) {
	  $('#content').css("margin-top", "130px");
	   	   //$('#p-line').css("height", "38px").css("background-image", "url(header_base.jpg)").css("background-repeat", "x-repeat").css("width", "100%");
	}
	
		if(location.href.match(/Main_Page&action=edit/g) || location.href.match(/%E3%83%A1%E3%82%A4%E3%83%B3%E3%83%9A%E3%83%BC%E3%82%B8&action=delete/g) || location.href.match(/メインページ&action=edit/g)) {
	  $('#content').css("margin-top", "130px");
	   	   //$('#p-line').css("height", "38px").css("background-image", "url(header_base.jpg)").css("background-repeat", "x-repeat").css("width", "100%");
	}
	
	
	
	
	if((location.href.match(/Main_Page/g) || location.href.match(/%E3%83%A1%E3%82%A4%E3%83%B3%E3%83%9A%E3%83%BC%E3%82%B8/g) || location.href.match(/メインページ/g)) && location.href.match(/action=/g)) {
		//$('#p-cactions').css("margin-top", "0px").css("height", "34px");
		//$('#p-line').css("margin-top", "0px").css("height", "34px");
	}
	if(location.href.match(/Sharedresearch:Short_List_of_Rules/g)){
		//$('#p-cactions').css("margin-top", "5px").css("height", "34px");
		//$('#p-line').css("margin-top", "5px").css("height", "34px");
		if(location.href.match(/action=/g)) {
			//$('#p-cactions').css("margin-top", "0px").css("height", "34px");
			//$('#p-line').css("margin-top", "0px").css("height", "34px");
		}
	}
	if((location.href.match(/%E3%83%AB%E3%83%BC%E3%83%AB/g) || location.href.match(/ルール/g))){
		//$('#p-cactions').css("margin-top", "5px").css("height", "34px");
		//$('#p-line').css("margin-top", "5px").css("height", "34px");
		if(location.href.match(/action=/g)) {
			//$('#p-cactions').css("margin-top", "0px").css("height", "34px");
			//$('#p-line').css("margin-top", "0px").css("height", "34px");
		}
	}
	if((location.href.match(/User:/g) || location.href.match(/User_talk:/g) || location.href.match(/Special:/g) || location.href.match(/利用者:/g) || location.href.match(/特別:/g) || location.href.match(/%E5%88%A9%E7%94%A8%E8%80%85/g) || location.href.match(/%E7%89%B9%E5%88%A5/g)) && !(location.href.match(/Login/g) || location.href.match(/Logout/g) || location.href.match(/%E3%83%AD%E3%82%B0%E3%82%A4%E3%83%B3/g) || location.href.match(/%E3%83%AD%E3%82%B0%E3%82%A2%E3%82%A6%E3%83%88/g)) && (!location.href.match(/action=/g))){
		//$('#p-cactions').css("margin-top", "5px").css("height", "34px");
		//$('#p-line').css("margin-top", "5px").css("height", "34px");
	}
	if(location.href.match(/Sharedresearch:/g) && !location.href.match(/Main/g) && !location.href.match(/メイン/g) && !location.href.match(/%E3%83%A1%E3%82%A4%E3%83%B3/g)) {
		//$('#p-cactions').css("margin-top", "5px").css("height", "34px");
		//$('#p-line').css("margin-top", "5px").css("height", "34px");
	}
	if(location.href.match(/Report.+\/MyReport\/.+/g)) {
		if(screen.width < 1200){	//1200ピクセル以下
			$('#p-cactions').css("margin-top", "0px");
		} else {					//1200ピクセル以上
			$('#p-cactions').css("margin-top", "0px");
		}
	}
  }
}
$(function(){
  fixIE6();
});
