#!/bin/sh

# Collect -D & -m options as java arguments
command=java
while [ `echo $1 | egrep '^-D|^-m' | wc -l` != 0 ]; do
	command="$command $1"
	shift
done

# Determine installation location
if [ "$JMOL_HOME" = "" ]; then
	binDir=${0%/*}
	if [ "$binDir" = "$0" ]; then
		# Ran from local directory
		binDir=$PWD
	fi
	# Resolve symlinks.
	program="$0"
	while [ -L "$program" ]; do
		ls=`/bin/ls -ld "$program"`
		link=`/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
		if /usr/bin/expr "$link" : '.*/.*' > /dev/null; then
		program="$link"
		else
		program="`/usr/bin/dirname $program`/$link"
		fi
	done
	binDir=`dirname $program`
fi

JMOL_HOME=${JMOL_HOME:-$binDir}
libDir=${JMOL_HOME}/jars

if [ ! -e ${JMOL_HOME}/Jmol.jar ]; then
	echo "Jmol could not find its installed files."
	exit
fi

$command -Djmol.home="$JMOL_HOME" -jar ${JMOL_HOME}/Jmol.jar "$@"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                C20 C15 170.9(3) . . . . ? 
C18 C19 C20 N2 176.0(2) . . . . ? 
C24 C19 C20 N2 -10.4(4) . . . . ? 
C16 C15 C20 C19 -0.1(4) . . . . ? 
C21 C15 C20 C19 -179.5(2) . . . . ? 
C16 C15 C20 N2 -178.8(2) . . . . ? 
C21 C15 C20 N2 1.8(4) . . . . ? 
C14 N2 C20 C19 110.7(3) . . . . ? 
V N2 C20 C19 -42.3(4) . . . . ? 
C14 N2 C20 C15 -70.6(3) . . . . ? 
V N2 C20 C15 136.4(3) . . . . ? 
C16 C15 C21 C23 -82.7(3) . . . . ? 
C20 C15 C21 C23 96.7(3) . . . . ? 
C16 C15 C21 C22 39.3(4) . . . . ? 
C20 C15 C21 C22 -141.2(3) . . . . ? 
C18 C19 C24 C25 -56.2(4) . . . . ? 
C20 C19 C24 C25 130.2(3) . . . . ? 
C18 C19 C24 C26 67.9(4) . . . . ? 
C20 C19 C24 C26 -105.7(3) . . . . ? 
C32 C27 C28 C29 2.9(4) . . . . ? 
C33 C27 C28 C29 -172.8(3) . . . . ? 
C27 C28 C29 C30 0.4(4) . . . . ? 
C28 C29 C30 C31 -2.6(4) . . . . ? 
C29 C30 C31 C32 1.5(4) . . . . ? 
C29 C30 C31 C36 -178.9(2) . . . . ? 
C28 C27 C32 C31 -4.1(3) . . . . ? 
C33 C27 C32 C31 171.4(2) . . . . ? 
C28 C27 C32 N3 174.5(2) . . . . ? 
C33 C27 C32 N3 -10.1(4) . . . . ? 
C30 C31 C32 C27 1.9(3) . . . . ? 
C36 C31 C32 C27 -177.7(2) . . . . ? 
C30 C31 C32 N3 -176.6(2) . . . . ? 
C36 C31 C32 N3 3.7(3) . . . . ? 
C39 N3 C32 C27 108.2(2) . . . . ? 
V N3 C32 C27 -46.5(4) . . . . ? 
C39 N3 C32 C31 -73.2(3) . . . . ? 
V N3 C32 C31 132.1(2) . . . . ? 
C28 C27 C33 C35 -55.6(3) . . . . ? 
C32 C27 C33 C35 129.0(3) . . . . ? 
C28 C27 C33 C34 67.4(3) . . . . ? 
C32 C27 C33 C34 -108.0(3) . . . . ? 
C30 C31 C36 C37 -82.8(3) . . . . ? 
C32 C31 C36 C37 96.9(3) . . . . ? 
C30 C31 C36 C38 40.0(3) . . . . ? 
C32 C31 C36 C38 -140.4(2) . . . . ? 
C32 N3 C39 C40 158.1(2) . . . . ? 
V N3 C39 C40 -35.3(2) . . . . ? 
C32 N3 C39 V -166.6(2) . . . . ? 
N4 V C39 N3 -131.43(15) . . . . ? 
N1 V C39 N3 -19.1(2) . . . . ? 
N2 V C39 N3 125.17(13) . . . . ? 
C40 V C39 N3 -148.7(2) . . . . ? 
C14 V C39 N3 84.15(15) . . . . ? 
C13 V C39 N3 38.95(19) . . . . ? 
N4 V C39 C40 17.24(13) . . . . ? 
N1 V C39 C40 129.58(16) . . . . ? 
N2 V C39 C40 -86.15(15) . . . . ? 
N3 V C39 C40 148.7(2) . . . . ? 
C14 V C39 C40 -127.17(14) . . . . ? 
C13 V C39 C40 -172.38(14) . . . . ? 
C46 N4 C40 C39 -156.9(2) . . . . ? 
V N4 C40 C39 31.0(2) . . . . ? 
C46 N4 C40 V 172.1(2) . . . . ? 
N3 C39 C40 N4 4.6(3) . . . . ? 
V C39 C40 N4 -24.55(17) . . . . ? 
N3 C39 C40 V 29.11(18) . . . . ? 
N1 V C40 N4 44.5(2) . . . . ? 
N2 V C40 N4 -97.49(14) . . . . ? 
N3 V C40 N4 132.49(15) . . . . ? 
C39 V C40 N4 151.5(2) . . . . ? 
C14 V C40 N4 -121.54(15) . . . . ? 
C13 V C40 N4 -168.9(6) . . . . ? 
N4 V C40 C39 -151.5(2) . . . . ? 
N1 V C40 C39 -107.05(19) . . . . ? 
N2 V C40 C39 111.01(14) . . . . ? 
N3 V C40 C39 -19.01(13) . . . . ? 
C14 V C40 C39 86.96(17) . . . . ? 
C13 V C40 C39 39.6(7) . . . . ? 
C46 C41 C42 C43 0.8(4) . . . . ? 
C47 C41 C42 C43 -178.4(3) . . . . ? 
C41 C42 C43 C44 0.9(4) . . . . ? 
C42 C43 C44 C45 -1.2(4) . . . . ? 
C43 C44 C45 C46 -0.4(4) . . . . ? 
C43 C44 C45 C50 178.8(3) . . . . ? 
C44 C45 C46 C41 2.2(4) . . . . ? 
C50 C45 C46 C41 -176.9(2) . . . . ? 
C44 C45 C46 N4 -178.1(2) . . . . ? 
C50 C45 C46 N4 2.9(3) . . . . ? 
C42 C41 C46 C45 -2.4(4) . . . . ? 
C47 C41 C46 C45 176.8(2) . . . . ? 
C42 C41 C46 N4 177.8(2) . . . . ? 
C47 C41 C46 N4 -2.9(4) . . . . ? 
C40 N4 C46 C45 -89.0(3) . . . . ? 
V N4 C46 C45 77.6(3) . . . . ? 
C40 N4 C46 C41 90.7(3) . . . . ? 
V N4 C46 C41 -102.7(3) . . . . ? 
C42 C41 C47 C48 -79.5(3) . . . . ? 
C46 C41 C47 C48 101.3(3) . . . . ? 
C42 C41 C47 C49 45.4(4) . . . . ? 
C46 C41 C47 C49 -133.9(3) . . . . ? 
C46 C45 C50 C51 -125.2(3) . . . . ? 
C44 C45 C50 C51 55.7(3) . . . . ? 
C46 C45 C50 C52 110.4(3) . . . . ? 
C44 C45 C50 C52 -68.7(3) . . . . ? 
  
_diffrn_measured_fraction_theta_max    0.998 
_diffrn_reflns_theta_full              25.00 
_diffrn_measured_fraction_theta_full   1.000 
_refine_diff_density_max    0.524 
_refine_diff_density_min   -0.338 
_refine_diff_density_rms    0.050 

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     ====:7====Mels5==s5=4;91p5;6Q{==mv>97=wRL[pa>W==<񊸖)===pxi|DD{salifesmlk-n
;rRyтhlhu$l!e9o *&i&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IuvבwE^Uo˗s1Ⱥ|ػ~RLu2>۔(-L9t|T}[nnf%.hwŖhuOM:KNQ;64(.F%kyFNE^7JGz"~-#zf}fhe#ges7>o6:aij5/#t9aWelf.?.l3ujqRm6x[qq̀oQ-( x
@OW6eYiBUy:zW	l<*&lS1Πt&#F3nsn3;oWf8?Ɠ"BO*'|i b-Iq"c4mΎ\ą_qawX%'SGk;o#0Ө@
moNb|TJs'}ܨ⧯CrĠz_دB+>>ź.|G+{bg5BLD6:R<%fM_Qo{c hP=@$JM	u^Q0j"~^Ù7-=s/Bm@es֞6hOu
~\]G-߲(4lAUu${up^S_2ے﷧)רr6%s''T'犣Ej1	Youqh|th'/$e--${Ϻ]c\/=]
zH|g<6E%6mn%pMBB 2^>y|ze:<iqC#u10t8BOD#ŀNΨmo$)wؖӧ+U=%4&{Ǳ_1{XyئN">Izu#T8ڒg=.$m&'^ԭ~DE<967QvCJSÑ;E_|ys
<abh?eF^	X)Ĥ*2+ȭ>o];z<~+W>pފ{}4;Qr\<2Y@T&FjrB󉾡@듔CUn9p0͏)+P:#p3\6@9KU0?ֻcPlrd^]o}p"N+n_y)&peKarGQV |;ʎDbV zxΨd2Px C"g򩆭o[Pk0(b fzyxVF
_vrB2OTpcCٞH\Xe/ÆlK?XxʗpY)Kiw0NKD`wh<{Q#ګC8^\'Yވ<PAH[SM(U9v7!pUֶYvj~oZzpT<LQLS?B}q^\ VhcLFLcPMd7cӄA"g3xn	Z<9jkşтN槠5#=q+=gG^eNp:wr%{8chb T%GL![HE	jŀ:JmNio

NU%v<"cpuqs/ 
.pmolApplet0.jhr$ and
 0J.lApp!  q:+0JlS%-gklfy).jir	"l Jappet }s divided uԡBntom617H;/*=(+*#6s5M.)"/hls#~o theq\unction, 
	wo that if0a1ge \p%nv4qoquirebYomponent, thht compone~t( 
f[J	 A<$`fqg*from kNserver. It ib still reso,uodeRGO@D E%Y*mn4IgolAppf_
*.jar files vn your sebv3!ev
GFMZD RK D%8d"	the csJXilities provIded by so}e.!th
RF@DLZpFumn Jmgl`DTÓ@4eot-alCow users tobesRNL@D+	RVA	[Mbfq[m$ A
]
4e#*The(swU+Z[tue 1ble\ is equivala)toOJJHA:
n\NAarpZ!E	ZC 9$k&is tae)og tnt will be used by default if you use 
	Jmol.js. For that, use the simplest form of jmolInitialize(), just 
	indicating the folder containing the set of jar files:
		jmolInitialize("folder-containing-jar-files")
	for example,
		jmolInitialize(".")  
			(if jar files are in the same folder as the web page)
		jmolInitialize("../jmol") 
			(if jar files are in a parallel folder, named 'jmol')
  
- JmolAppletSigned0.jar  and
  JmolAppletSigned0(severalSuffixes).jar
	  The signed version of the split applet. This version allows the user 
	to access files anywhere on the computer and from any location on the web. 
	Typically, users get a message asking if they want to accept the certificate 
	for **each** of the (currently 16) loadable jar files. For this reason, this 
	version may not be of general use.
	  The set of these files is equivalent to the single JmolAppletSigned.jar.
	  To use this with Jmol.js, use either:
	a) jmolInitialize("folder-containing-jar-files", true)
	or
	b) jmolInitialize("folder-containing-jar-files", "JmolAppletSigned0.jar")

---------------------------
Given the descriptions, you will realize that the distribution package contains 
4 full copies of the applet (signed or unsigned, split or not).
---------------------------
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             