function openViewer() {
var clinicUid='69358';
var token='8b7340f415e1fbb4a56fb880d4436393';
var pID = document.getElementById('patientID' ).value;
if ( pID.length == 0 )
{
alert( 'Please enter a patient ID' );
}
else {
window.open( 'https://wf2.antechimagingservices.com/mainsite/viewStudy.html?&optionalAuthentication=true&token=' + token + '&orgUid=' + clinicUid + '&patientID=' + pID, '', '' );
}
}