
var pathT="";

document.write("<script src='"+ pathT +"/share/js/jquery-1.4.2.min.js' type='text/javascript'></" + "script>");
document.write("<script src='"+ pathT +"/share/js/yuga.js' type='text/javascript'></" + "script>");
//document.write("<script src='"+ pathT +"/share/js/dwImageProtector.js' type='text/javascript'></" + "script>");
document.write("<script src='"+ pathT +"/share/js/heightLine.js' type='text/javascript'></" + "script>");



var imgChange = function(){
var img_out; //mouseout時のsrc属性を格納
var img_in; //mouseover時のsrc属性を格納
var objChangeImg = $('.change');
var hoverDom = {	//マウスオーバーされているDOM要素
		"tarDom":"",
		"img_out":""
	};

	objChangeImg.hover(function(){
		//mouseover時の処理
		img_out = $(this).attr('src');
		img_in = img_out.replace('.gif','_o.gif');
		$(this).attr('src',img_in);
		hoverDom = {
			"tarDom":$(this),
			"img_out":img_out
		};
	},
	function(){
		//mouseout時の処理
		$(this).attr('src',img_out);
	});

	//ページ移動時にロールオーバーを戻す
	$(window).unload(function(){
		hoverDom["tarDom"].attr("src",hoverDom["img_out"]);
	});
}

	function winOpen(url,wname){
		var swn = window.open(url,wname,"width=450,height=350,scrollbars=no");
		swn.window.focus();
	}
	
	function winSpec(url){
		var spcwn = window.open(url,"spec","width=547,height=350,scrollbars=yes,resizable=yes");
		spcwn.window.focus();
	}


var urlPath = window.self.location.pathname;
	if (urlPath.indexOf("v") != 6) {
	
	if (urlPath.indexOf("care") != 6) {
	document.write("<script src='"+ pathT +"/share/js/disableTextSelect.js' type='text/javascript'></" + "script>");
	
	function myNoMenu(){
		event.cancelBubble = true
		event.returnValue = false;
		return false;
	}
	
	function myEventFx(myEvent){
		if(myEvent.button && myEvent.button == 2){
		//alert("右クリックは禁止");
		return false;
		}
	}
	
	function myEventIE(){
		if(event.button == 2){
		myNoMenu();
		//alert("右クリックは禁止");
		return false;
		}
	}
	
	function myEventNN(myEvent){ // N4
		if(myEvent.which == 3){
		//alert("右クリックは禁止");
		return false;
		}
	}
	
	if(document.getElementById){
		if(window.opera){
		window.addEventListener("mousedown",myEventFx,true);
		}
		
	else if(window.addEventListener){
		document.oncontextmenu = myEventFx;
	}
	
	else if(document.all){
		document.oncontextmenu = myNoMenu;
		document.onmousedown = myEventIE ;
	}
	
	else if(document.layers){
		document.captureEvents(Event.MOUSEDOWN);
		document.onmousedown = myEventNN ;
		}
	}
		document.onkeydown = function(e) {
    var ctrl; 

    // Mozilla(Firefox, NN) and Opera 
    if (e != null) { 
        keycode = e.which; 
        ctrl = typeof e.modifiers == 'undefined' ? e.ctrlKey : e.modifiers & Event.CONTROL_MASK; 
        // イベントの上位伝播を防止 
        e.preventDefault(); 
        e.stopPropagation(); 
    // Internet Explorer 
    } else { 
        keycode = event.keyCode; 
        ctrl = event.ctrlKey; 
        // イベントの上位伝播を防止 
        event.returnValue = false; 
        event.cancelBubble = true; 
    } 

    // キーコードの文字を取得 
    keychar = String.fromCharCode(keycode).toUpperCase(); 

    // Ctrl同時押しの場合 
    if (ctrl) { 
        if (keychar == "C") { 
            return false;
        } 
    }
		else {
			return true;
		}
	}
	
	function DisableImgSelect() {
	return false;
	}
	document.onselectstart = DisableImgSelect;
	document.onmousedown = DisableImgSelect;
	}
	}



