These instructions are based on using the following programs:
The procedure is as follows:
rwb97xd/6-311g(d,p) pop(nbo,SaveNBOs)(this presumes the geometry has already been properly optimised)
./cubegen 0 MO=41 dichloropyran.fchk dcp-41.cub 0 ./cubegen 0 MO=35 dichloropyran.fchk dcp-35.cub 0
<body>
<script type="text/javascript">
//<![CDATA[
jmolInitialize(".","JmolAppletSigned.jar")
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
jmolApplet(800,'isosurface ch2 cutoff +0.02 color red sign "dcp-35.cub";color isosurface translucent;color background white;write isosurface @{"/Users/rzepa/documents/conformational-analysis/conf/dcp-35.jvxl"};')
//]]>
</script>
<body>
<script type="text/javascript">
//<![CDATA[
jmolInitialize(".","JmolAppletSigned0.jar")
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
jmolSetAppletColor("yellow");
jmolApplet([250,380],'load "dcp-35.jvxl";isosurface "" translucent;set fontscaling TRUE; font label 18;select atomno=11;color black;label %A O Lp orbital;','cs')
//]]>
</script>