On our way to 10000 URLs shortened!!
function getStyle(obj, cAttribute) {
if (obj.currentStyle) {
this.getStyle = function (obj, cAttribute) {
return obj.currentStyle[cAttribute];
};
} else {
this.getStyle = function (obj, cAttribute) {
return document.defaultView.getComputedStyle(obj, null)[cAttribute];
};
}
return getStyle(obj, cAttribute);
}
try {
document.getElementById('UrlToShorten').focus();
var genColors = document.createElement('span');
genColors.id = "saveColors";
document.getElementById('ie6Hidden').appendChild(genColors);
} catch (err) {};