Selectin Curve

hi all

i have two curves.. i need a script that can select the second curve when the first curve is selected. can anyone help me?

venkad