
	var selectedbutton


	function menuOver(ID, direction)
			{

				if(direction == 'in')
					{
						//document.getElementById(ID).style.color = '#999999';
						document.getElementById(ID).style.cursor = 'pointer';
						document.getElementById(ID).style.fontStyle = 'italic';
						document.getElementById(ID).style.fontWeight = 'bold';

					}
				else
					{
						if(selectedbutton != ID)
							{
								//document.getElementById(ID).style.color = '#000000';
								document.getElementById(ID).style.fontStyle = 'normal';
								document.getElementById(ID).style.fontWeight = 'normal';
							}
					}

		}
		
		
		function setSelection(ID)
				{


					if(ID == 'TD')
						ID = 'TD1';

					var button = document.getElementById(ID);
					selectedbutton = ID;
					//button.style.color = '#000000';
					button.style.fontStyle = 'italic';
					button.style.fontWeight = 'bold';
			}

		
	function navigate(ID)
			{

				switch(ID)
					{
						case 'td1':
							window.location.href='default.asp?spg=1';
							break;
						case 'td2':
							window.location.href='main.asp?pg=occasion&spg=2';
							break;
						case 'td3':
							window.location.href='main.asp?pg=evening&spg=3';
							break;
						case 'td4':
							window.location.href='main.asp?pg=casual&spg=4';
							break;
						case 'td5':
							window.location.href='main.asp?pg=hats&spg=5';
							break;
						case 'td6':
							window.location.href='main.asp?pg=shoes&spg=6';
							break;
						case 'td7':
							window.location.href='main.asp?pg=accessories&spg=7';
							break;						
						case 'td8':
							window.location.href='main.asp?pg=about&spg=8';
							break;
						case 'td9':
							window.location.href='main.asp?pg=contact&spg=9';
							break;
					}
		
		}
		
		var newWindow
						
			function openWindow(URL)
				{

					if(newWindow == null)
						{
							newWindow = window.open(URL,null,'width=800,height=600,scrollbars=yes,resizable=yes, status=yes,toolbar=yes,menubar=yes,location=yes');
						}
					else
						{
							newWindow.close();
							newWindow = window.open(URL,null,'width=800,height=600,scrollbars=yes,resizable=yes, status=yes,toolbar=yes,menubar=yes,location=yes');
						}

					newWindow.focus();
		}																			
				
		var newImageWindow

			function openImageWindow(URL)
				{

					if(newImageWindow == null)
						{
							newImageWindow = window.open(URL,null,'width=650,height=431,scrollbars=no,resizable=no, status=yes,toolbar=no,menubar=no,location=no');
						}
					else
						{
							newImageWindow.close();
							newImageWindow = window.open(URL,null,'width=650,height=431,scrollbars=no,resizable=no, status=yes,toolbar=no,menubar=no,location=no');
						}

					newImageWindow.focus();
		}