function menuItemOver(o, selected) {
o.style.cursor = 'hand';
o.style.backgroundColor='#C0D6E2';
o.style.backgroundColor='#C0D6E2'; 
}
 
function menuItemOut(o, selected) {
o.style.cursor = '';
o.style.backgroundColor='#E0E8EC';
o.style.backgroundColor='#E0E8EC';
}
 
function menuItem(name, selected, url) {
var s = '<tr></tr><td width=8><img src=\"img/xx2.gif\" width=4 height=7 border=0 hspace=6></td><td class=ad3 onclick="self.location = \'' + url + '\';" onmouseover="menuItemOver(this, ' + selected + ')" onmouseout="menuItemOut(this, ' + selected + ')" > <a href="' + url + '" class="m2">' + name + '</a>' + '</td></tr><tr><td colspan="2" bgcolor="#EEEEEE"></td></tr>';
document.write(s)
}


function newwin(x,y,win)
{ window.open("",""+win+"","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,width="+x+",height="+y+""); }


function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2){
clearInterval(highlighting)
if (which2.style.MozOpacity)
which2.style.MozOpacity=0.3
else if (which2.filters)
which2.filters.alpha.opacity=30
}

function highlightit(cur2){
if (cur2.style.MozOpacity<1)
cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.1
else if (cur2.filters&&cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}


function mouseover(el) {
el.className = "raised";
}

function mouseout(el) {
el.className = "button";
}

function mousedown(el) {
el.className = "pressed";
}

function mouseup(el) {
el.className = "raised";
}


function format_me(v) {
var str = document.selection.createRange().text;
document.comments_form.text.focus();
document.selection.createRange().text = "<" + v + ">" + str + "</" + v + ">";
return;
}

function insert_link() {
var str = document.selection.createRange().text;
document.comments_form.text.focus();
var my_link = prompt("Wpisz adres WWW:","http://");
if (my_link != null) {
document.selection.createRange().text = "<a href=\"" + my_link + "\" target=\"_blank\" class=\"link\">" + str + "</a>";
}
return;
}
function deCode() {
strSelection = document.selection.createRange().text
strSelection = strSelection.replace(new RegExp("<","g"), "&lt;");
strSelection = strSelection.replace(new RegExp(">","g"), "&gt;");
document.selection.createRange().text = strSelection;
return;
}



    function PMA_notice(language) {
        text = 'Thank you for your feedback concerning the '
             + language + ' language file.\n'
             + 'Before you contact our developer, please note:\n\n'
             + '    - Each language file is included in this distribution\n'
             + '      The translator won\'t send you any translations.\n'
             + '    - There are no localized documentations yet.\n'
             + '    - The translator won\'t provide any type of e-mail support.\n\n'
             + 'If have any questions about configuring or using phpMyAdmin,'
             + ' please use our support forum or the users email list.';
        return window.confirm(text);
    }

function poptastic(url,x,y)
{
	newwindow=window.open(url,'name','height='+y+',width='+x+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no');
	if (window.focus) {newwindow.focus()}
}

