i am new in javascript and i have proplem <table border="0" width="100%"> <tr> <td width="70%"><h2 oncontextmenu="return false" id="win" style="cursor:pointer; cursor:hand" onclick="NewWindow('http://www.kfidsff.com/487JBNsfsf7ED','name','900','700','yes');return false">Click here to open the window</h2></td> </tr> HTML: how i can get the link in variable