// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
function makeLicense()
{
	var lic;
	if (license == '')
		lic = noLicense;
	else if (license == "ccansa3")
		lic = make_ccansa3();

	return lic;
}

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

var noLicense =

			'<font color="red"><big>Author: Please specify a license, ' +
			'copyright holder, etc. in js4all/license.js.</big></font>';

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
var educatorInfo =

'You are encouraged to link to this Tutorial, for which permission is \
not required. Educators using this Tutorial in teaching are asked \
to let the author know by email ('

+ copyrightHolderEmail +

').<br> \
';

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

var sourceFromAuthor =
'Copies of this Tutorial are available on request from the author, \
should you wish to put it on your own server, or modify the content. \
';

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

var madeWithJTAT =

'This Tutorial was made with the \
<a href="http://bioinformatics.org/jmol-tutorials/wiki" \
target="_blank">Jmol Tutorial-Authoring Template (JTAT)</a> \
';

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
function make_ccansa3()
{
	var lic = "<hr noshade>";

	lic += educatorInfo + madeWithJTAT +

'<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/" \
target="_blank"> \
<img alt="Creative Commons License" style="border-width:0" \
src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" \
align="left" hspace="6"/> \
</a> \
<br /> \
<span xmlns:dc="http://purl.org/dc/elements/1.1/" \
href="http://purl.org/dc/dcmitype/InteractiveResource" \
property="dc:title" rel="dc:type">This Tutorial</span> \
is copyright &copy; '

+ copyrightYear +

' by <a xmlns:cc="http://creativecommons.org/ns#" \
href="http://www.umass.edu/molvis/martz" property="cc:attributionName" \
rel="cc:attributionURL" target="_blank">Eric Martz</a>, and is licensed under a  \
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/" \
target="_blank">Creative Commons Attribution-Noncommercial-Share \
Alike 3.0 License</a>. \
';

	lic += sourceFromAuthor;

	return lic;
}

// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
