function yoronparts(){

var id=yoron_sys_id;

var sw = document.yoron_sys_form.sw.value;

var i;var val="";

for (i = 0; i < document.yoron_sys_form.gb1.length; i++) {
if (document.yoron_sys_form.gb1[i].checked == true) {
val = document.yoron_sys_form.gb1[i].value;}}
var gb1 = val;

for (i = 0; i < document.yoron_sys_form.fs.length; i++) {
if (document.yoron_sys_form.fs[i].checked == true) {
val = document.yoron_sys_form.fs[i].value;}}
var fs = val;
if(val == 1){
fs = "normal";
}
if(val == 2){
fs = "x-small";
}
if( val == 3){
document.getElementById("fsshow").style.visibility="visible";
var fs = document.yoron_sys_form.fs2.value;
}else{
document.getElementById("fsshow").style.visibility="hidden";
}

var nm = encodeURI(document.yoron_sys_form.nm.value);//ƒ^ƒCƒgƒ‹

for (i = 0; i < document.yoron_sys_form.tf1.length; i++) {
if (document.yoron_sys_form.tf1[i].checked == true) {
val = document.yoron_sys_form.tf1[i].value;}}
var tf1 = val;

for (i = 0; i < document.yoron_sys_form.tf2.length; i++) {
if (document.yoron_sys_form.tf2[i].checked == true) {
val = document.yoron_sys_form.tf2[i].value;}}
var tf2 = val;

var th1 = document.yoron_sys_form.th1.value;

var th2 = document.yoron_sys_form.th2.value;

var ss1 = document.yoron_sys_form.ss1.value;

for (i = 0; i < document.yoron_sys_form.tf3.length; i++) {
if (document.yoron_sys_form.tf3[i].checked == true) {
val = document.yoron_sys_form.tf3[i].value;}}
var tf3 = val;

var ss2 = document.yoron_sys_form.ss2.value;

var lh1 = document.yoron_sys_form.lh1.value;

var lh2 = document.yoron_sys_form.lh2.value;

var cl1 = document.yoron_sys_form.cl1.value;

var cl2 = document.yoron_sys_form.cl2.value;

var cl3 = document.yoron_sys_form.cl3.value;

var ml1 = document.yoron_sys_form.ml1.value;

var ml2 = document.yoron_sys_form.ml2.value;

var ml3 = document.yoron_sys_form.ml3.value;

var ml4 = document.yoron_sys_form.ml4.value;

var gb2 = document.yoron_sys_form.gb2.value;

var gb3 = document.yoron_sys_form.gb3.value;

var gb4 = document.yoron_sys_form.gb4.value;

for (i = 0; i < document.yoron_sys_form.su1.length; i++) {
if (document.yoron_sys_form.su1[i].checked == true) {
val = document.yoron_sys_form.su1[i].value;}}
var su1 = val;

var su2 = document.yoron_sys_form.su2.value;

for (i = 0; i < document.yoron_sys_form.yl.length; i++) {
if (document.yoron_sys_form.yl[i].checked == true) {
val = document.yoron_sys_form.yl[i].value;}}
var yl = val;

docwrite();
var gw = yoron_sys_width();

var yurl="http://www.yoron-maker.com/yjs/yoron_makes1.php?";
yurl +="id=" + id + "&sw=" + sw + "&fs=" + fs + "&ss=" + ss1 + "_" + ss2 + "&th=" + th1 + "_" + th2 + "&nm=" + nm + "&lh=" + lh1 + "_" + lh2 + "&tf=" + tf1 + "_" + tf2 + "_" + tf3 + "&cl=" + cl1 + "_" + cl2 + "_" + cl3 + "&ml=" + ml1 + "_" + ml2 + "_" + ml3 + "_" + ml4 + "&su=" + su1 + "_" + su2 + "&gb=" + gb1 + "_" + gb4 + "_" + gb3 + "_" + gb2 + "&gw=" + gw + "&yl=" + yl;

var scriptelem = document.createElement("script");
scriptelem.src = yurl;
scriptelem.type = "text/javascript";
scriptelem.charset = "utf-8";
document.getElementsByTagName("head")[0].appendChild(scriptelem);

}

function yoron_sys_width(){
var wid = document.getElementById("yoron_width").offsetWidth;
wid += 4;
var wid02 = document.getElementById("yoron_width02").offsetWidth;
var wid03 = document.getElementById("yoron_width03").offsetWidth;
var wid04 = document.getElementById("yoron_width04").offsetWidth;
var sendwid = wid + "_" + wid02 + "_" + wid03 + "_" + wid04;
return sendwid;
}
function yoron_sys_callback(json){
var yoron_sys_html=json["yoron_sys_code"];
yoron_sys_showClear();
yoron_sys_show(yoron_sys_html);
}
function yoron_sys_callback3(json){
var yoron_sys_html3=json["yoron_sys_code"];
yoron_sys_showClear3();
yoron_sys_show3(yoron_sys_html3);
}
function yoron_sys_show(str){
document.getElementById("yoron_sys_show").innerHTML = str;
}
function yoron_sys_showClear(){
document.getElementById("yoron_sys_show").innerHTML = "";
}
function yoron_sys_show2(str){
document.getElementById("yoron_sys_show2").innerHTML = str;
}
function yoron_sys_showClear2(){
document.getElementById("yoron_sys_show2").innerHTML = "";
}
function yoron_sys_show3(str){
document.getElementById("yoron_sys_show3").innerHTML = str;
}
function yoron_sys_showClear3(){
document.getElementById("yoron_sys_show3").innerHTML = "";
}

