function launchScanner(center){
	if (!IsActiveXEnabled()){
		window.location.href=getGlobalPath()+'/scanner/noactivex.htm';}
	else{
		var confirmMessage='It appears as though you may already be scanning. Click "OK" if you would like to launch the scanner. This will abort your current scan.';
		if (GetCookie('ScannerRunning')=='true'){
			if (confirm(confirmMessage)){
				DeleteCookie('ScannerRunning');
				LaunchScanner(center,'','scanload',true,true);}}
		else{
			LaunchScanner(center,'','scanload',true,true);}}}

