//============================================================
//  displayDate
//============================================================

    function displayDate(){
	var this_month = new Array(12);
      	this_month[0]  = "January";
      	this_month[1]  = "February";
      	this_month[2]  = "March";
      	this_month[3]  = "April";
      	this_month[4]  = "May";
      	this_month[5]  = "June";
      	this_month[6]  = "July";
      	this_month[7]  = "August";
      	this_month[8]  = "September";
      	this_month[9]  = "October";
      	this_month[10] = "November";
      	this_month[11] = "December";
      	var today = new Date();
      	var day   = today.getDate();
      	var month = today.getMonth();
      	var year  = today.getYear();
      	if (year < 1900){
           year += 1900;
      	}
      	return(day+" "+this_month[month]+" " +year);
    }



//==============================================================
//  quickjump
//
//  Store URLs in an array. These must match the elements in the
//  pulldown. In this example, the first element is the pulldown
//  says 'Select a URL', thus pageSelect_URLs[0] contains an empty
//  string. Note in this case that the name of the URL array
//  is mapped to that of the Menu. This is assumed in the
//  function below.
//==============================================================


    var pageSelect_URLs = new Array();
    pageSelect_URLs[0] = "http://www.adventusasia.com/home.php";
    pageSelect_URLs[1] = "http://www.adventusasia.com/products/printers-colour.php";
    pageSelect_URLs[2] = "http://www.adventusasia.com/products/printers-mono.php";
    pageSelect_URLs[3] = "http://www.adventusasia.com/products/mfp-colour.php";
    pageSelect_URLs[4] = "http://www.adventusasia.com/products/mfp-mono.php";

    pageSelect_URLs[5] = "http://www.adventusasia.com/services/printmanage.php";
    pageSelect_URLs[6] = "http://www.adventusasia.com/services/payperuse.php";

    pageSelect_URLs[7] = "http://www.adventusasia.com/career/insideadventus.php";
    pageSelect_URLs[8] = "http://www.adventusasia.com/career/opportunities.php";


    //-----------------------------------------------------------
    //  Function to jump to a URL in a <select> menu
    //  In this case, the name of the array containing the URLs
    //  is determined based on the name of the pulldown menu.
    //-----------------------------------------------------------

    function jumpToURL(formName,menuName) {
    	var obj = eval("document." + formName + "." + menuName);
    	var index = obj.selectedIndex;
    	var url = eval(menuName + "_URLs[" + index + "]");
    	if (url != "") {
	    location.href=url;
    	}
    }