var img_logo = new Image();
img_logo.src = "images/new/index_logo.gif";
var img_logo1 = new Image();
img_logo1.src = "images/new/index_logo_ov.gif";

var globConfPass ="";

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  if (selObj.selectedIndex != 0){
    eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  	if (restore) selObj.selectedIndex=0;
  }
}
function showTab(ind){
	$gEId("tb_1").className = (ind == 1)?"tab_active":"tab_normal";
	$gEId("tb_2").className = (ind == 2)?"tab_active":"tab_normal";
	$gEId("tb_3").className = (ind == 3)?"tab_active":"tab_normal";
	$gEId("tb_4").className = (ind == 4)?"tab_active":"tab_normal";
	$gEId("tb_5").className = (ind == 5)?"tab_active":"tab_normal";
	$gEId("dv_ind_1").style.display = (ind == 1)?"":"none";
	$gEId("dv_ind_2").style.display = (ind == 2)?"":"none";
	$gEId("dv_ind_3").style.display = (ind == 3)?"":"none";
	$gEId("dv_ind_4").style.display = (ind == 4)?"":"none";
	$gEId("dv_ind_5").style.display = (ind == 5)?"":"none";
	
}
function submitTraker(path){
_uacct = "UA-289104-1";
urchinTracker(path);
}

function setTypeSerach(ind){
	if(cur_tab == ind) return;
	$gEId("sp_search_1").className = (ind == 1)?"sp_search_active":"sp_search_normal";
	$gEId("sp_search_2").className = (ind == 2)?"sp_search_active":"sp_search_normal";
	$gEId("dv_search_tab").className = (ind == 1)?"dv_search_tab1":"dv_search_tab2";
	var form = $gEId("frm_s");
	form.action= (ind == 2)?"/company/custom_product_search.cfm":"/company/company_search.cfm";
	cur_tab = ind;
}
function onFocusSearch(el){
	el.className='mSearchNoBg';
}
function onBlureSearch(el){
	if(el.value==null || el.value==''){el.className='mSearchBg';}
	else {el.className='mSearchNoBg';}
}
