//+----------------------------------------------------------------------------+
//| Copyright 2005, Dipl. eng. Andri Ivin.                                     |
//| Unauthorized copying of this script or any part of this script prohibited. |
//| Contact: andri.ivin@mail.ee                                                |
//+----------------------------------------------------------------------------+

//Determine browser----------------------------------------
var _Opera = false;
var _Firebird = false;
var _Firefox = false;
var _Camino = false;
var _Netscape = false;
var _Mozilla = false;
var _IE = false;

if (window.navigator.userAgent.indexOf('Opera') > -1) {
	_Opera = true;
}
else if (window.navigator.userAgent.indexOf('Firebird') > -1) {
	_Firebird = true;
}
else if (window.navigator.userAgent.indexOf('Firefox') > -1) {
	_Firefox = true;
}
else if (window.navigator.userAgent.indexOf('Camino') > -1) {
	_Mozilla = true;
}
else if (window.navigator.userAgent.indexOf('Netscape') > -1) {
	_Netscape = true;
}
else if (window.navigator.userAgent.indexOf('Gecko') > -1) {
	_Mozilla = true;
}
else if (window.navigator.userAgent.indexOf('MSIE') > -1) {
	_IE = true;
}
//Not Windows
if (navigator.userAgent.indexOf("Windows") == -1) {
	if (_Netscape) {}
	else if (_Camino) {}
	else {_Opera = true;}
}
