/* MenuBox ECMAScript/JavaScript/JScript Header File */
/* V. 2.32 - Copyright 2002-2004 Cloanto Corporation */
/* Free to Redistribute as per MenuBox Software EULA */
/* Home Page: www.cloanto.com/menubox/ (menubox.com) */

var menubox_version = 0;
if (window.external) if (window.external.menuboxversion) menubox_version = window.external.menuboxversion;

function menubox_close()
{
 if (menubox_version >= 200) window.external.close();
 else window.close();
}

function menubox_execute(file, parameters, directory, verb, show, absolutepath, wait)
{
 if (menubox_version >= 200) window.external.execute(file, parameters, directory, verb, show, absolutepath, wait);
 else if (window.location) if (window.location.href) if (navigator.userAgent) if (file.length > 0)
   {
     	if (file.charAt(file.length-1) == "\\" && navigator.userAgent.indexOf("MSIE 3") == -1) window.open(file,"_blank");
    	else window.location.href = file;
   }
}

function menubox_exists(file)
{
 if (menubox_version >= 230) return window.external.exists(file);
 else return false;
}

function menubox_language()
{
 if (menubox_version >= 230) return window.external.language;
 else return "en";
}

function menubox_title(title)
{
 if (menubox_version >= 232) window.external.title = title;
}
