function panel(){
	this.isTab;
	this.isPanel;
}

function changePanel(tabid,id){
	if(this.isPanel == id){return true};

	this.isTab = "#" + tabid;
	this.isPanel = id;

	for (i=1; i <= 7; i++){
		var tabName = this.isTab.replace(/[0-9]$/,"") + i;
		var name = this.isPanel.replace(/[0-9]$/,"") + i;
		$(tabName).removeClass("active");
		$(name).hide();
	}
	$(this.isTab).addClass("active");
	$(this.isPanel).fadeIn("slow");
	return false;
}
panel.prototype.changeTab=changePanel;

function toggleTag(id){
	$(id).fadeIn("slow").css("zIndex", "200")
}
