// JavaScript Document 12/04/07 12
var tyR = 'u';
var tyL = 'd';
var tyPg = 1;

function change(dir) {
	if (dir == 'd') {
		--tyPg;
		if (tyPg == 0) { tyPg=12; }
	} else {
		++tyPg; 
		if (tyPg == 13) { tyPg=1; }
	}
	var tySrc = 'images/Guanxi_Web/Guanxi_p0' + tyPg + '.jpg';
	if (tyPg > 9) { tySrc = 'images/Guanxi_Web/Guanxi_p' + tyPg + '.jpg'; }
	document.getElementById('currentpage').src=tySrc;
	document.getElementById('currentpage').alt='Current Issue Page ' + tyPg;
	document.getElementById('pagenum').value=tyPg;
}
function showissue(issue) {
	document.getElementById('details').style.display="block";
}	
