function Validation(MySelect,MyText,MyAlert)
{
if((MySelect.options[MySelect.selectedIndex].text).substring(0,MyText.length) == MyText)
{
alert(MyAlert);
MySelect.focus();
return false
}
}


function Validation1(MyForm,MyText,MyAlert1,MyAlert2)
{
if((MyForm.AttributeA.options[MyForm.AttributeA.selectedIndex].text).substring(0,MyText.length) == MyText)
{
alert(MyAlert1);
MyForm.AttributeA.focus();
return false
}
if((MyForm.AttributeB.options[MyForm.AttributeB.selectedIndex].text).substring(0,MyText.length) == MyText)
{
alert(MyAlert2);
MyForm.AttributeB.focus();
return false
}
}

