An e-commerce site currently includes a block of Javascript from a third party site. When users go to secure pages, this included code rightly triggers a browser security warning.

If the third party site was also a secure site, would this prevent the warning, or would the fact the the two secure certificates are different still be considered a security issue?