     jQuery(document).ready(function() {

       jQuery("#stock1").load("prods/one.php", function() {
       AddLink();});
 
       }); 
 
 function AddLink()
 {
   jQuery('.stock-list tr').click(function() {
               window.open(jQuery("a", this).attr('href'), 'newwin').focus();
               return false;
           });
 }
 
 jQuery(document).ready(function() {


        jQuery('.prod').bind('click', function() {
      

            var whichlink = jQuery(this).attr("index");

            jQuery.getFeed({
                url: '/proxy.php',
                success: function(feed) {

                var item = feed.items[whichlink];
          
                window.open(item.link);
                

                }
            });
         
            return false;
        });

        
        
    });
