function showme(id,blnFlag,anchorId,className)
{
	if(blnFlag==1)
	{
		switch(id)
		{
		case "splendid":	 	
			window.location.href="../splendid/wholesale-splendid.php";	
		  break;  
		case "splendidMills":	 	
			window.location.href="../mills/wholesale-splendid-mills.php";	
		  break;    
		case "splendidLittle":
			window.location.href="../little/wholesale-splendid-little.php";
		  break;
		case "splendidGirls":
			 window.location.href="../girls/wholesale-splendid-girls.php";
		  break;
		case "splendidMillsJR":	 	
			window.location.href="../millsJR/wholesale-splendid-millsJR.php";	
		  break;
		case "splendidBaby":	 	
			window.location.href="../baby/wholesale-splendid-baby.php";	
		  break;
		case "splendidYouth":	 	
			window.location.href="../toddler/wholesale-splendid-youth.php";	
		  break;


		case "pressSection":	 	
			window.location.href="../press/press.php";	
		  break;  
		}
	}
	else
	{
			
		document.getElementById("splendid").style.display = "none";
		document.getElementById("splendidMills").style.display = "none";
		document.getElementById("splendidLittle").style.display = "none";
		document.getElementById("splendidGirls").style.display = "none";
		document.getElementById("splendidMillsJR").style.display = "none";
		document.getElementById("splendidBaby").style.display = "none";
		document.getElementById("splendidYouth").style.display = "none";
		if(eval(document.getElementById("content")))
			document.getElementById("content").style.display = "none"		
		document.getElementById(id).style.display = "";	
		activeClass(anchorId,className);	
		
	}
	
}
function validate(objForm)
{
	if(objForm.password.value=="")	
	{
		alert("Please enter the password.");
		objForm.password.value="";
		objForm.password.focus();
		return false;
	}	
	return true;
		
}
function activeClass(id,className)
{
//		alert(id);
	document.getElementById("splendidLogin").className = "btn_splendid";
	document.getElementById("mills").className = "btn_splendidmills";
	document.getElementById("little").className = "btn_splendidlittles";
	document.getElementById("girls").className = "btn_splendidgirl";
	document.getElementById("millsJR").className = "btn_splendidmills2";
	document.getElementById("baby").className = "btn_splendid_baby";
	document.getElementById("youth").className = "btn_splendid_youth";
	
	if(document.getElementById(id) != null)
	{
		document.getElementById(id).className = className;
	}
}
