/**
 *
 * @access public
 * @return void
 **/
function jvCopyAddress(){
    var srcForm = window.document.getElementById('Announce');

    var srcArray = Array( 'title_of_honor',
                          'forename/required',
                          'surename/required',
                          'street/required',
                          'postbox',
                          'country',
                          'postcode/required',
                          'city/required',
                          'phone_p',
                          'phone_b',
                          'phone_m' );

    var destArray = Array( 'title_of_honor_e',
                           'forename_e/required',
                           'surename_e/required',
                           'street_e/required',
                           'postbox_e',
                           'country_e',
                           'postcode_e/required',
                           'city_e/required',
                           'phone_p_e',
                           'phone_b_e',
                           'phone_m_e' );

    for (var i = 0; i < destArray.length; i++) {
        srcForm.elements[destArray[i]].value = srcForm.elements[srcArray[i]].value;
    }
}

/**
 *
 * @access public
 * @return void
 **/
function jvShow_CL(htmlIdRef , htmlNameRef) {
    var handle = document.getElementById(htmlIdRef);

    handle.style.visibility = 'visible';

    var handle = document.getElementById(htmlNameRef);

    handle.className = 'trHover';
}

/**
 *
 * @access public
 * @return void
 **/
function jvHide_CL(htmlIdRef , htmlNameRef, defaultClassName) {
    var handle = document.getElementById(htmlIdRef);

    handle.style.visibility = 'hidden';

    var handle = document.getElementById(htmlNameRef);

    handle.className = defaultClassName;
}

/**
 *
 * @access public
 * @return void
 **/
function jvShow_GL(htmlIdRef , htmlNameRef) {
    if ( htmlIdRef ) {
        var handle = document.getElementById(htmlIdRef);

        handle.style.visibility = 'visible';
    }

    var handle = document.getElementById(htmlNameRef);

    handle.className = 'ulHover';
}

/**
 *
 * @access public
 * @return void
 **/
function jvHide_GL(htmlIdRef , htmlNameRef, defaultClassName) {
    if ( htmlIdRef ) {
        var handle = document.getElementById(htmlIdRef);

        handle.style.visibility = 'hidden';
    }

    var handle = document.getElementById(htmlNameRef);

    handle.className = handle.id;
}

/**
 *
 * @access public
 * @return void
 **/
function jvHref(cId, page) {
    window.location.href = page + cId;
}

/**
 *
 * @access public
 * @return void
 **/
function LoadPopUp(content, w, h, presizable)
{
	window.open(content,"Second","width="+w+", height="+h+",scrollbars=yes,resizable="+presizable);
}
