function tabSwap(tab_current, tab_list) {
		
	tab_array = tab_list.split(",");
	tab_number = tab_array.length;
	
	for(i=0; i<tab_number; i++)
		document.getElementById(tab_array[i]).style.visibility = "hidden";

	document.getElementById(tab_current).style.visibility = "visible";
}

function popUp(URL,x,y,r) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=" + r + ",scrollbars=1,location=0,statusbar=0,menubar=0,resizable=" + r + ",width=" + x + ",height=" + y + "');");
}
