var curcon=1;
$(document).ready(function(){
var limglength=$('.lslidethis').length;
$('#count').html(curcon+'/'+limglength);
setInterval('showit()', slidetime);
$('.next').click(function(){
	$('#'+curcon+'sld').fadeOut('slow');
	if(curcon==limglength)
	curcon=1;
	else
	curcon++;
	$('#'+curcon+'sld').fadeIn('slow');
	$('#count').html(curcon+'/'+limglength);
	
});
$('.prev').click(function(){
	$('#'+curcon+'sld').fadeOut('slow');
	if(curcon==1)
	curcon=limglength;
	else
	curcon--;
	$('#'+curcon+'sld').fadeIn('slow');
	$('#count').html(curcon+'/'+limglength);
	
});
});
function showit()
{
	var limglength=$('.lslidethis').length;
	$('#'+curcon+'sld').fadeOut('slow');
	if(curcon==limglength)
	curcon=1;
	else
	curcon++;
	$('#'+curcon+'sld').fadeIn('slow');
	$('#count').html(curcon+'/'+limglength);
	
}

