You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
390 B
16 lines
390 B
var $ = function(id) {
|
|
return "string" == typeof id ? document.getElementById(id) : id;
|
|
};
|
|
|
|
var Extend = function(destination, source) {
|
|
for (var property in source) {
|
|
destination[property] = source[property];
|
|
}
|
|
return destination;
|
|
}
|
|
|
|
var CurrentStyle = function(element) {
|
|
return element.currentStyle || document.defaultView.getComputedStyle(element, null);
|
|
}
|
|
|