/****************************************************************************************/
/*                                  Default JavaScript                                  */
/*--------------------------------------------------------------------------------------*/
/*   Author:        Shezod Ruzmetov                                                     */
/*   Date:          7/23/01 5:44 AM                                                     */
/*   Filename:      Validate.js                                                         */
/*   Description:   Used for setting global compatibility flags                         */
/****************************************************************************************/


//Setting some global flags
var Nav, IE, IE5;
//UA tests
if (navigator.appName == 'Netscape') {  Nav = true                      }
if (navigator.appName == 'Microsoft Internet Explorer') { IE =  true    }
if (navigator.appVersion.indexOf('MSIE 5') != -1 ) { E5 = true          }


// Opens specific windows
function credits(url) {
    var winRef = window.open(url, "winName",
        "width=650,height=320,scrollbars=no");
}


function windowOpen(url) {

    var winRef1 = window.open(url, "someName",
        "width=700,height=500,menubar=yes,toolbar=yes,resizable=yes,scrollbars=yes");
}

function controlPanel(url) {
    var CP = window.open(url, "ControlPanel",
        "width=850,height=600,scrollbars=no,status=yes,resizable=yes");
}

