BalloonConfig = function(balloon, set) { set = set || ''; if (!balloon.configured || set == 'GBubble') { balloon.fontColor = 'black'; balloon.fontFamily = 'Arial, sans-serif'; balloon.fontSize = '12pt'; balloon.minWidth = 100; balloon.maxWidth = 400; balloon.delayTime = 0; balloon.vOffset = 10; balloon.hOffset = 10; balloon.stem = true; balloon.images = '../images'; balloon.ieImage = 'balloon_ie.png'; balloon.balloonImage = 'balloon.png'; balloon.upLeftStem = 'up_left.png'; balloon.downLeftStem = 'down_left.png'; balloon.upRightStem = 'up_right.png'; balloon.downRightStem = 'down_right.png'; balloon.closeButtonWidth = 16; balloon.allowAJAX = true; balloon.allowIframes = true; balloon.trackCursor = true; balloon.shadow = 20; balloon.padding = 10; balloon.stemHeight = 32; balloon.stemOverlap = 3; balloon.vOffset = 1; balloon.hOffset = 1; balloon.opacity = 1; balloon.configured = set || true; } switch(set) { case('GBox') : balloon.bgColor = '#FFFFE0'; balloon.borderStyle = '1px solid black'; balloon.padding = 5; balloon.shadow = 0; balloon.stem = false; balloon.opacity = 1; balloon.hOffset = 1; balloon.vOffset = 1; balloon.allowFade = false; break; case('GPlain') : balloon.padding = 5; balloon.images = '/images/GPlain'; balloon.ieImage = null; balloon.shadow = 0; balloon.stemHeight = 15; balloon.stemOverlap = 1; balloon.opacity = 1; break; } }