function slide1() {
	// configuration structure
	var A_TPL1 = {
		// randomize the array each time page loads
		'random' : false,
		// number of transparency changes during the transition
		//	increase for smoother transition, reduce for less CPU usage
		'steps' : 20,
		// transition duration in seconds
		'transtime': .5,
		// slide time in seconds
		'slidetime': 3,
		// width of the slide (optional)
		'width' : 150,
		// height of the slide (optional)
		'height': 220,
		// alt text for the image (optional)
		'alt' : '',
		// css class assigned to the slide <img> (optional)
		'css' : ''
	};

	// list of images to display
	var A_ITEMS1 = [
		'slide/tarheelsp-johnston1.jpg',
		'slide/tarheelsp-johnston2.jpg',
		'slide/tarheelsp1.jpg'
	];

	// fader initialization	
	var mySlideShow1 = new tFader (A_ITEMS1, A_TPL1);
}

function check(intval){

var myslide = new Array();
myslide[0] = new Array('slide/Johnston1.jpg',
		'slide/Johnston2.jpg',
		'');

thisSlide=window.A_SLIDES[intval].n_currentSlide;

//alert("slideshow" + intval + " -> " + myslide[intval][thisSlide]);

if(myslide[intval][thisSlide] != '') {
    window_handle = window.open(myslide[intval][thisSlide],'gr');
    window_handle.focus();
}

}

function rndSponsor() {
	document.write('<div style="width:150px; height:220px">');
	slide1();
	document.write('</div>');
}
