<!--

function openWindow(name, type, winTitle, winX, winY, URL, content) {

	// Set options for window
	var windowOptionString = "width=" + winX + ",height=" + winY + ",status=no,scrollbars=no,toolbar=no,menubar=no,location=no,scrolling=no";

	// Create string to write into new document
	var contentString = '<html><head><title>' + winTitle + '</title></head><body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">';	
	if (type == 'movie') {
		contentString += '<div align="center"><embed src="' + URL + '" width="500" height="156" loop="true" cache="true" pluginpage="http://www.apple.com/quicktime/download/" controller="true" autoplay="false"></div>';
	}
	else if (type == 'movie-snd') {
		contentString += '<div align="center"><embed src="' + URL + '" width="140" height="40" loop="true" cache="true" controller="true" autoplay="true"></div>';
	}
	else if (type == 'image') {
		contentString += '<div align="center"><img src="' + URL + '" border="0"></div>';
	}
	else if (type == 'other') {
		contentString += content;
	}
	else {
		alert("Javascript error - invalid content type");
		return; 
	}
	contentString += '</body></html>';
	
	// Open window and write document
	var childWindow = window.open("",name,windowOptionString);
	childWindow.document.write(contentString);
	childWindow.document.close();
	childWindow.focus();
}

-->