if(typeof is == 'undefined') {
	is = new function() {
		var agent = navigator.userAgent.toLowerCase();
		this.ie = (agent.indexOf("msie") != -1);
	}();
}

if(is.ie) {
	window.attachEvent("onload", function() {
		// Flash fix...
		var objects = document.getElementsByTagName("object");
		for(var i = 0; i < objects.length; i++) {
			objects[i].outerHTML = objects[i].outerHTML;
		}

		// google toolbar fix
		function goog(elem) {
			for(var i = 0; i < elem.length; i++) {
				elem[i].attachEvent("onpropertychange", restoreStyles);
				elem[i].style.backgroundColor = "";
			}
		}

		function restoreStyles() {
			with(event.srcElement) {
				if(style.backgroundColor != "") {
					style.backgroundColor = "";
				}
			}
		}

		goog(document.getElementsByTagName("INPUT"));
		goog(document.getElementsByTagName("SELECT"));
	});
}
