﻿/* Show New RadWindow */
function RadWindowOpen(url,myW,myH){
    //Show new window
    //not providing a name as a second parameter will create a new window
    var oWindow = window.radopen (url, null);
    //Using the reference to the window its clientside methods can be called
    oWindow.setSize (myW, myH);
    oWindow.center();
    //oWindow.set_Title ("This is a clientside title");
}
/* Registration Form */
function submitRegForm(x){
    var ctlForm = document.forms.namedItem('StartForm');
    ctlForm.id.value = x;
    ctlForm.submit();
}
//SHOW AND HIDE
function toggle_visibility(id) {
    var e = document.getElementById(id);
    if(e.style.display == 'block')
        e.style.display = 'none';
    else
        e.style.display = 'block';
}
