﻿//- - - - - - - - - - - - -
// OASIS Side Tab Tool  //
//- - - - - - - - - - - - -
// By Jon Jenkins, 2010 //
//- - - - - - - - - - - - -

document.write('<style type="text/css">');
document.write('a#oSideTab {');
document.write('  top: 23%; left: 0; width: 45px; height: 108px; border: solid 1px black; cursor:pointer; text-indent:-5000px;');
document.write('  position: fixed; _position: fixed; z-index: 10000; overflow:hidden; margin-left: -12px; background-color: #888;');
document.write('}');
document.write('a#oSideTab:hover {background-color: #444;}');
document.write('</style>');
document.write('<a href="http://www.surveymonkey.com/s/SDF68K3" target="_blank" id="oSideTab"><span>Feedback</span></a>');

var arVersion = navigator.appVersion.split("MSIE")
var version = parseFloat(arVersion[1])
if ((version >= 5.5) && (version < 7) && (document.body.filters)) {
	document.getElementById('oSideTab').style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/files/media/image/OASIS/tab_feedback.png', sizingMethod='crop')";
} else {
	document.getElementById('oSideTab').style.backgroundImage = 'url(/files/media/image/OASIS/tab_feedback.png)';
}

