// JavaScript Document

// Variablen aufbauen für die einzelnen Fälle

var mobile = (navigator.userAgent.match(/Android/i)) || (navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))
var tablet = (navigator.userAgent.match(/iPad/i))

// Bibliotheken etc auf die Geräte zuteile
	if(mobile){
			// CSS 
			(document).write('<link rel="stylesheet" type="text/css" href="http://www.beruehrungspunkte.de/css/colorbox.css" /><link rel="stylesheet" type="text/css" href="http://www.beruehrungspunkte.de/css/iphone.css" />');
			//Javascripts(JQuery etc.)
			(document).write('<script type="text/javascript" src="http://fast.fonts.com/jsapi/0497279f-bd55-425a-b025-45275bcf217b.js"><' + '/script><script type="text/javascript" src="http://cdn.jquerytools.org/1.2.5/jquery.tools.min.js"><' + '/script><script type="text/javascript" src="http://www.beruehrungspunkte.de/scripts/jquery.colorbox.js"><' + '/script><script type="text/javascript" src="http://www.beruehrungspunkte.de/scripts/jquery-ui-1.8.13.custom.min.js"><' + '/script><script type="text/javascript" src="http://www.beruehrungspunkte.de/scripts/jquery-easing.js"><' + '/script>');
			
		}
		else if(tablet){
			// CSS
			(document).write('<link rel="stylesheet" type="text/css" href="http://www.beruehrungspunkte.de/css/colorbox.css" /><link rel="stylesheet" type="text/css" href="http://www.beruehrungspunkte.de/css/ipad.css" />');
			// Javascripts (JQuery, etc.)
			(document).write('<script type="text/javascript" src="http://fast.fonts.com/jsapi/0497279f-bd55-425a-b025-45275bcf217b.js"><' + '/script><script type="text/javascript" src="http://www.beruehrungspunkte.de/scripts/jquery.colorbox.js"><' + '/script><script type="text/javascript" src="http://www.beruehrungspunkte.de/scripts/jquery-ui-1.8.13.custom.min.js"><' + '/script><script type="text/javascript" src="http://www.beruehrungspunkte.de/scripts/jquery-easing.js"><' + '/script>');
			
			}
		else{
			// CSS
			(document).write('<link rel="stylesheet" type="text/css" href="http://www.beruehrungspunkte.de/css/colorbox.css" /><link rel="stylesheet" media="print, embossed" href="http://www.beruehrungspunkte.de/css/print.css"><link rel="stylesheet" type="text/css" href="http://www.beruehrungspunkte.de/css/screen.css" />');
			// Javascripts (JQuery, etc.)
			(document).write('<script type="text/javascript" src="http://fast.fonts.com/jsapi/184ed38d-a7f3-4359-9c5d-a9e6c0da4622.js"><' + '/script><script type="text/javascript" src="http://www.beruehrungspunkte.de/scripts/jquery.colorbox.js"><' + '/script><script type="text/javascript" src="http://www.beruehrungspunkte.de/scripts/jquery-ui-1.8.13.custom.min.js"><' + '/script><script type="text/javascript" src="http://www.beruehrungspunkte.de/scripts/jquery-easing.js"><' + '/script><script type="text/javascript" src="http://www.beruehrungspunkte.de/scripts/jquery.scrollTo-1.4.2-min.js"><' + '/script><script type="text/javascript" src="http://www.beruehrungspunkte.de/scripts/jquery.serialScroll-1.2.2-min.js"><' + '/script>');
			
			};
