change the style of the link

change the style of the link

Hi,
 
I have a footer section in one of my masterpage ( i am using asp.net) and it contains 5 links ( pointing to different webpages), now i want to change the style of the link ie when i click on one of the five links the link should be in bold face (using style).
 
Footer of the masterpage is as follows
 

<

div id ="footer-container">

< div id ="footer">

< div class ="image-footer">

</ div >

< div class ="bottom">

< ul class ="links">

< li >< a id ="lnk2" href ="Dis.aspx"> Dis </ a ></ li >

< li >< a id ="lnk3" href ="Acc.aspx"> Acc </ a ></ li >

< li >< a id ="lnk5" href ="Pri.aspx"> Pri </ a ></ li >

< li class ="last">< a id ="lnk6" href ="Co.aspx">Co </ a ></ li >

</ ul >

< ul class ="copyright">

< li > &copy;  footer section </ li >

</ ul >

</ div >

</ div >

</ div >
 
i have added a jquery function
 

$(document).ready(

function (){

$(

"#lnk2").click(

function()

{

$(

this).addCssClass("active");

}

);

});
 
which is changing the font of the link when i click on it, but when the page loads(postback) again it is going back to its normal style without bold-face.
 
Can you please help me in solving this issue.
 
regards
SA