var j = 0;

function GoLink() { 
// Reminder that the numbering runs from 1 to 3 and then 0
// Insert additionals to ensure that the 0 is last on the list.
	if 	(j == 1) {
		location.href = 'printer/barcode/clp621_wristband.htm';
		
	}
	if 	(j == 2) {
		location.href = 'printer/mini-pos/cts801/index.htm';
		
	}
	if 	(j == 3) {
		location.href = 'printer/barcode/cls700.htm';
		
	}
	if 	(j == 0) {
		location.href = 'calculators/index.htm';
		
	}	
}

	var slideShowSpeed = 10000;
	var crossFadeDuration = 200;
	var t;
	// List of pictures separated by # in display order.
	var AllPic = new Array('images/toppanels/clp521-wristband.jpg#images/toppanels/cts801.jpg#images/toppanels/cls700-logistics.jpg#images/toppanels/calculator.jpg');  
		
	ss = AllPic[0].split("#");

	var Pic = new Array();

	for ( i=0 ; i< ss.length;i++){
		Pic[i] = ss[i];
	}	
	
	var p = Pic.length;
	var preLoad = new Array();
	for (i = 0; i < p; i++) 
	{
		preLoad[i] = new Image();
		preLoad[i].src = Pic[i];
	}
	
function runSlideShow()
{
	if (document.all)
	{
		document.images.SlideShow.style.filter="blendTrans(duration=2)";
		document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)";
		document.images.SlideShow.filters.blendTrans.Apply();
	}
		document.images.SlideShow.src = preLoad[j].src;
	if (document.all) 
	{
		document.images.SlideShow.filters.blendTrans.Play();
	}	
		j = j + 1;
		if (j > (p-1)) j = 0;
		t = setTimeout('runSlideShow()', slideShowSpeed);

}