var myIDs = new Array( 143517, 140133, 142814, 142834, 141433, 140548, 143479, 143421, 143233, 141983, 138769, 143478, 143220, 142250, 142228, 141951, 142624, 143221, 143200, 142963, 142099, 142536, 142688, 140541, 141411, 142810, 140319, 141849, 143213, 143088, 140802, 141620, 141066, 142465, 143302, 142923, 143536, 142718 );
$(document).ready(function(){
	$('.dmls-slider').load('/?dmls_nextfeat=' + myIDs.shift());
});
var mySlides = setInterval( function() {
	var thisID = myIDs.shift();
	myIDs.push(thisID); // makes the slideshow perpetual by taking from the front and adding to the end
	if( thisID >= 0 ) {
		$('.dmls-slider').load('/?dmls_nextfeat=' +  thisID);
	} else {
		// myIDs is empty so stop the slideshow
		clearInterval(mySlides);
	}
}, 7500); // 1000 = 1000 milliseconds = 1 second
