function previewImage(id,type)
{
	var imageBox = document.getElementById("screen_zoom");
	var imageInfo = document.getElementById("screen_info");
	var aprsText = new Array();
	var mapedText = new Array();
	
	aprsText[0] = 'The main APRS/CE display, showing stations and relevant information about them (speed/direction of travel or wind) on a map.';
	aprsText[1] = 'A closer view of the same map, showing a mobile station and a weather station.';
	aprsText[2] = 'A tap (or click) on a station\'s icon will bring up a menu, letting the user pick which station they want to see more information about.';
	aprsText[3] = 'The station information popup, showing weather information at a weather station.';
	aprsText[4] = 'The station information popup, showing information about an APRS/CE station.';
	aprsText[5] = 'The station listing window, allowing the user to list all stations, filter by name or status, sort by different fields, and send messages.';
	aprsText[6] = 'The message listing window, allowing the user to view messages, filter by callsign, check issued bulletins, etc.';
	
	mapedText[0] = 'A WinAPRS map has been loaded, and a line has been selected for editing (the black selection boxes are shown).';
	mapedText[1] = 'A PocketAPRS map has been loaded and several labels have been selected for editing.';
	mapedText[2] = 'TIGER/Line data for Forsyth County (FIPS code 37067) has been imported and is ready for editing.';
	mapedText[3] = 'A closeup of the TIGER/Line data for Forsyth County.';
	mapedText[4] = 'The label properties popup window.';
	mapedText[5] = 'The vector (line/polygon) properties popup window.';
			
	if (type == 1)
	{
		imageBox.innerHTML = '<img src="screenshots/aprsce' + id + '.jpg" alt=""/>';
		imageInfo.innerHTML = '<p>' + aprsText[id-1] + '</p>';
	}
	else 
	{
		imageBox.innerHTML = '<img src="screenshots/maped' + id + '.jpg" alt=""/>';
		imageInfo.innerHTML = '<p>' + mapedText[id-1] + '</p>';
	}
}

function showOrHide(id)
{
	var question = document.getElementById(id);
	
	if (question.style.display == 'none')
	{
		question.style.display = 'block';
	}
	else
	{
		question.style.display = 'none';
	}
}
