Load A URL - Javascript Help Please

Hi Guys,

A client has given me some code but i need to add some code to it so it loads a URL along with the rest of the code. Below is the javascript code i need to work with, i know its to do with Google Tracking (Dart) but i dont understand it as I’ve never done JavaScript before:

<script type="text/javascript">
function dart_tracking(callback) {

// Google Conversion Tracking
var img = new Image();

var img2 = new Image();

_gaq.push(['_trackEvent', 'subscribeButton', 'clicked']);

if (typeof callback != "undefined") {
setTimeout(callback, 1500);

Now the above code loads up when a subscribe button is clicked on my clients webpage, now how do i go about adding code to this so lets say http://www.Google.co.uk is loaded too?

Any help would be great.

Thank you!

When you call the above function, you can supply a callback function which gets executed at the end of things.