function signup() {
  styleWindow = window.open('http://ui.constantcontact.com/d.jsp?m=1100813916227&p=oi','signup','resizable,width=800,height=600,scrollbars');
  styleWindow.focus();
}

function toggleMenu(which) {
	var submenu = 'submenu_' + which;
	var menu = 'menu_' + which;
	//alert("submenu = " + submenu + " menu = " + menu);
	if (document.getElementById(submenu).style.display == 'none') {
		document.getElementById(submenu).style.display = 'block'
		document.getElementById(menu).style.backgroundImage = 'url(/img/ui/navarrow_open.gif)'
	} else {
		document.getElementById(submenu).style.display = 'none'
		document.getElementById(menu).style.backgroundImage = 'url(/img/ui/navarrow_closed.gif)'
	}
}

function switchShopBy(which) {
	var shopby_cats = new Array("designers", "trends", "celebrities");
	//alert("list = " + list);
	for (i=0; i<shopby_cats.length; i++) {
		var thelink = 'shopby_' + shopby_cats[i];
		var list = 'shopbylist_' + shopby_cats[i];
		if (shopby_cats[i] == which) {
			document.getElementById(list).style.display = 'block';
			document.getElementById(thelink).style.textDecoration = 'underline';
		} else {
			document.getElementById(list).style.display = 'none';
			document.getElementById(thelink).style.textDecoration = 'none';
		}
	}
}
