A@CHARSET "UTF-8";
.select1,.select2{position: absolute;background-color: #f2f9ff;border:1px solid #7BB6E7;}
.select1{display:none;}
.select2{display:block;}
.select2 li{cursor: pointer;width:160px;text-align: left;}
.selectOverflowDIV {overflow: auto;height: 150px;width:180px;}
.ulHEAD{text-align: left;background-color:#9fd6ff;}
.selectShowDIV{text-align:left;border:1px solid #7BB6E7;list-style-type:none;padding-left:0px;margin-left: 0px;color: gray}
.selectShowDIV li{width: 120px;}
img{cursor:pointer;}Mfunction createSelect(name,controlValue,values,flg){var imgID = name+'Img';
var divID = name+'DIV';var _div = $(divID);
var cbAll = name + 'All'; var cb = name;
var _div1 = document.createElement('div');
var _ul1 = document.createElement('ul');
var _imgInnerText = '全部';
var _selectShowDIVInnerHTML = '<ul>';
if(controlValue!=null&&controlValue!=''){var controlValues = controlValue.split('|');for(var i = 0; i< controlValues.length;i++){
if(controlValues==''){continue;}
var cv = controlValues[i].split('_');if(cv.length!=2){continue;}
var _li = document.createElement('li');var innerHTML = '';
if(flg==0){innerHTML += "<input type='radio' name='" + cb +"' value='"+cv[0]+"' ";if(hasExist(values,cv[0])){ innerHTML += "checked ";_imgInnerText = cv[1]; }innerHTML += ">"+cv[1];
}else if(flg==1){ innerHTML += "<input type='checkbox' name='" + cb + "' value='"+cv[0]+"' "; innerHTML += "onclick=\"setCheckBoxAll('"+cbAll+"','"+cb+"')\" "; if(values==null||values==''||hasExist(values,cv[0])){innerHTML += "checked "; _selectShowDIVInnerHTML += '<li>'+cv[1]+'</li>';}innerHTML += ">"+cv[1];}
_li.innerHTML = innerHTML;_ul1.appendChild(_li);}}
_div1.className = 'selectOverflowDIV';var _ul0 = document.createElement('ul');_ul0.className = 'ulHEAD';
if(flg == 0){_ul0.innerHTML = "<input type='radio' id='"+cbAll+"' name='" + cb + "' value='' checked/>全部";}else if(flg == 1){
_ul0.innerHTML = "<input type='checkbox' id='"+cbAll+"' name='" + cbAll + "' value='' checked onclick = \"setCheckBox('"+cbAll+"','"+cb+"')\">全部";}