
// Run on load

if (window.addEventListener) // Firefox
 {
    window.addEventListener('load', DidYouKnow, false);;
 } 
 else if (window.attachEvent) // IE
 {   
    window['onload'] = DidYouKnow;
 } 

function DidYouKnow() {
var tempD=document.getElementById("didyouknowrand");
 if (tempD) 
{
var howMany = 25
var fact = new Array(howMany+1)
fact[0] = "Accounts Payable reimburses employees for authorized travel expenses. "fact[1] = "The Property Office maintains a 2-year physical inventory cycle."fact[2] = "Shipping & Receiving expedites your purchase orders and delivers products to you. "fact[3] = "The Campus Copier Program (CCP) monitors and negotiates copier costs for the entire campus.  "fact[4] = "Employees can have travel reimbursements deposited directly into their bank accounts."fact[5] = "Mail Services processes more than 18,000 pieces of mail every day."fact[6] = "Accounts Payable processes approximately 3,000 invoices every month."fact[7] = "The Property Office tags University and Foundation donated property."fact[8] = "Shipping & Receiving delivers an average of 600 packages every day."fact[9] = "Employees can have personal reimbursements deposited directly into their bank accounts."fact[10] = "The Property Office maintains inventory records and adds financial data to the asset management system."fact[11] = "We advise all departments to open their delivered parcels immediately to verify that quantities are correct and that content condition is acceptable. "fact[12] = "There are a total of 5 departments in Procurement & Support Services."fact[13] = "Sales tax is added to all invoices of tangible goods."fact[14] = "Shipping & Receiving can assist you with your heavy shipments. We have trailers and forklifts to transport your oversized shipments to our loading dock."fact[15] = "Accounts Payable processes nonresident alien taxes."fact[16] = "The Property Office surveys and disposes of surplus property."fact[17] = "You can use UPS CampusShip, a web-based shipping system, to ship parcels and letters directly from your desk. "fact[18] = "Purchasing negotiates with vendors to obtain the best value at the lowest possible price. "fact[19] = "Accounts Payable administers the ProCard program."fact[20] = "If you did not order it and don’t want it, do not open the parcel or the carrier will not accept your return."fact[21] = "The Campus Copier Program (CCP) insures that our copy machines provide the highest standards of service at the lowest cost possible."fact[22] = "Travel Consultants is the campus approved travel agency."fact[23] = "Prior to contacting Shipping & Receiving for delivery status, contact the shipper for a tracking number. We need this tracking number to expedite your request for delivery status."fact[24] = "SJSU can pay vendors by check, wire transfer, or credit card."fact[25] = "Purchasing administers Employee/Student Reimbursements."

var rand=Math.floor(fact.length*Math.random());
var randfact = fact[rand];
tempD.innerHTML=randfact;
 }
}

