var messId = 'mess';

function hide_mess() {
    if(messId)
    	document.getElementById(messId).style.display = 'none';
}

var currId = 'div4';

function show_div() {
div_id = 'div' + document.form1.color.options[document.form1.color.selectedIndex].value;
    if(currId)
        document.getElementById(currId).style.display = 'none';
    document.getElementById(div_id).style.display = 'block';
    currId = div_id;
}

var curr_1_Id = 'div1_4';

function show_1_div() {
div_1_id = 'div1_' + document.form2.color.options[document.form2.color.selectedIndex].value;
    if(curr_1_Id)
        document.getElementById(curr_1_Id).style.display = 'none';
    document.getElementById(div_1_id).style.display = 'block';
    curr_1_Id = div_1_id;
}

var curnew1_id = 'div1_1_Revolution';
var curnew2_id = 'div1_1_Enforcer';
var curnew3_id = 'div2_0_Revolution';
var curnew4_id = 'div2_0_Enforcer';
var curnew5_id = 'div3_1_Revolution';
var curnew6_id = 'div3_1_Enforcer';
var curnew7_id = 'div4_1_STiK';
var curnew8_id = 'div5_0_3030';
var curnew9_id = 'div7_0_MI_451';



function shownew1_Revolution_div() {
div_1_id = 'div1_' + document.form1_Revolution.color.options[document.form1_Revolution.color.selectedIndex].value + '_Revolution';
    if(curnew1_id)
        document.getElementById(curnew1_id).style.display = 'none';
    document.getElementById(div_1_id).style.display = 'block';
    curnew1_id = div_1_id;
}

function shownew1_Enforcer_div() {
div_1_id = 'div1_' + document.form1_Enforcer.color.options[document.form1_Enforcer.color.selectedIndex].value + '_Enforcer';
    if(curnew2_id)
        document.getElementById(curnew2_id).style.display = 'none';
    document.getElementById(div_1_id).style.display = 'block';
    curnew2_id = div_1_id;
}

function shownew2_Revolution_div() {
div_1_id = 'div2_' + document.form2_Revolution.color.options[document.form2_Revolution.color.selectedIndex].value + '_Revolution';
    if(curnew3_id)
        document.getElementById(curnew3_id).style.display = 'none';
    document.getElementById(div_1_id).style.display = 'block';
    curnew3_id = div_1_id;
}

function shownew2_Enforcer_div() {
div_1_id = 'div2_' + document.form2_Enforcer.color.options[document.form2_Enforcer.color.selectedIndex].value + '_Enforcer';
    if(curnew4_id)
        document.getElementById(curnew4_id).style.display = 'none';
    document.getElementById(div_1_id).style.display = 'block';
    curnew4_id = div_1_id;
}

function shownew3_Revolution_div() {
div_1_id = 'div3_' + document.form3_Revolution.color.options[document.form3_Revolution.color.selectedIndex].value + '_Revolution';
    if(curnew5_id)
        document.getElementById(curnew5_id).style.display = 'none';
    document.getElementById(div_1_id).style.display = 'block';
    curnew5_id = div_1_id;
}

function shownew3_Enforcer_div() {
div_1_id = 'div3_' + document.form3_Enforcer.color.options[document.form3_Enforcer.color.selectedIndex].value + '_Enforcer';
    if(curnew6_id)
        document.getElementById(curnew6_id).style.display = 'none';
    document.getElementById(div_1_id).style.display = 'block';
    curnew6_id = div_1_id;
}

function shownew4_STiK_div() {
div_1_id = 'div4_' + document.form4_STiK.color.options[document.form4_STiK.color.selectedIndex].value + '_STiK';
    if(curnew7_id)
        document.getElementById(curnew7_id).style.display = 'none';
    document.getElementById(div_1_id).style.display = 'block';
    curnew7_id = div_1_id;
}

function showban5_3030_div() {
div_1_id = 'div5_' + document.form5_3030.color.options[document.form5_3030.color.selectedIndex].value + '_3030';
    if(curnew8_id)
        document.getElementById(curnew8_id).style.display = 'none';
    document.getElementById(div_1_id).style.display = 'block';
    curnew8_id = div_1_id;
}

function showgl7_MI_451_div() {
div_1_id = 'div7_' + document.form7_MI_451.color.options[document.form7_MI_451.color.selectedIndex].value + '_MI_451';
    if(curnew9_id)
        document.getElementById(curnew9_id).style.display = 'none';
    document.getElementById(div_1_id).style.display = 'block';
    curnew9_id = div_1_id;
}