window.addEvent('resize', this.position.bind(this));
window.addEvent('scroll', this.position.bind(this));
},
position: function(){
if(this.options.container == document.body){
window.addEvent('resize', this.position.bind(this));
window.addEvent('scroll', this.position.bind(this));
},
position: function(){
if(this.options.container == document.body){
this.h = window.getHeight();
this.s = window.getScrollTop();
}else{
var myCoords = this.options.container.getCoordinates();
this.h = window.getHeight();
this.s = window.getScrollTop();
}else{
var myCoords = this.options.container.getCoordinates();
show: function(){
if (this.options.tohide) {
this.hiddenstyles = this.options.tohide.getStyles(
'display'
);
this.options.tohide.setStyles({
show: function(){
if (this.options.tohide) {
this.hiddenstyles = this.options.tohide.getStyles(
'display'
);
this.options.tohide.setStyles({
}
document.body.setStyles(this.bodystyles);
this.container.setStyle('display', 'none');
}
document.body.setStyles(this.bodystyles);
this.container.setStyle('display', 'none');