var bugRiddenCrashPronePieceOfJunk = (
    navigator.userAgent.indexOf('MSIE') != -1
    &&
    navigator.userAgent.indexOf('Mac') != -1
    &&
    navigator.userAgent.indexOf('Opera') != -1
);

var W3CDOM = (!bugRiddenCrashPronePieceOfJunk && document.getElementsByTagName && document.createElement);

var quirksMode = (top == self);
if (!quirksMode) top.location.href = '/index.html';

var query = location.href.indexOf("?")+1;
if (query)
{
	page = location.href.substring(query);
}

function over()
{
	alert('Link not cleaned yet');
}

if (document.all)
{
	var detect = navigator.userAgent.toLowerCase();
	var browser,thestring;
	var version = 0;

	if (checkIt('msie')) 
	{
		browser = "IE "
		browser += detect.substr(place + thestring.length,3);
		document.title = browser + ' - ' + document.title;
	}
}

function checkIt(string)
{
	place = detect.indexOf(string) + 1;
	thestring = string;
	return place;
}