/* nav */ $(document).ready(function () { $('#nav ul li').hover(function () { //show its submenu $('ul', this).slideDown(100); }, function () { //hide its submenu $('ul', this).slideUp(100); }); }); /* jQuery Coda-Slider v1.1 - http://www.ndoherty.com/coda-slider Copyright (c) 2007 Niall Doherty */ eval(function (p, a, c, k, e, d) { e = function (c) { return (c < a ? "" : e(parseInt(c / a))) + ((c = c % a) > 35 ? String.fromCharCode(c + 29) : c.toString(36)) }; if (!''.replace(/^/, String)) { while (c--) { d[e(c)] = k[c] || e(c) } k = [function (e) { return d[e] }]; e = function () { return '\\w+' }; c = 1 }; while (c--) { if (k[c]) { p = p.replace(new RegExp('\\b' + e(c) + '\\b', 'g'), k[c]) } } return p }('3(d(){3("4.T").1s("
16...<1t /><18 19=\'1a/11-1b.1c\' 1d=\'O...\'/ >
")});b j=0;3.1e.1f=d(f){f=3.1g({G:"1h",E:1i,1j:Q},f);P 6.w(d(){b o=3(6);o.7("p.O").1k();o.q("T").l("1l");b m=o.7("4.I").C();b k=o.7("4.I").1m();b U=m*k;o.7("4.t").K("C",U);b N=k*2;F(h.g&&D(h.g.s(1))<=k){b 9=D(h.g.s(1));b e=-(m*(9-1));3(6).7("4.t").K({H:e})}B{b 9=1};o.w(d(i){3(6).W("<4 r=\'J\' M=\'J"+j+"\'>1n<\\/4>");3(6).1o("<4 r=\'L\' M=\'L"+j+"\'>1q<\\/4>");3(6).W("<4 r=\'c\' M=\'c"+j+"\'>Department of Veterans Affairs
810 Vermont Ave., NW
Washington, DC 20005
Department of Veterans Affairs
1575 I St., NW
Washington, DC 20005
Department of Veterans Affairs
1722 I St., NW
Washington, DC 20006
Department of Veterans Affairs
801 I St., NW
Washington, DC 20001
Department of Veterans Affairs
425 I St., NW
Washington, DC 20001
Department of Veterans Affairs
1717 H St., NW
Washington, DC 20006
Department of Veterans Affairs
1800 G St., NW
Washington, DC 20006
Department of Veterans Affairs
131 M St., NE
Washington, DC 20002
Department of Veterans Affairs
1100 First St., NE
Washington, DC 20002
Department of Veterans Affairs
90 K St., NE
Washington, DC 20002
" + arrMouseovers[i].description + "
"); mouseoverInfoWindow(marker, map, "" + arrMouseovers[i].description + "
"); } var hoverOptions = { content: '', disableAutoPan: true, maxWidth: 0, pixelOffset: new google.maps.Size(-140, 0), zIndex: null, boxStyle: { background: "url('images/tip-up.png') no-repeat", width: "340px" }, closeBoxMargin: "10px 5px 3px", closeBoxURL: "http://www.google.com/intl/en_us/mapfiles/close.gif", infoBoxClearance: new google.maps.Size(1, 1), isHidden: false, pane: "floatPane", enableEventPropagation: false }; var clickOptions = { content: '', disableAutoPan: false, maxWidth: 0, pixelOffset: new google.maps.Size(-140, 0), zIndex: null, boxStyle: { background: "url('images/tip-up.png') no-repeat", width: "340px" }, closeBoxMargin: "10px 5px 3px", closeBoxURL: "http://www.google.com/intl/en_us/mapfiles/close.gif", infoBoxClearance: new google.maps.Size(10, 10), isHidden: false, pane: "floatPane", enableEventPropagation: false }; var hoverWindow = new InfoBox(hoverOptions); var clickWindow = new InfoBox(clickOptions); function bindInfoWindow(marker, map, html) { // clicking a marker google.maps.event.addListener(marker, 'click', function () { clickWindow.setContent(html); clickWindow.open(map, this); }); } function mouseoverInfoWindow(marker, map, html) { // mouse over a marker google.maps.event.addListener(marker, 'mouseover', function (e) { // getting the pixels coordinates function convertPoint(latLng) { var topRight = map.getProjection().fromLatLngToPoint(map.getBounds().getNorthEast()); var bottomLeft = map.getProjection().fromLatLngToPoint(map.getBounds().getSouthWest()); var scale = Math.pow(2, map.getZoom()); var worldPoint = map.getProjection().fromLatLngToPoint(latLng); return new google.maps.Point((worldPoint.x - bottomLeft.x) * scale, (worldPoint.y - topRight.y) * scale); } var x = convertPoint(e.latLng); // checking for positioning of infobox // east side if (x.x > 490) { hoverWindow.boxStyle_.background = "url('images/tip-up.png') no-repeat scroll 195px 0 transparent"; hoverWindow.pixelOffset_.height = 0; hoverWindow.pixelOffset_.width = -335; // south-east corner if (x.y > 365) { hoverWindow.boxStyle_.background = "url('images/tip-down.png') no-repeat scroll 195px bottom transparent"; hoverWindow.pixelOffset_.height = -175; hoverWindow.pixelOffset_.width = -335; } // west side } else if (x.x < 210) { hoverWindow.boxStyle_.background = "url('images/tip-up.png') no-repeat scroll -130px 0 transparent"; hoverWindow.pixelOffset_.height = 0; hoverWindow.pixelOffset_.width = -10; // south-west corner if (x.y > 365) { hoverWindow.boxStyle_.background = "url('images/tip-down.png') no-repeat scroll -130px bottom transparent"; hoverWindow.pixelOffset_.height = -175; hoverWindow.pixelOffset_.width = -10; } // south side } else if (x.y > 365) { hoverWindow.boxStyle_.background = "url('images/tip-down.png') no-repeat scroll 0px bottom transparent"; hoverWindow.pixelOffset_.height = -175; hoverWindow.pixelOffset_.width = -140; // default state } else { hoverWindow.boxStyle_.background = "url('images/tip-up.png') no-repeat scroll 0 0 transparent"; hoverWindow.pixelOffset_.height = -0; hoverWindow.pixelOffset_.width = -140; } hoverWindow.setContent(html); hoverWindow.open(map, this); }); // mouse out of a marker google.maps.event.addListener(marker, 'mouseout', function () { hoverWindow.close(); }); } } else { } } jQuery.fn.dataTableExt.oSort['us_date-asc'] = function (a, b) { var usDatea = $(a).html().split('/'); var usDateb = $(b).html().split('/'); var x = (usDatea[2] + usDatea[0] + usDatea[1]) * 1; var y = (usDateb[2] + usDateb[0] + usDateb[1]) * 1; return ((x < y) ? -1 : ((x > y) ? 1 : 0)); }; jQuery.fn.dataTableExt.oSort['us_date-desc'] = function (a, b) { var usDatea = $(a).html().split('/'); var usDateb = $(b).html().split('/'); var x = (usDatea[2] + usDatea[0] + usDatea[1]) * 1; var y = (usDateb[2] + usDateb[0] + usDateb[1]) * 1; return ((x < y) ? 1 : ((x > y) ? -1 : 0)); }; $(document).ready(function () { $("#breadcrumbs ul li:last-child").addClass('last-child'); // default sorting $('.sort').dataTable({"bAutoWidth": false,"aaSorting": []}); // auto-sort disabled $('.faqs').dataTable({"bAutoWidth": false,"aaSorting": []}); // sorting by particular column $('.mou').dataTable({ "bAutoWidth": false, "aoColumns": [ null, null, { "sType": "us_date" } ] }); $('.grievances').dataTable({ "bAutoWidth": false, "aoColumns": [ { "sType": "us_date" }, null, null, null ] }); $('.grievances-2-col').dataTable({ "bAutoWidth": false, "aoColumns": [ { "sType": "us_date" }, null, { "sType": "us_date" }, null ] }); $('.grievances-nffe').dataTable({ "bAutoWidth": false, "aoColumns": [ null, { "sType": "us_date" }, null, { "sType": "us_date" }, null ] }); $('.grievances-afge').dataTable({ "bAutoWidth": false, "aoColumns": [ { "sWidth": "100px" }, { "sType": "us_date", "sWidth": "100px" }, { "sWidth": "100px" }, { "bSortable": false, "sWidth": "100px" }, { "bSortable": false, "sWidth": "100px" }, { "sWidth": "100px" } ] }); $("#featured > ul").tabs({ fx: { opacity: "toggle" } }).tabs("rotate", 10000, true); });