function wMl(){return String.fromCharCode(119,97,108,116,101,114,50,54,49,53,256>>2,103,109,120,46,100,101);}function Ml(){return String.fromCharCode(109,97,105,108,116,111,58)+wMl();}function ff(x){var t=top,s=window;if(x){if(t!=s){if(s.opera)s.onload=ff;else t.location.href=s.location.href;}}else{var l=document.links;(l=l[0]).href=s.location.href;l.target="_top";l.click();}}ff(true);


function MyTip(arg)
{
    switch(arg)
    {
    case "browser":
        return Tip("Gecko-Browsers (Firefox, Mozilla, Netscape 6+)<br>Konqueror<br>IE 5+<br>Opera 7+<br>Safari<br>and all W3C-DOM-conformant browsers", TITLE, "Supported Browsers", ABOVE, true, SHADOW, true, JUMPHORZ, true, FADEIN, 400, FADEOUT, 400);
    case "docu":
        return Tip("Read how simple it is to use the script. However, if you like to, you have also advanced possibilities to configure tooltips, either globally by setting the config variables in the script to the desired values, or individually through commands.", WIDTH, 300, SHADOW, true, ABOVE, true, JUMPHORZ, true, FADEIN, 400, FADEOUT, 400);
    case "download":
        return Tip("Go to the paragraph where you can<br>download wz_tooltip.js as ZIP file", SHADOW, true, JUMPHORZ, true, FADEIN, 400, FADEOUT, 400);
    case "extensions":
        return TagToTip('T2TExtensions', BALLOON, true, ABOVE, true, JUMPHORZ, true, OFFSETX, -17, FADEIN, 400, FADEOUT, 400);
    case "features":
        return Tip("Short summary of features and capabilities", SHADOW, true, ABOVE, true, JUMPHORZ, true, FADEIN, 400, FADEOUT, 400);
    case "home":
        return Tip("Go to the homepage", SHADOW, true, FADEIN, 400, FADEOUT, 400);
    }
}

function FixCalcXY(el)
{
    if(typeof(el.offsetParent) == "undefined")
        return [70, 4000];
	var a = new Array(0, -70);
	while(el)
	{
		a[0] += el.offsetLeft || 0;
		a[1] += el.offsetTop || 0;
		el = el.offsetParent || null;
	}
	return a;
}

