//Platformabfrage
		mac = ((navigator.appVersion.indexOf("Mac")!= -1)) ? true : false;
		pc = ((navigator.appVersion.indexOf("Win") != -1)) ? true : false
//Browserabfrage
        ie = ((document.all) && (window.offscreenBuffering)) ? true : false;
        nn = ((document.captureEvents) && (!document.getElementById)) ? true : false;
        mz = ((document.getElementById) && (!document.all) && (document.documentElement)) ? true : false; 
        op = ((document.getElementById) && (navigator.userAgent.indexOf('Opera') != -1)) ? true : false
//Bildschirmauflösung
if (window.screen){
  var w = screen.width;
  pc_ie_800 = "pc_ie_800.css";
  pc_nn_800 = "pc_nn_800.css";
  pc_mz_800 = "pc_mz_800.css";
  pc_op_800 = "pc_op_800.css";
  pc_ie_1024 = "pc_ie_1024.css";
  pc_nn_1024 = "pc_nn_1024.css";
  pc_mz_1024 = "pc_mz_1024.css";
  pc_op_1024 = "pc_op_1024.css";
  pc_ie_1280 = "pc_ie_1280.css";
  pc_nn_1280 = "pc_nn_1280.css";
  pc_mz_1280 = "pc_mz_1280.css";
  pc_op_1280 = "pc_op_1280.css";
  mac_ie_800 = "mac_ie_800.css";
  mac_nn_800 = "mac_nn_800.css";
  mac_mz_800 = "mac_mz_800.css";
  mac_op_800 = "mac_op_800.css";
  mac_ie_1024 = "mac_ie_1024.css";
  mac_nn_1024 = "mac_nn_1024.css";
  mac_mz_1024 = "mac_mz_1024.css";
  mac_op_1024 = "mac_op_1024.css";
  mac_ie_1280 = "mac_ie_1280.css";
  mac_nn_1280 = "mac_nn_1280.css";
  mac_mz_1280 = "mac_mz_1280.css";
  mac_op_1280 = "mac_op_1280.css";
		if(w>=740 & w<835 && ie && pc){
			document.write("<link rel='stylesheet' href='" + pc_ie_800 + "' type='text/css'>");
				}
		if(w>=740 & w<835 && nn && pc){
			document.write("<link rel='stylesheet' href='" + pc_nn_800 + "' type='text/css'>");
				}
		if(w>=740 & w<835 && op && pc){
			document.write("<link rel='stylesheet' href='" + pc_op_800 + "' type='text/css'>");
				}
		if(w>=740 & w<835 && mz && pc){
			document.write("<link rel='stylesheet' href='" + pc_mz_800 + "' type='text/css'>");
				}
		if(w>=740 & w<835 && ie && mac){
			document.write("<link rel='stylesheet' href='" + mac_ie_800 + "' type='text/css'>");
				}
		if(w>=740 & w<835 && nn && mac){
			document.write("<link rel='stylesheet' href='" + mac_nn_800 + "' type='text/css'>");
				}
		if(w>=740 & w<835 && op && mac){
			document.write("<link rel='stylesheet' href='" + mac_op_800 + "' type='text/css'>");
				}
		if(w>=740 & w<835 && mz && mac){
			document.write("<link rel='stylesheet' href='" + mac_mz_800 + "' type='text/css'>");
				}
			if(w>=835 & w<1150 && ie && pc){
				document.write("<link rel='stylesheet' href='" + pc_ie_1024 + "' type='text/css'>");
					}
			if(w>=835 & w<1150 && nn && pc){
				document.write("<link rel='stylesheet' href='" + pc_nn_1024 + "' type='text/css'>");
					}
			if(w>=835 & w<1150 && op && pc){
				document.write("<link rel='stylesheet' href='" + pc_op_1024 + "' type='text/css'>");
					}
			if(w>=835 & w<1150 && mz && pc){
				document.write("<link rel='stylesheet' href='" + pc_mz_1024 + "' type='text/css'>");
					}
			if(w>=835 & w<1150 && ie && mac){
				document.write("<link rel='stylesheet' href='" + mac_ie_1024 + "' type='text/css'>");
					}
			if(w>=835 & w<1150 && nn && mac){
				document.write("<link rel='stylesheet' href='" + mac_nn_1024 + "' type='text/css'>");
					}
			if(w>=835 & w<1150 && op && mac){
				document.write("<link rel='stylesheet' href='" + mac_op_1024 + "' type='text/css'>");
					}
			if(w>=835 & w<1150 && mz && mac){
				document.write("<link rel='stylesheet' href='" + mac_mz_1024 + "' type='text/css'>");
					}
				if(w>=1150 && ie && pc){
					document.write("<link rel='stylesheet' href='" + pc_ie_1280 + "' type='text/css'>");
						}
				if(w>=1150 && nn && pc){
					document.write("<link rel='stylesheet' href='" + pc_nn_1280 + "' type='text/css'>");
						}
				if(w>=1150 && op && pc){
					document.write("<link rel='stylesheet' href='" + pc_op_1280 + "' type='text/css'>");
						}
				if(w>=1150 && mz && pc){
					document.write("<link rel='stylesheet' href='" + pc_mz_1280 + "' type='text/css'>");
						}
				if(w>=1150 && ie && mac){
					document.write("<link rel='stylesheet' href='" + mac_ie_1280 + "' type='text/css'>");
						}
				if(w>=1150 && nn && mac){
					document.write("<link rel='stylesheet' href='" + mac_nn_1280 + "' type='text/css'>");
						}
				if(w>=1150 && op && mac){
					document.write("<link rel='stylesheet' href='" + mac_op_1280 + "' type='text/css'>");
						}
				if(w>=1150 && mz && mac){
					document.write("<link rel='stylesheet' href='" + mac_mz_1280 + "' type='text/css'>");
						}
							}