/**
 * @author Michal Policht
 * @copyright 2007 Michal Policht.
 * 
 * @file common.js
 * @brief Common javascript functions.
 */

 
/*
==============
<GLOBALS>
==============
*/


/*
==============
<FUNCTIONS>
==============
*/

//class HTDocument
	function HTDocument()
	{
		this.getElementById = function(id) {
			if (document.getElementById)
				return document.getElementById(id);
			else if (document.all)
				return document.all[id];
			else
				return null;
		}
	}


/*
==============
<MAIN>
==============
*/

var htdocument = new HTDocument;

