
// Rotor Interactive www.rotorinteractive.com

var style = "";

function client_check() {
	// browser/OS check
	var b=navigator.appName;
	if ((b=="Opera") || (navigator.userAgent.indexOf("Opera")>0)){
		this.b = "opera";
	}
	else if (b=="Netscape"){
		this.b="ns";
	}
	else if (b=="Microsoft Internet Explorer"){
		this.b="ie";
	}
	if (!b){
		this.b="?";
	}
	this.version=navigator.appVersion;
	this.v=parseInt(this.version);
	if (document.createElement && document.appendChild && document.getElementsByTagName && (this.b!="ie")){
		this.b = "dom";
	}
	var ua=navigator.userAgent.toLowerCase();
	if (ua.indexOf("win")>-1){
		this.os="win";
	}
	else if (ua.indexOf("mac")>-1){
		this.os="mac";
	}
	else{
		this.os="other";
	}
}
// Run
check = new client_check();
// print stylesheet
print_css();

if (check.b=="ie") document.onmousedown = fixafokus;
function fixafokus() {
	for (a in document.links) document.links[a].onfocus = document.links[a].blur;
}

if (check.b=="ns") onresize = fixaresize;
var origbredd;
var orighojd;
function fixaresize() {
	if (check.b=="ns") {
		if (innerWidth != origbredd || innerHeight != orighojd) {
			location.reload();
		}
	}
}