// JavaScript Document
<!--
function countDown(object){
	var count = parseInt(document.getElementById(object).innerHTML);
	if(count > 0){
		document.getElementById(object).innerHTML = count - 1; 
		window.setTimeout("countDown('" + object + "')", 1000);
	}
	else{
		window.location.href = "/";
	}
}

function change_tab(id_tab, num_data, arrId, arrClass, id_show, id_data){
	for(i=0; i<num_data; i++){
		for(j=0; j<arrId.length; j++){
			document.getElementById(arrId[j] + i).className = "";
		}
	}
	for(i=0; i<arrId.length; i++){
		document.getElementById(arrId[i] + id_tab).className = arrClass[i];
	}
	if(id_show != "" && id_data != ""){
		document.getElementById(id_show).innerHTML = document.getElementById(id_data).innerHTML;
	}
}

function save_cookie(cookie_name, cookie_value){
	document.cookie = cookie_name + "=" + cookie_value;
}

function show_faq(id, ob){
	object = document.getElementById(id);
	if(object.style.display == "none"){
		object.style.display = "block";
		ob.className = "faq_question_show";
	}
	else{
		object.style.display = "none";
		ob.className = "faq_question_hide";
	}
}
-->
