//var isIE = (BrowserDetect.browser == "Explorer") ? true : false;
window.onload = function () {
	for(var ii=0;ii < arguments.callee.actions.length;ii++){
		if(typeof arguments.callee.actions[ii] === "function"){
			arguments.callee.actions[ii]();
		}		
	}
};
window.onload.actions = Array();
function clearmsg(){
	try{
		var Error = document.getElementById('error') || undefined;
		var Message = document.getElementById('message') || undefined;
		if(Message !== undefined)setTimeout(function(){Message.innerHTML = '';}, 1500);
		if(Error !== undefined)setTimeout(function(){Error.innerHTML = '';}, 1500);
	}catch(e){}
}
function addLoadEvent(func){
	window.onload.actions.push(func);
}
addLoadEvent(clearmsg)