function initPage()
{
	var btn_join = document.getElementById("btn-join");
	if(btn_join)
	{
		btn_join.onmouseover = function() {
			this.className += " hover";
		}
		btn_join.onmouseout = function() {
			this.className = "join";
		}
	}	
	var btn_search = document.getElementById("btn-search");
	if(btn_search)
	{
		btn_search.onmouseover = function() {
			this.className += " hover";
		}
		btn_search.onmouseout = function() {
			this.className = "search-btn";
		}
	}
	var btn_post = document.getElementById("btn-post");
		if(btn_post)
		{
			btn_post.onmouseover = function() {
				this.className += " hover";
			}
			btn_post.onmouseout = function() {
				this.className = "post-btn";
			}
		}
}
if (window.addEventListener)
	window.addEventListener("load", initPage, false);
else if (window.attachEvent)
	window.attachEvent("onload", initPage);
