// css_chooser.js
// Prepared by nao.sasaki@eDesignTK
// (C) MORGAN STANLEY JAPAN LIMITED

str = navigator.userAgent.toUpperCase();

if (str.indexOf("WIN") >= 0){

	if(navigator.userAgent.indexOf("Netscape6")!=-1){
		document.write("<link rel='stylesheet' href='/sharing/css/default-win.css' type='text/css' />");
	}

	if(navigator.userAgent.indexOf("Netscape/7")!=-1){
		document.write("<link rel='stylesheet' href='/sharing/css/default-win.css' type='text/css' />");
	}

	if(navigator.userAgent.indexOf("Mozilla/5.0")!=-1){
		document.write("<link rel='stylesheet' href='/sharing/css/default-win.css' type='text/css' />");
	}

	if(navigator.appName=="Netscape"){
		document.write("<link rel='stylesheet' href='/sharing/css/default-win.css' type='text/css' />");
	}
	
	if(navigator.appName=="Microsoft Internet Explorer"){
		document.write("<link rel='stylesheet' href='/sharing/css/default-win.css' type='text/css' />");
	}
	
	if(navigator.userAgent.indexOf("MSIE")!=-1){
		document.write("<link rel='stylesheet' href='/sharing/css/default-win.css' type='text/css' />");
	}
}

if (str.indexOf("MAC") >= 0){

	if(navigator.userAgent.indexOf("Netscape6")!=-1){
		document.write("<link rel='stylesheet' href='/sharing/css/default-mac.css' type='text/css' />");
	}

	if(navigator.userAgent.indexOf("Netscape/7")!=-1){
		document.write("<link rel='stylesheet' href='/sharing/css/default-mac.css' type='text/css' /");
	}

	if(navigator.userAgent.indexOf("Mozilla/5.0")!=-1){
		document.write("<link rel='stylesheet' href='/sharing/css/default-mac.css' type='text/css' />");
	}

	if(navigator.appName=="Netscape"){
		document.write("<link rel='stylesheet' href='/sharing/css/default-mac.css' type='text/css' />");
	}
	
	if(navigator.appName=="Microsoft Internet Explorer"){
		document.write("<link rel='stylesheet' href='/sharing/css/default-mac.css' type='text/css' />");
	}
	
	if(navigator.userAgent.indexOf("MSIE")!=-1){
		document.write("<link rel='stylesheet' href='/sharing/css/default-mac.css' type='text/css' />");
	}
}





