//
// this function is used to change image when the mouse is moved over/out a image
//
function changeImages() {
   if (document.images) {
      for (var i=0; i<changeImages.arguments.length; i+=2) {
         document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
      }
   }
}


function openLMS(){

    opts = ('width=' + (screen.availWidth -8) + ',height=' + (screen.availHeight - 25) + ',top=0,left=0,status=no,resizable=no,scrollbars');

    mainWin = window.open("http://192.168.0.220:8081/lms/ControllerServlet","LMS",opts);

}

function doHelp(arghelp) {
	var argUrl = "/help/index.jsp?HELP=" + arghelp;
	win = window.open(argUrl, "Help", "menubar=0,toolbar=0, resizable=1");
}

// used in testimonial
function toggle(obj) {

        var el = document.getElementById(obj);

        if ( el.style.display != 'none' ) {
                el.style.display = 'none';
        }
        else {
                el.style.display = '';
        }
}
