var Mac = navigator.appVersion.indexOf('Mac',0) != -1;
var Win = navigator.appVersion.indexOf('Win',0) != -1;
var IE = navigator.appName.indexOf('Microsoft Internet Explorer',0)!= -1;
var NN = navigator.appName.indexOf('Netscape',0) != -1;
var Vr = navigator.userAgent;
if(Win && IE){
		document.write('<link rel="stylesheet" href="common/win_ie.css" type="text/css">');
}else if(Win && NN){
		if(Vr.indexOf('Mozilla/4',0)!= -1){
		document.write('<link rel="stylesheet" href="common/win_nn4.css" type="text/css">');
	}else if(Vr.indexOf('Mozilla/5',0)!= -1){
		document.write('<link rel="stylesheet" href="common/win_nn7.css" type="text/css">');
		}
}else if(Mac && IE){
		document.write('<link rel="stylesheet" href="common/mac_ie.css" type="text/css">');
}else if(Mac && NN){
	if(Vr.indexOf('Mozilla/4',0)!= -1){
		document.write('<link rel="stylesheet" href="common/mac_nn4.css" type="text/css">');
	}else if(Vr.indexOf('Mozilla/5',0)!= -1){
		document.write('<link rel="stylesheet" href="common/mac_nn7.css" type="text/css">');
	}
}