/*-----------------------------------------
	var mac_safari_css = ""; MAC SAFARI—pCSS
	var mac_css = ""; ‘¼MAC—pCSS
------------------------------------------*/

function getOSType(){
var uAgent = navigator.userAgent.toUpperCase();
if (uAgent.indexOf("MAC") >= 0) {
	if(uAgent.indexOf("SAFARI") >= 0) {return "MAC_SAFARI";}
	return "MAC";
	}
if (uAgent.indexOf("WIN") >= 0) return "Win";
	return "";
} // getOSType()

var os = getOSType();

if(os == "MAC"){
	link = document.createElement("link");
	link.setAttribute("rel","stylesheet");
	link.setAttribute("href",mac_css);
	link.setAttribute("type","text/css");
	head = document.getElementsByTagName('head').item(0);
	head.appendChild(link);
}
if(os == "MAC_SAFARI"){
	link = document.createElement("link");
	link.setAttribute("rel","stylesheet");
	link.setAttribute("href",mac_safari_css);
	link.setAttribute("type","text/css");
	head = document.getElementsByTagName('head').item(0);
	head.appendChild(link);
}
