cript">

function onKeyPress_check(e) {
    if (e.which == 13) {
    e.preventDefault();
    f();
    }
}

function getGuiFlag(ModelName)
{
	var flag;
	if (ModelName.search("MG2402")!=-1)
 		flag = false;
	else
		flag = true;
	   
	$.ajax({
		url: "guiflag",
		success:function(data){
			if (data.indexOf("1") >= 0)
			{
				flag = true;
			}
			else if (data.indexOf("0") >= 0)
			{
				flag = false;
			}
		},
		error:function(data) {
			if (ModelName.search("MG2402")!=-1)
 				flag = false;
			else
				flag 