}
function AnchorPosition_getWindowOffsetLeft (el) {
return AnchorPosition_getPageOffsetLeft(el)-document.body.scrollLeft;
- }
+ }
function AnchorPosition_getPageOffsetTop (el) {
var ot=el.offsetTop;
while((el=el.offsetParent) != null) { ot += el.offsetTop; }
this.populated = false;
this.visible = false;
this.autoHideEnabled = false;
-
+
this.contents = "";
this.url="";
this.windowProperties="toolbar=no,location=no,status=no,menubar=no,scrollbars=auto,resizable,alwaysRaised,dependent,titlebar=no";
window.ColorPicker_targetInput = inputobj;
this.show(linkname);
}
-
+
// This function runs when you move your mouse over a color block, if you have a newer browser
function ColorPicker_highlightColor(c) {
var thedoc = (arguments.length>1)?arguments[1]:window.document;
else {
var divname = arguments[0];
}
-
+
if (divname != "") {
var cp = new PopupWindow(divname);
}
// Object variables
cp.currentValue = "#FFFFFF";
-
+
// Method Mappings
cp.writeDiv = ColorPicker_writeDiv;
cp.highlightColor = ColorPicker_highlightColor;