Here's a VI for you, it's the simplest way in terms of code. If you have a huge array you might need a more efficient method.
<script src="http://shots.snap.com//client/inject.js?site_name=0" type="text/javascript"></script>
_______________________________________
Systems Test Engineer
Certified LabVIEW Architect (CLA)