try{
	document.execCommand("BackgroundImageCache", false, true);
}
catch(e){
}
new function(){
	var d = document;
	d.oncontextmenu = d.onselectstart = d.ondragstart = d.oncopy = function(){
		return false;
	}
}
function ge(n){
	return document.getElementById(n);
}
function popUp(page, w, h){
	x = (screen.width >> 1) - (w >> 1), y = (screen.height >> 1) - (h >> 1);
	var prop = "width=" + w + ",height=" + h + ",scrollbars=0,resizable=0,toolbar=0,location=0,menubar=0,status=1,directories=0,top=" + y + ",left=" + x;
	window.open(page ,"", prop);
}
function setFontClass(c){
	var l = arguments.callee.last = arguments.callee.last || "content_text";
	if(c == l)
		return;
	for(var o = getElementsByClassName(l, ge("Content")), i = o.length; i--; o[i].className = o[i].className.split(l).join(c));
	arguments.callee.last = c;
}
function setHome(ob){
	ob.style.behavior='url(#default#homepage)';
	ob.setHomePage && ob.setHomePage('http://www.flora-aquatica.com.br');
}
function addFavorite(){
	if (window.sidebar) { // Mozilla
		window.sidebar.addPanel(document.title, location.href,"");
	} else if(window.external) {
		window.external.AddFavorite(location.href, document.title);
	}
}
function tabs(id){
	var l = ge(id).getElementsByTagName("a"), s;
	for(var c = "selected", i = l.length; i--;){
		if(!l[i].target) continue;
		l[i].className == c && (s = l[i]);
		addEvent(l[i], "click", function(e){
			s.className = "", this.className = c, s = this;
		});
	}
}
function getPosition(o){
	for(var r = {x: o.offsetLeft, y: o.offsetTop, h: o.offsetHeight, w: o.offsetWidth}; o = o.offsetParent; r.x += o.offsetLeft, r.y += o.offsetTop);
	return r;
}
function getElementsByClassName(name, parent){
	for(var o = [], n = new RegExp("\\b" + name.replace(/([(){}|*+?.,^$\[\]\\])/g, "\\\$1") + "\\b"), l = (parent || document).getElementsByTagName("*"), i = l.length; i--;)
		n.test(l[i].className) && (o[o.length] = l[i]);
	return o;
}