/*var ifmz=true;
var active='';
var subact='';
var noOpera6=false;

function ifOpera(){
if (window.document.all) {
//window.document.all["i11"].style.backgroundColor="white";
window.document.all["i11"].style.backgroundColor="transparent";
//alert(window.document.all["i11"].style.backgroundColor);
if((window.document.all["i11"].style.backgroundColor)==("transparent")){noOpera6=true;};};
};


if (document.all){ var divs=document.all.tags("div");
ifmz=false;
};
if (document.layers){ var divs=document.layers;
ifmz=false;
};
window.onresize = cls;
*/

/*function show(which) {
 if (active!='') cls();
  if (ifmz){
  var obj = window.document.getElementById(which);
  if (obj){obj.style.visibility='inherit';};
  };
 if (document.all){ 
 divs[which].style.visibility='inherit';
  };
 if (document.layers){ 
 divs[which].visibility='show';
  };
 active=which;
}; 
*/

/*function act(which) {
  if (ifmz){
  var obj = window.document.getElementById(which);
  if (obj){obj.style.backgroundColor='#EFEFEF';};
  };
 if ((document.all)&&(noOpera6)){ window.document.all[which].style.backgroundColor="#EFEFEF";};
};

function act_close(which){
  if (ifmz){
  var obj = window.document.getElementById(which);
  if (obj){obj.style.backgroundColor="transparent";};
  };
 if (document.all){  window.document.all[which].style.backgroundColor="transparent";   };
};
*/

/*function showc(which) {
  if (ifmz){
  var obj = window.document.getElementById(which);
  if (obj){obj.style.visibility='inherit';};
  };
 if (document.all){ 
 divs[which].style.visibility='inherit';
  };
 if (document.layers){ 
 divs[which].visibility='show';
};}; 

function close_c(which) {
  if (ifmz){
  var obj = window.document.getElementById(which);
  if (obj){obj.style.visibility='hidden';};
  };
 if (document.all){ 
 divs[which].style.visibility='hidden';
  };
 if (document.layers){ 
 divs[which].visibility='hide';
};}; */

var showlist = new Array(10);


function trig(element){
 if (showlist[element]){clsid(element);showlist["contents"]=false;}
 else{showid(element);showlist["contents"]=true;};
};
function trig3(){
window.document.getElementById('contents').style.display='block';
}
function trig2(element){
if(window.document.getElementById('others').style.display=='block')
	window.document.getElementById('others').style.display='none';
	else
        	window.document.getElementById('others').style.display='block';
};

function showid(element){
 var obj = window.document.getElementById(element);
 if (obj){obj.className="vis";};
};

function clsid(element){
 var obj = window.document.getElementById(element);
 if (obj){obj.className="inv";};
};

/*function cls(){
 vs=""
 if ((ifmz)&&(!(active==''))){
 var obj = window.document.getElementById(active);
 if (obj){obj.style.visibility='hidden';};
 };
 if (document.all) {vs="hidden";
  for (i=0;i<divs.length;i++){
 if ((divs[i].className=="m1")||(divs[i].className=="m2")||(divs[i].className=="m3")||(divs[i].className=="m4")||(divs[i].className=="m5")||(divs[i].className=="t1")||(divs[i].className=="t2")){
  divs[i].style.visibility = vs;
  };
  };
  };
 if (document.layers){ vs="hide";
  for (i=0;i<divs.length;i++){
  divs[i].visibility = vs;
  };
  };
 active='';
 }; */
function form_submit_param(form_name, it_value){
    document.forms[form_name].option.value = it_value;
    form_submit(form_name);
 }

 function form_submit(form_name){
 var obj = window.document.getElementById(form_name);
 obj.submit();
 };
