﻿document.writeln('');
document.writeln('');
window.onload = function(){document.getElementById("f1").focus();}
function bookmarkit(){
	try{
	if ((typeof window.sidebar == 'object') && (typeof window.sidebar.addPanel == 'function'))
		{ 
		window.sidebar.addPanel('美术高考','http://www.mshao.com','mshao'); 
		} 
	else
		{ 
		window.external.AddFavorite('http://www.mshao.com','mshao'); 
		} 
	}catch(e){}
	return false;
}

var stabid=0;
function setsrch(c){
for(i=0;i<4;i++){document.getElementById("stab"+i).className = "";}
c.className = "cur";
if(c.id=="stab0")
{document.srchfrm.action="http://www.mshao.com";stabid=0;}
if(c.id=="stab1"){document.srchfrm.action="http://www.mshao.com";stabid=1;}
if(c.id=="stab2"){document.srchfrm.action="http://www.mshao.com/";stabid=2;}
if(c.id=="stab3"){document.srchfrm.action="http://www.mshao.com/";stabid=3;}
}

function searchsubmit(){
  if(stabid==3){
    if (document.srchfrm.q)
    {
        var baseUrl = 'www.mshao.com='+encodeURI(document.srchfrm.q.value);
        window.open(baseUrl);
        return false;
    }
  }
  return true;
}

function encodeq(){if(stabid==2){document.srchfrm.q.value=encodeURIComponent(document.srchfrm.q.value);}}

function tabit(btn){
	var idname = new String(btn.id);
	var s = idname.indexOf("_");
	var e = idname.lastIndexOf("_")+1;
	var tabName = idname.substr(0, s);
	var id = parseInt(idname.substr(e, 1));
	var tabNumber = btn.parentNode.childNodes.length;
	for(i=0;i<tabNumber;i++){
			document.getElementById(tabName+"_div_"+i).style.display = "none";
			document.getElementById(tabName+"_btn_"+i).className = "";
		};
		document.getElementById(tabName+"_div_"+id).style.display = "block";
		btn.className = "curr";
};