<!--
	// Pre-Load the images
        var image1 = new Image();
        image1.src = "images/mushroom-dir.jpg";
        var image2 = new Image();
        image2.src = "images/RLsmall.jpg";
        var image3 = new Image();
        image3.src = "images/bird.jpg"
        var image4 = new Image();
        image4.src = "images/limacon.jpg";
        var image5 = new Image();
        image5.src = "images/NSOM1small.jpg";
        var image6 = new Image();
        image6.src = "images/UVlaser.jpg";
        var image7 = new Image();
        image7.src = "images/spattemp.jpg";
        var image8 = new Image();
        image8.src = "images/biomimb.jpg";
        var image9 = new Image();
        image9.src = "images/nanolaser_small.jpg";

        var imagecount = 9;

        // Slideshow
        var pic = 1;
        var currentpic = 1;

        function slideshow() {
        	if (document.images == "false")
                	return
		if (document.all){
      			document.images.slidepic.style.filter="blendTrans(duration=0)"
			document.images.slidepic.style.filter="blendTrans(duration=1)"
      			document.images.slidepic.filters.blendTrans.Apply()
		}			
                document.slidepic.src = eval("image"+ pic +".src")
		if (document.all){
			document.images.slidepic.filters.blendTrans.Play()
		}
                currentpic = pic;

		document.getElementById("SSText").innerHTML = getText();

                if (pic < imagecount) {
	                pic++
                } else {
                        pic = 1
                }
                setTimeout("slideshow()",20000) //<!-- new:10000 old:13000 -->
	}


	function getLink() {
		var retVal="unknkown image";
		var rt1 = "<a href='project1.htm#microlasers'>";
		var rt2 = "<a href='project2.htm#randomlasers'>";
		var rt3 = "<a href='project3.htm#structuralcolor'>";
		var rt4 = "<a href='project1.htm#microlasers'>";
		var rt5 = "<a href='project1.htm#nanoplasmonics'>";
		var rt6 = "<a href='project2.htm#uvpc'>";
		var rt7 = "<a href='project2.htm#transport'>";
		var rt8 = "<a href='project3.htm#biomimetics'>";
		var rt9 = "<a href='project1.htm#nanolasers'>";
		retVal=eval("rt"+pic);
	        return retVal;
	}

	function getText() {
		var retVal="unknown image";
		var rt1 = "<br><b><a href='project1.htm#microlasers'> Micro lasers </a></b><br><br>" +
" An optical mushroom cavity.<br><br>"+
" Directional emission of light is obtained from a mushroom shaped microcavity where the differential trick is to let the light escape the "+
		    "cavity but subsequently re-enter in order to focus it to specific directions.";
		var rt2 = "<br><b><a href='project2.htm#randomlasers'> Random lasers </a></b><br><br>" +
" A micro random laser.<br><br>"+
		    " Scanning electron microscope image of a micron-sized cluster of ~ 10,000 ZnO nanoparticles. Optical excitation of ZnO nanoparticles leads to lasing in the cluster.";
		var rt3 = "<br><b><a href='project3.htm#structuralcolor'>Structural color</a></b><br><br>" +
		    //" Male Plum-throated Cotinga (Cotinga maynana, Cotingidae).<br><br>"+
" Male Eastern Bluebird (Sialia sialis, Turdidae).<br><br>"+
		    " Channel-type beta-keratin and air nanostructure from back contour feather barbs of S. sialis."+
		    " Photo credits: Ken Thomas (image in the public domain).";
		var rt4 = "<br><b><a href='project1.htm#microlasers'> Micro lasers </a></b><br><br>" +
" A chaotic microcavity laser with a high quality factor and directional output.<br><br>"+
		    " A scanning electron micrograph of a GaAs microdisk whose shape is described by the limacon of Pascal. Although the intracavity ray dynamics is predominantly chaotic, it produces universal directionality of all lasing modes.";
		var rt5 = "<br><b><a href='project1.htm#nanoplasmonics'> Nanoplasmonics </a></b><br><br>" +
" Spatial distribution of electromagnetic field intensity across metal-dielectric nanocompsites measured by a near-field scanning optical microscope. The hot spots show strong"+
		    " localization of surface plasmons.";
		var rt6 = "<b><a href='project2.htm#uvpc'> UV Photonic Crystal Light Sources </a></b><br><br>" +
" The first UV photonic crystal laser.<br><br>"+
		    " Top-view scanning electron micrograph of a triangular lattice of air holes in a ZnO slab, fabricated by focused ion beam etching. The lattice constant is 130 nm and the air cylinder radius is 33 nm. Inset: Structural Fourier transform reveals the long-range periodicity in the six maxima at the positions corresponding to the perfect lattice.";
		var rt7 = "<br><b><a href='project2.htm#transport'> Mesoscopic transport of photons </a></b><br><br>" +
" A spectral-temporal image of laser emission from ZnO powder.<br><br>"+
		    " The temporal shifts of lasing frequencies result from dynamic change of the refractive index of ZnO due to the third-order optical nonlinearity.";
		var rt8 = "<br><b><a href='project3.htm#biomimetics'>Biomimetics</a></b><br><br>" +
"Scanning electron micrograph of the top layer of the film showing there is no long range order.<br><br>" +
" Biomimetic films display structural color."+
		    " Sphere-type beta-keratin and air nanostructure from back contour feather barbs of C. maynana.";
		    //		    " Photo credits: Thomas Valqui (reproduced with permission).";
		var rt9 = "<b><a href='project1.htm#nanolasers'> Nano lasers </a></b><br><br>" +
" A subwavelength all-dielectric laser.<br><br>"+
" Tilt-view scanning electron microscope image of a GaAs disk on top of an AlGaAs pedestal. The disk diameter is 627 nm and the"+
" disk thickness is 265 nm. InAs quantum wells embedded in the GaAs disk provides optical gain for lasing under optical pumping. The"+
		    " laser emission wavelength (in vacuum) is 870 nm.";
		retVal=eval("rt"+pic);
	        return retVal;
	}

        slideshow();

//-->

