//-------------------------------------------------------------------------------------
// Dan Pike        06/10/2008   This script contains all of the JavaScript libraries
//                              that control client-side functionality for Oregon.gov
//-------------------------------------------------------------------------------------

var prefix = "";
//var prefix = "http://www.oregon.gov";

// Load the array with the path to all of the libraries
var jsLibraries = new Array(
  "/js/dw-resources/dw_cookies.js",
  "/js/dw-resources/dw_sizerdx.js",
  "/js/dw-resources/dw_sizersettings.js",
  "/menu_files/udm-resources/gnb/udm-custom.js",
  "/menu_files/udm-resources/gnb/udm-control.js",
  "/menu_files/udm-resources/gnb/udm-style.js",
  "/menu_files/udm-resources/gnb/udm-dom.js"
);

// Loop through the libraries in the array and write them to the client
for (x=0; x<jsLibraries.length; x++)
{
  document.write('<script type="text/javascript" src="' + prefix + jsLibraries[x] + '"></script>');
}
