// Master JS file // Updated 01-11-2010 // JavaScript Document // Break page out of a frames-based environment if (top.frames.length!=0) { if (window.location.href.replace) top.location.replace(self.location.href); else top.location.href=self.document.href; } /* function OpenWindow(URL) DESCRIPTION: OpenWindow can be called from the HREF of an anchor tag. It functions like the window.open function except it has only one required parameter, the other three are optional. window.open cannot be called in the HREF of an anchor tag because it returns an object. OpenWindow does not return an object, nor keep track of the window that has been opened. PARAMETER(S): URL - The URL to open in the new window WindowName - The Name of the window. WindowOptions - A list of WindowOptions used by window.open Replace - A boolean option. This option specifies that the url that is loaded into the new page should create a new entry in the window's browsing history or replace the current entry. true - no new history is created */ function OpenWindow(URL) { var MaxArguments = 4; var ArgumentsIndex; for(ArgumentsIndex=0;ArgumentsIndex