function fncShowHideDD(strParentID, boolShow) {
     //get the dd
    var objDD = document.getElementById(strParentID + 'DD');

    //update the mouseover state of the parent
    var objParent = document.getElementById(strParentID);

    //get the left position
    var intLeftPosition = (objParent.offsetLeft) - 14;

    //if you want, you can change the css of the parent here
    if (objParent != null) {
        objParent.style.textDecoration = (boolShow == true) ? "underline" : "none";
    }

    //display the dd
    if (objDD != null) {
        objDD.style.display = (boolShow == true) ? "block" : "none";
    }
}
function DoOptionSearch()
{
    var boolSubmitSearch=false;
    var url='';
    
   if(document.getElementById("optGender").selectedIndex>0)
    {
        url+='/'+document.getElementById("optGender")[document.getElementById("optGender").selectedIndex].value;
        boolSubmitSearch=true;
    }
    if(document.getElementById("optShoeCategory").selectedIndex>0)
    {
        url+='/'+document.getElementById("optShoeCategory")[document.getElementById("optShoeCategory").selectedIndex].value;
        boolSubmitSearch=true;
    }
    if(document.getElementById("optColors").selectedIndex>0)
    {
        url+='/'+document.getElementById("optColors")[document.getElementById("optColors").selectedIndex].value;
        boolSubmitSearch=true;
    }
    if(document.getElementById("optSize").selectedIndex>0)
    {
        url+='/'+document.getElementById("optSize")[document.getElementById("optSize").selectedIndex].value;
        boolSubmitSearch=true;
    }
    if(boolSubmitSearch==true)
    {
        document.location.replace(url+'/search.aspx');
    }
    else
    {
        alert("Please select at least one option before clicking the 'Go' button.");
    }
}
