// Common Scrpts



function openWindow(url,w,h) {

	var windowLeft = (screen.width - w) / 2;

	var windowTop = (screen.height - h) / 2;

	var windowprops = "width=" + w + ",height=" + h + ",top=" + windowTop + ",left=" + windowLeft + ',scrollbars=no';

	popup = window.open(url,'remote',windowprops);

}



function hideallTabs(){

	var sections = new Array('overview','features');

	for (x in sections){

		document.getElementById(sections[x]).style.display = "none";	

		document.getElementById(sections[x] + '-tab').className = '';

	}

}

function showTab(id) {

	hideallTabs();

	document.getElementById(id).style.display = 'block';

	document.getElementById(id + '-tab').className = 'active';

}



function showMe(id){

	document.getElementById(id).style.display = 'block';

}