// set Variable
	var Agent = navigator.userAgent;
	var webDir = 'web';
	var cssTags = '<link rel="stylesheet" type="text/css" href="';
	var flag = null;
	var flag_style = null;
	var displayWidth = screen.width;
	var displayheight = screen.height;

if(displayWidth > 1024) {
	var cssDir = 'css/Width_L/';
	flagstyle = 'style_L';
	}
	else {
	var cssDir = 'css/';
	flagstyle = 'style';
	}

// CSS deverge for Cross Platform & Cross Browser
if (Agent.indexOf('Win') != -1) {
	if (Agent.indexOf('MSIE') != -1) { // Win_IE
		flag = "WinIE";
	} else if (Agent.indexOf('opera') != -1) { // 'opera'
		if(displayheight > 820) {//1024
			flag = "WinOpera_A";
		}	else if(  displayheight > 768) {//820
			flag = "WinOpera_B";
		}	else if(  displayheight > 640) {// 768
			flag = "WinOpera_C";
		}	else if(  displayheight > 600) {// 768
			flag = "WinOpera_D";
		}	else {// 600
			flag = "WinOpera_E";
		}
	} else { // Win_NS
		flag = "WinNS";
	}
}
if (Agent.indexOf('Mac') != -1) {
	if(Agent.indexOf("Safari")!=-1){ //Safari
		if(displayheight > 820) {//1024
			flag = "Safari_A";
		}	else if(  displayheight > 768) {//820
			flag = "Safari_B";
		}	else if(  displayheight > 640) {// 768
			flag = "Safari_C";
		}	else if(  displayheight > 600) {// 768
			flag = "Safari_D";
		}	else {// 600
			flag = "Safari_E";
		}
	
	}else if (Agent.indexOf("MSIE") != -1) { // Mac_IE
		flag = "MacIE";
	} else { // Mac_NS
		flag = "MacNS";
	}
}
		document.open();
		document.write(cssTags + cssDir + webDir + flag + '.css" title="'+ flag +'_style">');
		document.write(cssTags + cssDir + flagstyle + '.css" title="'+ flagstyle +'_style">');
		document.close();
