The problem is that your parameter values ββare 1 and 0 , but in your Javascript you are looking for Yes .
Change to:
if (sta == '1')
The selected value a <select> is the selected <option> value , not the text.
You also have a syntax error, you forgot to close the quote after ratesupli.php , use:
window.open('ratesupli.php','topFrame');
source share