 
	/****************************
	 * Slide-show style display *
	 ****************************/ 
	 
	var picArray = new Array ("images/kal/0heartk2.gif",
								"images/kal/1heartblk.gif",
								"images/kal/2verystraw.gif",
								"images/kal/3grrlz.gif",
								"images/kal/4july.gif");
	
	var textArray = new Array ();
		textArray[0] = "<span CLASS='boldMP'>Hearts! for K2<\/span> (8/2/98)<\/br>"
						+"updated to 1.1 (9/17/98)<\/br>"
						+"It seems to be almost the same Hearts scheme I made for kal 1.5"
						+" more than an year ago, but it is not even the same K1 scheme" 
						+" with a customized cursor and desktop pic."
      					+" It <em>is<\/em> true K2 scheme ! (but it's bit buggy...)";
		
		textArray[1] = "<span CLASS='boldMP'>Hearts! in Black<\/span> (8/6/98)<\/br>"
						+"updated to 1.1 (9/17/98)<\/br>"
					   	+"This is the alternative, black version of Hearts! for K2."
					    +"  Most icons are same as you see in Hearts! original.";
   
		textArray[2] = "<SPAN CLASS='boldMP'>Very Strawberry<\/SPAN> (9/17/98)<\/br>"
						+"I used the same icons used in Hearts! and picked strawberry"
      					+" images from IHOP scheme I made long time ago... but now, this scheme"
      					+" looks pretty new and original, doesn't it?";
		
		textArray[3] = "<SPAN CLASS='boldMP'>Grrlz!<\/SPAN> (10/6/98)<\/br>"
						+"Updated (12/6/98)<\/br>"
						+"I was pretty focused on making it so it took only"
      					+" a few days to complete! In this scheme, a girl is peeping at the"
      					+" side of each window. You can call it a silly scheme, but I personally"
      					+" believe this is the girlie virsion of <em>Scherzo!<\/em> by Arlo Rose."
      					+" It's alright even if you don't agree with me!";
      	
      	textArray[4] = "<SPAN CLASS='boldMP'>4th of July<\/SPAN> (7/1/99)<\/br>"
						+"I barely made it on time... or maybe not. I guess by the time you download this,"
						+" it is already too late... Anyway, 4th of July comes every year."
						+"<BR>(updated news- I was in a terrible heat in NYC on the day."
						+" I lost so much sweat and my shirt was totally soaked. This year's independence day wasn't really nice...)";
	var index = 0;

	function goPrev() {
	    if (document.images && index >0) { 
	        index --;  
	    }
	    else  { //when the current one is the first pic, go to the last one.
	         index = picArray.length-1;   
	    }
    	document.currentPic.src = picArray [index] ;
       	document.getElementById("description").innerHTML = textArray [index];
	} 

	function goNext() {
	    if (document.images && index < (picArray.length-1)) {
	       	index ++;
	    }
	    else  { //when hit the last pic, come back to the first one.   
	    	index = 0;
	    }			
	    document.currentPic.src = picArray [index];
	    document.getElementById("description").innerHTML = textArray [index];
	}
	
	function chooseOne(num) {
		if (document.images)
			document.currentPic.src = picArray [num];
	       	document.getElementById("description").innerHTML = textArray [num];
			index = num;
	}
	
	function downloadOne() {
		status=index;
		switch (index) {
			case 0: 
				document.location.href = "dl/kal/k2_heart.sit";
				break;
			case 1: 
				document.location.href = "dl/kal/k2_black.sit";
				break;
			case 2: 
				document.location.href = "dl/kal/k2_straw.sit";
				break;
			case 3: 
				document.location.href = "dl/kal/k2_grrlz.sit";
				break;
			case 4: 
				document.location.href = "dl/kal/k2_july.sit";
				break;
		}
	}
