//クラス書き換え（jQuery）

function selectOver(){
	$("#ProductsKindSelect1").addClass("SelectNone");
	$("#ProductsKindSelect2").addClass("SelectNone");
}
function selectOut(){
	$("#ProductsKindSelect1").removeClass("SelectNone");
	$("#ProductsKindSelect2").removeClass("SelectNone");
}


///////////////////////////////////////////////////////////////////////////////////////////
//  ブラウザ判別
function NewMailer() {

	var MailTxtUtf8 = "mailto:cust-request@charle.co.jp?subject=%5b%e4%bc%81%e6%a5%ad%e6%83%85%e5%a0%b1%5d%e3%81%8a%e5%95%8f%e3%81%84%e5%90%88%e3%82%8f%e3%81%9b%e5%8f%97%e4%bb%98%e5%86%85%e5%ae%b9%e3%81%ae%e9%80%81%e4%bf%a1%e3%80%80%e5%8f%97%e4%bb%98%e6%97%a52008%e5%b9%b410%e6%9c%88";
	var MailTxtSiftJis = "mailto:cust-request@charle.co.jp?subject=%5b%8a%e9%8b%c6%8f%ee%95%f1%5d%82%a8%96%e2%82%a2%8d%87%82%ed%82%b9%8e%f3%95t%93%e0%97e%82%cc%91%97%90M%81%40%8e%f3%95t%93%fa2008%94N10%8c%8e";

	var osChangeMail, ua = navigator.userAgent;
	if (ua.match(/Win(dows )?NT 6\.0/)) {
		// Windows Vista の処理
		osChangeMail = MailTxtUtf8;
	}
	else if (ua.match(/Win(dows )?NT 5\.2/)) {
		// Windows Server 2003 の処理
		osChangeMail = MailTxtSiftJis;
	}
	else if (ua.match(/Win(dows )?(NT 5\.1|XP)/)) {
		// Windows XP の処理
		osChangeMail = MailTxtSiftJis;
	}
	else if (ua.match(/Win(dows)? (9x 4\.90|ME)/)) {
		// Windows ME の処理
		osChangeMail = MailTxtSiftJis;
	}
	else if (ua.match(/Win(dows )?(NT 5\.0|2000)/)) {
		// Windows 2000 の処理
		osChangeMail = MailTxtSiftJis;
	}
	else if (ua.match(/Win(dows )?98/)) {
		// Windows 98 の処理
		osChangeMail = MailTxtSiftJis;
	}
	else if (ua.match(/Win(dows )?NT( 4\.0)?/)) {
		// Windows NT の処理
		osChangeMail = MailTxtSiftJis;
	}
	else if (ua.match(/Win(dows )?95/)) {
		// Windows 95 の処理
		osChangeMail = MailTxtSiftJis;
	}
	else if (ua.match(/Mac|PPC/)) {
		// Macintosh の処理
		osChangeMail = MailTxtUtf8;
	}
	else if (ua.match(/Linux/)) {
		// Linux の処理
		osChangeMail = MailTxtUtf8;
	}
	else if (ua.match(/(Free|Net|Open)BSD/)) {
		// BSD 系の処理
		osChangeMail = RegExp.$1 + MailTxtSiftJis;
	}
	else {
		// 上記以外 OS の処理
		osChangeMail = MailTxtSiftJis;
	}

	$("a.mailCustx").attr({ href: osChangeMail });

}