alert('Entries '+ ++i + ' and ' + ++j + ' column ' + ++control_column + ' are identical which is incorrect. Changes have not been submitted into policy.');
return false;
}
}
*/
}
return true;
}
function getItem(id)
{
var itm = false;
if(document.getElementById)
itm = document.getElementById(id);
else if(document.all)
itm = document.all[id];
else if(document.layers)
itm = document.layers[id];
return itm;
}
var currentPopup = null;
function setCurrentPopup(popup_window){ currentPopup = popup_window;}
function getCurrentPopup(){return currentPopup;}
function openFrameless()
{
var windowW = 330;
var windowH = 160;
var current_popup = getCurrentPopup();
if(current_popup && !current_popup.closed)
{
current_popup.location.href = arguments[0];
current_popup.focus();
return;
}
if(arguments.length > 1)
{
windowW = arguments[1];
windowH = arguments[2];
}
var windowX = (screen.width/2) - (windowW/2);
var windowY = (screen.height/2) - (windowH/2);
var position = "width="+windowW+",height="+windowH+",left="+windowX+",top="+windowY;
if(arguments.length > 3 && arguments[3] == true)
position += ",scrollbars=yes";
var NFW = window.open(arguments[0],"", "resizable=yes," + position);