var isWindowsMSIE = 0
var QuickTimeMode = 0
var theURL
var section
//var QTwin


	if (navigator.plugins && navigator.plugins.length > 0){	
		for (i=0; i < navigator.plugins.length; i++)  {							
			if (navigator.plugins[i].name.indexOf("QuickTime") >= 0){		
				QuickTimeMode = 1
			}
	   }

	} else {

			if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && navigator.userAgent.indexOf("Mac")>=0 && navigator.userAgent.indexOf("4.")>=0) {

			QuickTimeMode = 2
			}
	
	}

function checkForQuickTime(aURL,aSection) {

	theURL =  aURL
	section = aSection

	if(QuickTimeMode == 2)  {

		message = 'You are currently running Internet Explorer 4.5 for the Macintosh.'
		navigateToNoFlashPage(message,'ieMac',aSection,'QuickTime')	


	} else if (QuickTimeMode == 1)  {

			QTwin = window.open(aURL,"movWin","toobar=no,status=no,height=280,width=336,scrollbars=no,menubar=no,location=0,resizable=no,directories=no")			
			QTwin.focus()
	} else {

		 message = 'There is currently no QuickTime plugin installed for this browser'
alert(message)
		navigateToNoFlashPage(message,'other',aSection,'QuickTime')
		
	}

}



