<!--
function shower()
{
	var myword="qpe_";
	myword = myword + document.secondchoice.monthz.value;
	myword = myword + document.thirdchoice.dayz.value;
	myword = myword + document.fourthchoice.yearz.value + ".gif?100";
	document.getElementById("imager").innerHTML = "<img src='" + myword + "' onError='imager()'>";
}

function imager()
{
	document.getElementById("imager").innerHTML = "<div align='center'><font color='#0000FF' size='+7'><strong><em>IMAGE ZONE</em></strong></font></div><br><div align='center'><font color='#000000' size='4'><strong><em>(Not available)</em></strong></font></div>"
}

function nexter()
{

	var mydate = new Date();
	// grasping the date from the list boxes
	mydate.setUTCDate(document.thirdchoice.dayz.value/1);
	mydate.setUTCMonth(document.secondchoice.monthz.value/1 - 1);
	mydate.setUTCFullYear(document.fourthchoice.yearz.value);
	
	// increase the date
	mydate.setUTCDate(document.thirdchoice.dayz.value/1 + 1);
	document.thirdchoice.dayz.selectedIndex = mydate.getUTCDate()-1;
	document.secondchoice.monthz.selectedIndex = mydate.getUTCMonth();
	shower();	
}


function previouser()
{

	var mydate = new Date();
	// grasping the date from the list boxes
	mydate.setUTCDate(document.thirdchoice.dayz.value/1);
	mydate.setUTCMonth(document.secondchoice.monthz.value/1 - 1);
	mydate.setUTCFullYear(document.fourthchoice.yearz.value);
	
	// decrease the date
	mydate.setUTCDate(document.thirdchoice.dayz.value/1 - 1);
	document.thirdchoice.dayz.selectedIndex = mydate.getUTCDate()-1;
	document.secondchoice.monthz.selectedIndex = mydate.getUTCMonth();	
	shower();
}

function seteverythingfortoday()
{
	var mydate = new Date((new Date().getTime()) -24 * 60 * 60 * 1000);
	var myyear = mydate.getYear();
	var mymonth = mydate.getMonth();
	var myday = mydate.getDate();
	var extrayear = myyear + ""
	extrayear = parseInt(extrayear.substring(2,4))
	//alert (extrayear);
	document.thirdchoice.dayz.selectedIndex = myday-1;
	document.secondchoice.monthz.selectedIndex = mymonth;
	document.fourthchoice.yearz.selectedIndex = extrayear-1;
	shower();
}


 -->
