// JavaScript Document
function show_bb()
	{
	var name = "burning_box_content";
	document.getElementById(name).style.display = "block";
	}
	
function hide_bb()
	{
	var name = "burning_box_content";
	document.getElementById(name).style.display = "none";
	}
	
function show_pro(id,id2)
	{
	document.getElementById(id).style.display = "block";
	
	if(id2 != "")
	
	document.getElementById(id2).style.display = "block";
	}
	
function hide_pro(id,id2)
	{
	document.getElementById(id).style.display = "none";
	
	if(id2 != "")
	
	document.getElementById(id2).style.display = "none";
	}
	
function switch_image(id,src,url,tb,rl)
	{
	var id_pic = "pic"+id;
	var id_url = "url"+id;
	
	document.getElementById(id_pic).src = src;
	document.getElementById(id_pic).style.marginTop = tb;
	document.getElementById(id_pic).style.marginBottom = tb;
	document.getElementById(id_pic).style.marginLeft = rl;
	document.getElementById(id_pic).style.marginRight = rl;
	document.getElementById(id_url).href = url;	
	}
	
function sw_border(id)
	{
	document.getElementById(id).style.borderColor = "#000000";
	document.getElementById(id).style.borderWidth = "1px";
	}
	
function rs_border(id)
	{
	document.getElementById(id).style.borderColor = "#FFFFFF";
	document.getElementById(id).style.borderWidth = "1px";
	}
	
function set_val(id, val)
	{
	document.getElementById(id).value = val;
	document.forms["item_form"].submit();
	}
