﻿function changeEmail(el) {
    $("").value = el.value;
}

//onchange="changeEmail(this)"
function ExpandFaq(id) {
    var obj = $('faq_' + id);
    var obj2 = $('faq_' + id + "_c");
    if (obj2.style.display != "none") {
        Effect.BlindUp(obj2, { duration: 0.8 });
        obj.removeClassName('expanded');
    }
    else {
        Effect.BlindDown(obj2, { duration: 0.8 });
        obj.addClassName('expanded');
    }
}

function toggleText(el, text, focus) {
    if (focus && el.value == text)
        el.value = '';

    if (!focus && el.value == '')
        el.value = text;
}

