var currentTab = null;
var currentTabId = null;
function tab_change(obj){
	var d = window.document;
	var str = obj.href;
	str = str.substring(str.indexOf('#')+1,str.length);
	if(currentTabId != obj.id){
		d.getElementById(str+"_inner").style.display = "block";
		d.getElementById(obj.id).style.backgroundPosition = "0px -28px";
		if(currentTab != null){
			d.getElementById(currentTab+"_inner").style.display = "none";
			d.getElementById(currentTabId).style.backgroundPosition = "0px 0px";
		}
		currentTab = str;
		currentTabId = obj.id;
	}
}
function tab_onload(){
	tab_change(document.getElementById("tab_01"));
}
try{
	window.addEventListener("load",function(){tab_onload();},false);
}
catch(e){
	window.attachEvent("onload",function(){tab_onload();});
}

