function WidgetArea(sectionname, id, tabId) {
	/* content area section name */
	this.sectionname = sectionname;
	/* content area id */
	this.id = id;
	/* associated tab id */
	this.tabId = tabId;
	/* this method turns on a contentarea/tab combo and turns off all others */
	this.show = function() {
		for(var j=0; j < WidgetContent.length; j++) {
			if(WidgetContent[j].id != this.id){
				document.getElementById(WidgetContent[j].tabId).className = "tabInactive";
				document.getElementById(WidgetContent[j].id).className = "contentAreaInactive";
			} else {
				document.getElementById(WidgetContent[j].tabId).className = "tabActive";
				document.getElementById(WidgetContent[j].id).className = "contentAreaActive";
			}
		}
	}
}
var WidgetContent = [
/* array to hold content area references */

new WidgetArea("Product Details", "widgetArea1", "widgettab1"),
new WidgetArea("Directions for Use", "widgetArea2", "widgettab2"),
new WidgetArea("Directions for Use", "widgetArea3", "widgettab3")
//,new WidgetArea("Custom & Factory Colors", "widgetArea3", "widgettab3"),
//new WidgetArea("section4", "widgetArea4", "widgettab4")
];