var agt = navigator.userAgent.toLowerCase();
var is_mac   = (agt.indexOf("mac")!=-1);
var is_ie   = (agt.indexOf('msie') != -1);

function openWindow(url, w, h) {
    var options = "width=" + w + ",height=" + h + ",";
    options += "resizable=yes,scrollbars=yes,status=yes,";
    options += "menubar=no,toolbar=no,location=no,directories=no";
    var newWin = window.open(url, 'newWin', options);
    newWin.focus();
}

function play(sURL) {
	//if (is_mac) {
		openWindow(sURL, 780, 540);
		return;
	//}

	// if IE then change the location of the IFRAME
	//if( document.all ){
		// this loads the URL stored in the sURL variable into the hidden frame
	//	document.idServer.location = sURL;
	
	// otherwise, change Netscape v6's IFRAME source file
	//} else if( document.getElementById ){
		// this loads the URL stored in the sURL variable into the hidden frame
	//	document.getElementById("idServer").contentDocument.location = sURL;
	
	// otherwise, change Netscape v4's ILAYER source file
	//} else if( document.layers ){
		// this loads the URL stored in the sURL variable into the hidden frame
	//	document.idServer.src = sURL;
	//}
}

