// get the browser name
var browser = navigator.appName;

// get the browser description
var description = navigator.userAgent;

 // assign the current time string to the div
	document.write(browser + "\n\n" + description);