var i
var rules
if (css.rules) rules = css.rules
else rules = css.cssRules
for (i = 0i <rules.lengthi++){
if (rules[i].selectorText === "." + clsname){
var s = "rules[" + i + "].style." + style + " = \"" + value + "\""
eval(s)
break
}
}
}
document.getElementById('guding').style.left = '111px'document.getElementById('guding').style.top = '111px'