var abspath,shortcutpath;

//* path    ***************
Here=window.location.pathname.split("/e/");
mypath = "";
h =0;
if (Here.length >1){
h =Here[ Here.length-1].split("/").length;
for (i=0;i<h;i++){mypath += "../";}
}//else{mypath = "";h =0;}

if (abspath == 1){mypath = "http://cob.rikkyo.ac.jp/";}
if (shortcutpath ==1){mypath = "/";}

//* WIN MAC	

if(navigator.userAgent.indexOf('Mac') > -1) {
	document.write('<link rel="stylesheet" type="text/Css" href="' + mypath + 'e/Zcss/mac.css" />');
}
else {
	document.write('<link rel="stylesheet" type="text/Css" href="' + mypath + 'e/Zcss/win.css" />');
}



	
if (abspath == 1){
	document.write('<link rel="stylesheet" type="text/Css" href="' + mypath + 'e/Zcss/abs.css" />');
}	
else if(shortcutpath ==1) {
	document.write('<link rel="stylesheet" type="text/Css" href="' + mypath + 'e/Zcss/short.css" />');
}	
	
else{
	document.write('<link rel="stylesheet" type="text/Css" href="' + mypath + 'e/Zcss/2nd.css" />');
}



document.close();