function popupMovie(mediaURL, mediaWidth, mediaHeight)
{
	window.open(mediaURL, "_blank", "toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=" + mediaWidth + ", height=" + mediaHeight);
	// loadMovieNotifier(mediaURL); - removed usage tracking for this component
}

function popupStaticSize(mediaURL, mediaWidth, mediaHeight)
{
	window.open(mediaURL, "_blank", "toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=" + mediaWidth + ", height=" + mediaHeight);
	// loadMovieNotifier(mediaURL); - removed usage tracking for this component
}

function loadMovieNotifier(para){
	var httpObj1;
	if(navigator.appName == "Microsoft Internet Explorer") {
		httpObj1 = new ActiveXObject("Microsoft.XMLHTTP");
	} else {
		httpObj1 = new XMLHttpRequest();
	}
	
	httpObj1.open("GET", contexRoot + "/usageTracker?type=popupLoad&url=" + para );
	httpObj1.send(null);
}

// Code for launching the GPU test.
var gpuTestPage;
function launchGPUTest() {
	if(gpuTestPage == null || gpuTestPage.closed) {
		gpuTestPage = window.open('gputest/gpuTest.html', 'gpuTest', 'location=0, status=0, resizable=0, toolbar=0, width=600, height=450');
	}
	gpuTestPage.focus();
}