function tabpage(str){
	for (i=1;i<=2;i++){
		document.getElementById('tabpage'+i).style.display="none";
		document.getElementById('tab'+i).className="";
	}
	document.getElementById('tabpage'+str).style.display="block";
}
function tabpane(){
	for (i=1;i<=2;i++){
		document.getElementById('tab'+i).onmouseover=function(e) {
			tabpage(this.id.charAt(3));
			this.className=this.id+'current';
		}
		document.getElementById('tab'+i).onfocus=function(e) {
			tabpage(this.id.charAt(3));
			this.className=this.id+'current';
		}
	}
}
function rtn(){
	return;
	}
if (window.onload != null ) {
  var oldOnload = window.onload;
  window.onload = function ( e ) {
			oldOnload( e );
			tabpane();
};
}else {
	window.onload = tabpane;
}