function open_window(url){
    popup=window.open(url);
}
function url_jump(purl,tname) {
    page_url = purl
    target_name = tname;
    setTimeout('window.open(page_url,target_name)',3000);
}
function addBookmark(url,title) {
	if (window.sidebar) {
	window.sidebar.addPanel(title, url,"");
	} else if( document.all ) {
	window.external.AddFavorite( url, title);
	} else if( window.opera && window.print ) {
	return true;
	}
}

function disQa(el,id,allcnt) {
	closeQa(el,allcnt);
	document.getElementById(id).style.display = 'inline';
}

function closeQa(el,allcnt) {
	var tg;
	for(i=1;i<=allcnt;i++){
		tg = el + i;
		document.getElementById(tg).style.display = 'none';
	}
}
function selOndisplay(sel) {

	for (i = 0; i < sel.options.length; i++) {
	    document.getElementById(sel.options[i].value).style.display = 'none';
	}
	var n = sel.selectedIndex;
	var value = sel.options[n].value;
	document.getElementById(value).style.display = 'inline';
	document.getElementById('1000').style.display = 'inline';

}

function disOn(id) {
	var sts = document.getElementById(id).style.display;
	if(sts == 'none'){
		document.getElementById(id).style.display = 'inline';
	}else{
		document.getElementById(id).style.display = 'none';

	}
}

