/****************************************************
Slide Show Functions
Note: 
1. var sldpath is defined in respective HTM file: Path to Slide files (.GIFs)
    eg. images/msapps o images/spcpps
2. var max is defined in respective HTM file: No of slides (17 slides: max=16: 0 to 16)
3. var index is defined in respective HTM file: =0
3. Slides are names should ALWAYS be: slideNN.gif where NN is the number
4. Slides for different products to be kept in separate folders under 'images'

show() : call on Body_onLoad
first(): Go to Slide1: index=0
back(): Go to pevious slide
next(): Go to next slide
last(): Go to last slide: index=max
*****************************************************/

function show() {
	var asrc=	sldpath + "slide" + (index+1) + ".gif";
	document.slide.src=asrc;

	}
function first() {index=0;show()}
function back() {index--;if (index<0) {index=0};show()}
function next() {index++;if (index>max) {index=max};show()}
function last(){index=max;show()}
/************************************************************/