",{"class":"nivo-lightbox-title-wrap"});var u=0;if(u)t.addClass("nivo-lightbox-ie");n.append(r);n.append(o);t.append(n);t.append(i);t.append(s);e("body").append(t);var a=this;if(a.options.clickOverlayToClose){t.on("click",function(t){if(t.target===this||e(t.target).hasClass("nivo-lightbox-content")||e(t.target).hasClass("nivo-lightbox-image")){a.destructLightbox()}})}s.on("click",function(e){e.preventDefault();a.destructLightbox()});return t},destructLightbox:function(){var t=this;this.options.beforeHideLightbox.call(this);e(".nivo-lightbox-overlay").removeClass("nivo-lightbox-open");e(".nivo-lightbox-nav").hide();e("body").removeClass("nivo-lightbox-body-effect-"+t.options.effect);var n=0;if(n){e(".nivo-lightbox-overlay iframe").attr("src"," ");e(".nivo-lightbox-overlay iframe").remove()}e(".nivo-lightbox-prev").off("click");e(".nivo-lightbox-next").off("click");e(".nivo-lightbox-content").empty();this.options.afterHideLightbox.call(this)},isHidpi:function(){var e="(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)";if(t.devicePixelRatio>1)return true;if(t.matchMedia&&t.matchMedia(e).matches)return true;return false}};e.fn[i]=function(t){return this.each(function(){if(!e.data(this,i)){e.data(this,i,new o(this,t))}})}})(jQuery,window,document)
+
+jQuery(document).ready(function() {
+ $(".nlb").nivoLightbox({
+ effect: "fade",
+ theme: "default",
+ keyboardNav: true,
+ clickOverlayToClose: true,
+ onInit: function() {},
+ beforeShowLightbox: function() {},
+ afterShowLightbox: function(lightbox) {},
+ beforeHideLightbox: function() {},
+ afterHideLightbox: function() {},
+ onPrev: function(element) {},
+ onNext: function(element) {},
+ errorMessage: "The requested content cannot be loaded. Please try again later."
+ });
+});
\ No newline at end of file
diff --git a/Library/WebContent/layout/scripts/tabslet/Tabslet-master.zip b/Library/WebContent/layout/scripts/tabslet/Tabslet-master.zip
new file mode 100644
index 0000000..e99bfec
Binary files /dev/null and b/Library/WebContent/layout/scripts/tabslet/Tabslet-master.zip differ
diff --git a/Library/WebContent/layout/scripts/tabslet/jquery.tabslet.min.js b/Library/WebContent/layout/scripts/tabslet/jquery.tabslet.min.js
new file mode 100644
index 0000000..8838de4
--- /dev/null
+++ b/Library/WebContent/layout/scripts/tabslet/jquery.tabslet.min.js
@@ -0,0 +1,27 @@
+/**
+ * Tabslet jQuery plugin
+ *
+ * @copyright Copyright 2012, Dimitris Krestos
+ * @license Apache License, Version 2.0 (http://www.opensource.org/licenses/apache2.0.php)
+ * @link http://vdw.staytuned.gr
+ * @version v1.4.2
+ */
+
+/* Slightly modified by http://www.os-templates.com to use the HTML5 figure tag instead of a div tag */
+
+(function($,window,undefined){"use strict";$.fn.tabslet=function(options){var defaults={mouseevent:"click",attribute:"href",animation:false,autorotate:false,pauseonhover:true,delay:2e3,active:1,controls:{prev:".prev",next:".next"}};var options=$.extend(defaults,options);return this.each(function(){function forward(){i=++i%elements.length;options.mouseevent=="hover"?elements.eq(i).trigger("mouseover"):elements.eq(i).click();var e=setTimeout(forward,options.delay);$this.mouseover(function(){if(options.pauseonhover)clearTimeout(e)})}function move(e){if(e=="forward")i=++i%elements.length;if(e=="backward")i=--i%elements.length;elements.eq(i).click()}var $this=$(this);options.mouseevent=$this.data("mouseevent")||options.mouseevent;options.attribute=$this.data("attribute")||options.attribute;options.animation=$this.data("animation")||options.animation;options.autorotate=$this.data("autorotate")||options.autorotate;options.pauseonhover=$this.data("pauseonhover")||options.pauseonhover;options.delay=$this.data("delay")||options.delay;options.active=$this.data("active")||options.active;$this.find("> figure").hide();$this.find("> figure").eq(options.active-1).show();$this.find("> ul li").eq(options.active-1).addClass("active");var fn=eval(function(){$(this).trigger("_before");$this.find("> ul li").removeClass("active");$(this).addClass("active");$this.find("> figure").hide();var e=$(this).find("a").attr(options.attribute);if(options.animation){$this.find(e).animate({opacity:"show"},"slow",function(){$(this).trigger("_after")})}else{$this.find(e).show();$(this).trigger("_after")}return false});var init=eval("$this.find('> ul li')."+options.mouseevent+"(fn)");init;var elements=$this.find("> ul li"),i=options.active-1;if(options.autorotate){setTimeout(forward,0);if(options.pauseonhover)$this.on("mouseleave",function(){setTimeout(forward,1e3)})}$this.find(options.controls.next).click(function(){move("forward")});$this.find(options.controls.prev).click(function(){move("backward")});$this.on("destroy",function(){$(this).removeData()})})};$(document).ready(function(){$('[data-toggle="tabslet"]').tabslet()})})(jQuery)
+
+/* Set-up the slider */
+
+jQuery(document).ready(function() {
+ $("#slide-wrapper").tabslet({
+ mouseevent: "click", // Select tab on click or on hover - options: click, hover
+ attribute: "href", // Use href or alt attribute to select tabs - options: href, alt
+ animation: true, // Enables javascript animation effect on tabs change - options: false, true
+ autorotate: false, // Enables automatic rotation of the tabs - options: false, true
+ pauseonhover: true, // Stops autorotation as long as the mouse is over the tabs - options: false, true
+ delay: 8000, // Sets the delay on automatic rotation - options: number in ms
+ active: 1, // Select which tab will be visible at the beginning
+ controls: {} // Set previous and next element - options: element class
+ });
+});
\ No newline at end of file
diff --git a/Library/WebContent/layout/styles/fontawesome-4.2.0.min.css b/Library/WebContent/layout/styles/fontawesome-4.2.0.min.css
new file mode 100644
index 0000000..a5fec2d
--- /dev/null
+++ b/Library/WebContent/layout/styles/fontawesome-4.2.0.min.css
@@ -0,0 +1,4 @@
+/*!
+ * Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome
+ * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
+ */@font-face{font-family:'FontAwesome';src:url('fonts/fontawesome-webfont.eot?v=4.2.0');src:url('fonts/fontawesome-webfont.eot?#iefix&v=4.2.0') format('embedded-opentype'),url('fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'),url('fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'),url('fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}
\ No newline at end of file
diff --git a/Library/WebContent/layout/styles/fonts/FontAwesome.otf b/Library/WebContent/layout/styles/fonts/FontAwesome.otf
new file mode 100644
index 0000000..81c9ad9
Binary files /dev/null and b/Library/WebContent/layout/styles/fonts/FontAwesome.otf differ
diff --git a/Library/WebContent/layout/styles/fonts/fontawesome-webfont.eot b/Library/WebContent/layout/styles/fonts/fontawesome-webfont.eot
new file mode 100644
index 0000000..84677bc
Binary files /dev/null and b/Library/WebContent/layout/styles/fonts/fontawesome-webfont.eot differ
diff --git a/Library/WebContent/layout/styles/fonts/fontawesome-webfont.svg b/Library/WebContent/layout/styles/fonts/fontawesome-webfont.svg
new file mode 100644
index 0000000..d907b25
--- /dev/null
+++ b/Library/WebContent/layout/styles/fonts/fontawesome-webfont.svg
@@ -0,0 +1,520 @@
+
+
+
\ No newline at end of file
diff --git a/Library/WebContent/layout/styles/fonts/fontawesome-webfont.ttf b/Library/WebContent/layout/styles/fonts/fontawesome-webfont.ttf
new file mode 100644
index 0000000..96a3639
Binary files /dev/null and b/Library/WebContent/layout/styles/fonts/fontawesome-webfont.ttf differ
diff --git a/Library/WebContent/layout/styles/fonts/fontawesome-webfont.woff b/Library/WebContent/layout/styles/fonts/fontawesome-webfont.woff
new file mode 100644
index 0000000..628b6a5
Binary files /dev/null and b/Library/WebContent/layout/styles/fonts/fontawesome-webfont.woff differ
diff --git a/Library/WebContent/layout/styles/framework.css b/Library/WebContent/layout/styles/framework.css
new file mode 100644
index 0000000..0e9e510
--- /dev/null
+++ b/Library/WebContent/layout/styles/framework.css
@@ -0,0 +1,86 @@
+@charset "utf-8";
+/*
+Template Name: Academic Education V2
+Author:
OS Templates
+Author URI: http://www.os-templates.com/
+Licence: Free to use under our free template licence terms
+Licence URI: http://www.os-templates.com/template-terms
+File: Framework CSS
+*/
+
+html{overflow-y:scroll;}
+body{margin:0; padding:0; font-size:14px; line-height:1.4em;}
+
+.bold{font-weight:bold;}
+.center{text-align:center;}
+.right{text-align:right;}
+.uppercase{text-transform:uppercase;}
+.hidden{display:none;}
+.nospace{margin:0; padding:0; list-style:none;}
+.borderedbox{padding:5px; border:1px solid;}
+
+.clear, .group{display:block;}
+.clear::before, .clear::after, .group::before, .group::after{display:table; content:"";}
+.clear, .clear::after, .group, .group::after{clear:both;}
+
+a{outline:none; text-decoration:none;}
+
+.fl_left, .imgl{float:left;}
+.fl_right, .imgr{float:right;}
+
+img{width:auto; max-width:100%; height:auto; margin:0; padding:0; border:none; line-height:normal; vertical-align:middle; box-sizing:border-box;}
+.imgl{margin:0 15px 10px 0; clear:left;}
+.imgr{margin:0 0 10px 15px; clear:right;}
+
+
+/* Fonts
+--------------------------------------------------------------------------------------------------------------- */
+body, h1, h2, h3, h4, h5, h6, .heading{font-family:Georgia, "Times New Roman", Times, serif;}
+
+
+/* Forms
+--------------------------------------------------------------------------------------------------------------- */
+form, fieldset, legend{margin:0; padding:0; border:none;}
+legend{display:none;}
+label, input, textarea, select{display:block; resize:none; outline:none; color:inherit; font-size:inherit; font-family:inherit; box-sizing:border-box;}
+label{margin-bottom:5px;}
+
+
+/* Generalise
+--------------------------------------------------------------------------------------------------------------- */
+h1, h2, h3, h4, h5, h6, .heading{display:block; margin:0 0 20px 0; font-size:16px; line-height:normal; font-weight:normal; font-style:normal;}
+
+address{font-style:normal; font-weight:normal;}
+hr{display:block; width:100%; height:1px; border:solid; border-width:1px 0 0 0;}
+
+.wrapper{display:block; margin:0 auto 20px; text-align:left; word-wrap:break-word;}
+.rounded, #topbar, #header, #mainav, #slider, .container, #footer, #copyright{display:block; width:100%; box-sizing:border-box;}
+.rounded{margin:0; padding:10px;}
+
+
+/* HTML 5 Overrides
+--------------------------------------------------------------------------------------------------------------- */
+address, article, aside, figcaption, figure, footer, header, main, nav, section{display:block; margin:0; padding:0;}
+
+
+/* Grid
+--------------------------------------------------------------------------------------------------------------- */
+.one_half, .one_third, .two_third, .one_quarter, .two_quarter, .three_quarter{display:inline-block; float:left; margin:0 0 0 3.06748466257669%; list-style:none; box-sizing:border-box;}
+
+.first{margin-left:0; clear:left;}
+
+.one_quarter{width:22.69938650306748%;}
+.one_third{width:31.28834355828221%;}
+.one_half, .two_quarter{width:48.46625766871166%;}
+.two_third{width:65.6441717791411%;}
+.three_quarter{width:74.23312883435584%;}
+
+
+/* Spacing
+--------------------------------------------------------------------------------------------------------------- */
+.btmspace-10{margin-bottom:10px;}
+.btmspace-15{margin-bottom:15px;}
+.btmspace-30{margin-bottom:30px;}
+.btmspace-50{margin-bottom:50px;}
+
+.pright-10{margin-right:10px;}
\ No newline at end of file
diff --git a/Library/WebContent/layout/styles/layout.css b/Library/WebContent/layout/styles/layout.css
new file mode 100644
index 0000000..76adf02
--- /dev/null
+++ b/Library/WebContent/layout/styles/layout.css
@@ -0,0 +1,434 @@
+@charset "utf-8";
+/*
+Template Name: Academic Education V2
+Author:
OS Templates
+Author URI: http://www.os-templates.com/
+Licence: Free to use under our free template licence terms
+Licence URI: http://www.os-templates.com/template-terms
+File: Layout CSS
+*/
+
+@import url("fontawesome-4.2.0.min.css");
+@import url("../scripts/nivo-lightbox/nivo-lightbox.min.css");
+@import url("framework.css");
+
+
+/* Rows
+--------------------------------------------------------------------------------------------------------------- */
+.row0, .row0 a{}
+.row1, .row1 a{}
+.row2, .row2 a{}
+.row3, .row3 a{}
+.row4, .row4 a{}
+.row5, .row5 a{}
+
+
+/* Top Bar
+--------------------------------------------------------------------------------------------------------------- */
+#topbar{padding:10px 0 0 0; text-align:right; font-size:.8em;}
+
+#topbar li{display:inline; margin-right:3px; padding-right:8px; border-right:1px solid;}
+#topbar li:last-child{margin-right:0; padding-right:0; border:none;}
+
+
+/* Header
+--------------------------------------------------------------------------------------------------------------- */
+#header{}
+
+#header #logo{}
+#header #logo h1{margin:0 0 8px 0; padding:0; font-size:36px; line-height:12px; font-variant:small-caps; font-style:normal;}
+#header #logo p{margin:0; padding:0;}
+
+#header form{display:block; position:relative; width:100%;}
+#header input, #header button{display:block; height:30px; border:none;}
+#header input{width:100%; min-width:250px; padding:5px 40px 5px 5px;}
+#header button{position:absolute; top:0; right:0; width:35px; font-size:16px; cursor:pointer;}
+#header button em{display:none;}
+
+
+/* Homepage Slider
+--------------------------------------------------------------------------------------------------------------- */
+#slider{position:relative; overflow:hidden;}
+#slider .rounded{padding:9px;}
+#slider a, #slider ul, #slider img{margin:0; padding:0; border:none; outline:none; list-style:none; text-decoration:none;}
+
+#slide-wrapper, #slide-wrapper figure, #slide-wrapper img{display:block; overflow:hidden;}
+#slide-wrapper figure, #slide-wrapper figure img{position:relative;}
+
+#slide-wrapper figure figcaption{display:block; position:absolute; top:50px; right:25px; width:350px; height:200px; margin:0; padding:30px; box-sizing:border-box; overflow:hidden;}
+#slide-wrapper figure figcaption p{margin:0; padding:0; line-height:1.6em;}
+
+#slider #slide-tabs{display:block; overflow:hidden; font-size:12px;}
+#slider #slide-tabs li{display:inline-block; float:left;}
+#slider #slide-tabs li a{display:block; width:192px; min-height:60px; padding:10px; box-sizing:border-box; border:solid; border-width:0 0 1px 1px; font-weight:bold; text-align:center; text-transform:uppercase;}
+#slider #slide-tabs li:last-child a{border-width:0 1px 1px 1px;}
+
+
+/* Content Area
+--------------------------------------------------------------------------------------------------------------- */
+.container{padding:20px 10px;}
+
+.container h1, .container h2, .container h3, .container h4, .container h5, .container h6, .container .heading{padding-bottom:8px; border-bottom:1px solid;}
+
+/* Content */
+.container #content{}
+
+#twitter{display:block; padding:15px;}
+#twitter div{padding:25px 0;}
+#twitter div:first-child{border-right:2px solid;}
+
+.listing li{margin:0 0 30px 0; padding:0 0 20px 0; border-bottom:1px solid;}
+.listing li:last-child{margin-bottom:0;}
+
+.mediacontainer, .mediacontainer iframe{display:block; margin:0; padding:0;}
+.mediacontainer{width:100%; position:relative;}
+
+.quickinfo{text-align:center; text-transform:uppercase; font-weight:bold; word-wrap:break-word;}
+.quickinfo li{display:block; width:100%; min-height:80px; margin:0 0 20px 0; overflow:hidden;}
+.quickinfo li:last-child{margin-bottom:0;}
+.quickinfo li a{display:block; position:relative; width:100%; min-height:80px; padding:18px 0 0 80px; box-sizing:border-box;}
+.quickinfo li a img{position:absolute; top:0; left:0; width:80px; height:80px;}
+
+/* Comments */
+#comments ul{margin:0 0 40px 0; padding:0; list-style:none;}
+#comments li{margin:0 0 10px 0; padding:15px;}
+#comments .avatar{float:right; margin:0 0 10px 10px; padding:3px; border:1px solid;}
+#comments address{font-weight:bold;}
+#comments time{font-size:smaller;}
+#comments .comcont{display:block; margin:0; padding:0;}
+#comments .comcont p{margin:10px 5px 10px 0; padding:0;}
+
+#comments form{display:block; width:100%;}
+#comments input, #comments textarea{width:100%; padding:10px; border:1px solid;}
+#comments textarea{overflow:auto;}
+#comments div{margin-bottom:15px;}
+#comments input[type="submit"], #comments input[type="reset"]{display:inline-block; width:auto; min-width:150px; margin:0; padding:8px 5px; cursor:pointer;}
+
+/* Sidebar */
+.container .sidebar{}
+
+.sidebar .sdb_holder{margin-bottom:50px;}
+.sidebar .sdb_holder:last-child{margin-bottom:0;}
+
+
+/* Footer
+--------------------------------------------------------------------------------------------------------------- */
+#footer{padding:10px;}
+
+#footer .faico{margin-bottom:10px;}
+#footer .faico li{margin:0 10px 0 0;}
+#footer .faico li:last-child{margin-right:0;}
+#footer .faico a{border:1px solid;}
+
+#footer form{display:block; position:relative; width:100%;}
+#footer legend{display:block; width:100%; margin-bottom:10px;}
+#footer input, #footer button{display:block; height:30px; border:none;}
+#footer input{width:100%; min-width:250px; padding:5px 40px 5px 5px;}
+#footer button{position:absolute; bottom:0; right:0; width:35px; font-size:16px; cursor:pointer;}
+#footer button em{display:none;}
+
+
+/* Copyright
+--------------------------------------------------------------------------------------------------------------- */
+#copyright{}
+#copyright p{margin:0; padding:0;}
+
+
+/* ------------------------------------------------------------------------------------------------------------ */
+/* ------------------------------------------------------------------------------------------------------------ */
+/* ------------------------------------------------------------------------------------------------------------ */
+/* ------------------------------------------------------------------------------------------------------------ */
+/* ------------------------------------------------------------------------------------------------------------ */
+
+
+/* Navigation
+--------------------------------------------------------------------------------------------------------------- */
+nav ul, nav ol{margin:0; padding:0; list-style:none;}
+
+#mainav .drop::after, #mainav li li .drop::after, #breadcrumb li a::after, .sidebar nav a::after{position:absolute; font-family:"FontAwesome"; font-size:10px; line-height:10px;}
+
+/* Top Navigation */
+#mainav{text-align:center; text-transform:uppercase;}
+#mainav ul{}
+#mainav ul ul{z-index:9999; position:absolute; width:160px;}
+#mainav ul ul ul{left:160px; top:0;}
+#mainav li{display:inline-block; position:relative; margin:0 30px 0 0; padding:0;}
+#mainav li:last-child{margin-right:0;}
+#mainav li li{width:100%; margin:0; text-align:left; text-transform:none;}
+#mainav li a{display:block; padding:0;}
+#mainav li li a{border:solid; border-width:0 0 1px 0;}
+#mainav li li:last-child a{border-bottom:none;}
+#mainav .drop{padding-left:15px;}
+#mainav li li a, #mainav li li .drop{display:block; margin:0; padding:10px 15px;}
+#mainav .drop::after, #mainav li li .drop::after{content:"\f0d7";}
+#mainav .drop::after{top:5px; left:5px;}
+#mainav li li .drop::after{top:15px; left:5px;}
+#mainav ul ul{display:none;}
+#mainav ul li:hover > ul{display:block;}
+
+#mainav form{display:none; margin:0; padding:0;}
+#mainav form select, #mainav form select option{display:block; cursor:pointer; outline:none;}
+#mainav form select{width:100%; padding:5px; border:1px solid;}
+#mainav form select option{margin:5px; padding:0; border:none;}
+
+/* Breadcrumb */
+#breadcrumb{}
+#breadcrumb ul{margin:0; padding:0; list-style:none;}
+#breadcrumb li{display:inline-block; margin:0 6px 0 0; padding:0;}
+#breadcrumb li a{display:block; position:relative; margin:0; padding:0 12px 0 0; font-size:12px;}
+#breadcrumb li a::after{top:5px; right:0; content:"\f101";}
+#breadcrumb li:last-child a{margin:0; padding:0;}
+#breadcrumb li:last-child a::after{display:none;}
+
+/* Sidebar Navigation */
+.sidebar nav{display:block; width:100%;}
+.sidebar nav li{margin:0 0 3px 0; padding:0;}
+.sidebar nav a{display:block; position:relative; margin:0; padding:5px 10px 5px 15px; text-decoration:none; border:solid; border-width:0 0 1px 0;}
+.sidebar nav a::after{top:9px; left:5px; content:"\f101";}
+.sidebar nav ul ul a{padding-left:35px;}
+.sidebar nav ul ul a::after{left:25px;}
+.sidebar nav ul ul ul a{padding-left:55px;}
+.sidebar nav ul ul ul a::after{left:45px;}
+
+/* Pagination */
+.pagination{display:block; width:100%; text-align:center; clear:both;}
+.pagination li{display:inline-block; margin:0 2px 0 0;}
+.pagination li:last-child{margin-right:0;}
+.pagination a, .pagination strong{display:block; padding:8px 11px; border:1px solid; font-weight:normal; background-clip:padding-box;}
+
+
+/* Tables
+--------------------------------------------------------------------------------------------------------------- */
+table, th, td{border:1px solid; border-collapse:collapse; vertical-align:top; box-sizing:border-box;}
+table, th{table-layout:auto;}
+table{width:100%; margin-bottom:15px;}
+th, td{padding:5px 8px;}
+td{border-width:0 1px;}
+
+
+/* Gallery
+--------------------------------------------------------------------------------------------------------------- */
+#gallery{display:block; width:100%; margin-bottom:50px;}
+#gallery figure figcaption{display:block; width:100%; clear:both;}
+#gallery li{margin-bottom:30px;}
+#gallery li a{display:block;}
+
+
+/* Portfolio
+--------------------------------------------------------------------------------------------------------------- */
+#portfolio{display:block; width:100%; margin-bottom:20px;}
+#portfolio li, #portfolio img{margin-bottom:30px;}
+
+
+/* Font Awesome Social Icons
+--------------------------------------------------------------------------------------------------------------- */
+.faico{margin:0; padding:0; list-style:none;}
+.faico li{display:inline-block; margin:0 2px 0 0; padding:0; line-height:normal;}
+.faico li:last-child{margin-right:0;}
+
+.faico a{display:block; width:40px; height:40px; line-height:40px; font-size:20px; text-align:center;}
+
+.faico a{color:#FFFFFF;}
+.faico a:hover{color:#FFFFFF; background-color:#CCCCCC;}
+
+.faicon-facebook{background-color:#3B5998;}
+.faicon-flickr{background-color:#FF0084;}
+.faicon-linkedin{background-color:#0E76A8;}
+.faicon-rss{background-color:#EE802F;}
+.faicon-twitter{background-color:#00ACEE;}
+
+
+/* ------------------------------------------------------------------------------------------------------------ */
+/* ------------------------------------------------------------------------------------------------------------ */
+/* ------------------------------------------------------------------------------------------------------------ */
+/* ------------------------------------------------------------------------------------------------------------ */
+/* ------------------------------------------------------------------------------------------------------------ */
+
+
+/* Rounded Corners
+--------------------------------------------------------------------------------------------------------------- */
+.rounded, input, button, textarea, #header input, #footer input, #slide-wrapper figcaption, .avatar, #comments li, .faico a, #twitter,
+.pagination a, .pagination strong{border-radius:8px;}
+
+#header button, #footer button{border-radius:0 8px 8px 0;}
+
+#mainav li li:first-child a, #mainav li li:first-child li:first-child a, #mainav li li:last-child li:first-child a{border-radius:8px 8px 0 0;}
+#mainav li li:last-child a, #mainav li li:last-child li:last-child a, #mainav li li:first-child li:last-child a{border-radius:0 0 8px 8px;}
+#mainav li li:first-child li a, #mainav li li:last-child li a{border-radius:0;}
+
+#slide-wrapper figure img, #slide-wrapper figure .view:hover::before{border-radius:8px 8px 0 0;}
+
+#slider #slide-tabs li:first-child a{border-radius:0 0 0 8px;}
+#slider #slide-tabs li:last-child a{border-radius:0 0 8px 0;}
+
+
+/* ------------------------------------------------------------------------------------------------------------ */
+/* ------------------------------------------------------------------------------------------------------------ */
+/* ------------------------------------------------------------------------------------------------------------ */
+/* ------------------------------------------------------------------------------------------------------------ */
+/* ------------------------------------------------------------------------------------------------------------ */
+
+
+/* Colours
+--------------------------------------------------------------------------------------------------------------- */
+body{background-color:#06213F;}
+
+a{color:#55ABDA;}
+
+hr, .borderedbox{border-color:#D7D7D7;}
+
+label span{color:#FF0000; background-color:inherit;}
+
+.rounded{color:inherit; background-color:#F9F9F9;}
+
+
+/* Rows */
+
+.row0, .row0 a{color:#F9F9F9; background-color:#06213F;}
+.row1{color:#979797; background-color:#06213F;}
+.row1 a{color:#F9F9F9; background-color:inherit;}
+.row2, .row2 a{color:#06213F; background-color:inherit;}
+.row3{color:#979797; background-color:inherit;}
+.row4{color:#979797; background-color:inherit;}
+.row5, .row5 a{color:#55ABDA; background-color:#06213F;}
+
+
+/* Top Bar */
+#topbar li{border-color:#FFFFFF;}
+
+
+/* Header */
+#header input{color:#979797; background-color:#FFFFFF;}
+#header button{color:#F9F9F9; background-color:#55ABDA;}
+
+
+/* Homepage Slider */
+#slide-wrapper figure figcaption{color:#666666; background-color:rgba(255,255,255,.5);}
+#slide-wrapper figure figcaption:hover{background-color:rgba(255,255,255,1);}
+#slider #slide-tabs li a{color:#666666; background-color:#DEDACB; border-color:#666666;}
+#slider #slide-tabs li a:hover, #slider #slide-tabs li.active a{color:#FFFFFF; background-color:#06213F;}
+
+
+/* Content Area */
+.container h1, .container h2, .container h3, .container h4, .container h5, .container h6, .container .heading{border-color:#D7D7D7;}
+
+#twitter{color:#FFFFFF; background-color:#06213F;}
+#twitter div:first-child{border-color:#FFFFFF;}
+
+.listing li{border-color:#D7D7D7;}
+
+.quickinfo li a{color:#666666; background-color:#DEDACB;}
+.quickinfo li a:hover{color:#FFFFFF; background-color:#06213F;}
+
+
+/* Footer */
+#footer .faico a{box-shadow:2px 2px 0 0 rgba(0,0,0,.5); border-color:rgba(0,0,0,.2);}
+
+#footer input{color:#FFFFFF; background-color:#979797;}
+#footer button{color:#F9F9F9; background-color:#55ABDA;}
+
+
+/* Navigation */
+#mainav li a{color:inherit;}
+#mainav .active a, #mainav a:hover, #mainav li:hover > a{color:#55ABDA; background-color:inherit;}
+#mainav li li a, #mainav .active li a{color:#FFFFFF; background-color:rgba(0,0,0,.6); border-color:rgba(0,0,0,.6);}
+#mainav li li:hover > a, #mainav .active .active > a{color:#FFFFFF; background-color:#55ABDA;}
+#mainav form select{border-color:#D7D7D7;}
+
+#breadcrumb a{color:#888888; background-color:inherit;}
+#breadcrumb li:last-child a{color:#55ABDA;}
+
+.container .sidebar nav a{color:inherit; border-color:#D7D7D7;}
+.container .sidebar nav a:hover{color:#55ABDA;}
+
+.pagination a, .pagination strong{border-color:#D7D7D7;}
+.pagination .current strong{color:#FFFFFF; background-color:#06213F;}
+
+
+/* Tables + Comments */
+table, th, td, #comments .avatar, #comments input, #comments textarea{border-color:#D7D7D7;}
+th{color:black; background-color:#373737;}
+tr, #comments li, #comments input[type="submit"], #comments input[type="reset"]{color:inherit; background-color:#FBFBFB;}
+tr:nth-child(odd), #comments li:nth-child(odd){color:inherit; background-color:#FFFFFF;}
+table a, #comments a{background-color:inherit;}
+
+
+/* ------------------------------------------------------------------------------------------------------------ */
+/* ------------------------------------------------------------------------------------------------------------ */
+/* ------------------------------------------------------------------------------------------------------------ */
+/* ------------------------------------------------------------------------------------------------------------ */
+/* ------------------------------------------------------------------------------------------------------------ */
+
+
+/* Media Queries
+--------------------------------------------------------------------------------------------------------------- */
+@-ms-viewport{width:device-width;}
+
+
+/* Smartphone + Tablet
+---------------------------------------------------------------------------------------------------------------------------------------*/
+@media screen and (min-width:180px) and (max-width:750px) {
+ .imgl, .imgr{display:inline-block; float:none; margin:0 0 10px 0;}
+ .fl_left, .fl_right{display:block; float:none;}
+ .one_half, .one_third, .two_third, .one_quarter, .two_quarter, .three_quarter{display:block; float:none; width:auto; margin:0 0 30px 0; padding:0;}
+}
+
+@media screen and (min-width:180px) and (max-width:900px) {
+ .wrapper{max-width:95%;}
+
+ #topbar{text-align:center;}
+
+ #header #logo{margin-bottom:15px; text-align:center;}
+ #header #logo h1{margin:0; line-height:1em;}
+ #header form{max-width:250px; margin:0 auto;}
+ #header input{min-width:0;}
+
+ #mainav ul{display:none;}
+ #mainav form{display:block;}
+
+ #slide-wrapper figure figcaption{display:none;}
+ #slider .view{display:block; position:relative; width:100%; height:100%;}
+ #slider .view:hover::before{display:block; position:absolute; top:0; left:0; width:100%; height:100%; content:""; background-color:rgba(0,0,0,.6); z-index:1;}
+ #slider .view:hover::after{display:block; position:absolute; top:50%; left:50%; width:36px; height:36px; margin:-18px 0 0 -18px; text-align:center; font-family:"FontAwesome"; content:"\f05a"; font-size:36px; line-height:36px; z-index:2;}
+ #slider #slide-tabs li{display:block; float:none;}
+ #slider #slide-tabs li a{width:100%; min-height:0; border-width:0 1px 1px 1px;}
+ #slider #slide-tabs li:first-child a{border-radius:0;}
+ #slider #slide-tabs li:last-child a{border-radius:0 0 8px 8px;}
+
+ #twitter div{margin:0; padding:0;}
+ #twitter div:first-child{padding:15px 0; border-right:none;}
+
+ .quickinfo li{max-width:250px;}
+
+ #footer div:last-child{margin-bottom:0;}
+ #footer figure.center{text-align:left;}
+ #footer .faico li{margin:0 10px 10px 0;}
+ #footer input{min-width:0;}
+
+ #copyright{text-align:center;}
+ #copyright p:first-of-type{margin-bottom:10px;}
+
+ #comments input[type="reset"]{margin-top:10px;}
+
+ .pagination li{display:inline-block; margin:0 5px 5px 0;}
+}
+
+@media screen and (min-width:750px) and (max-width:900px) {
+ .quickinfo{font-size:11px; line-height:1.2em;}
+ .quickinfo li a{padding:20px 5px 0 85px;}
+}
+
+
+/* Max Wrapper Width
+---------------------------------------------------------------------------------------------------------------------------------------*/
+@media screen and (min-width:978px) {
+ .wrapper{max-width:978px;}
+}
+
+
+/* Other
+---------------------------------------------------------------------------------------------------------------------------------------*/
+@media screen and (max-width:650px) {
+ .scrollable{display:block; width:100%; margin:0 0 30px 0; padding:0 0 15px 0; overflow:auto; overflow-x:scroll;}
+ .scrollable table{margin:0; padding:0; white-space:nowrap;}
+}
\ No newline at end of file
diff --git a/Library/WebContent/pages/basic-grid.html b/Library/WebContent/pages/basic-grid.html
new file mode 100644
index 0000000..7682131
--- /dev/null
+++ b/Library/WebContent/pages/basic-grid.html
@@ -0,0 +1,262 @@
+
+
+
+
+
Academic Education V2 | Pages | Basic Grid
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ This page basically demonstrates the use of the mini grid system used in this template.
+ As can be seen below, multiple rounded boxes can also be created for individual sections.
+ Please note that when using multiple sections you can only use one <main></main> element per page / document, the rest have to use other markup e.g. <div></div>, <section></section> etc.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
1/4
+
1/4
+
1/4
+
1/4
+
+
+
1/4
+
1/4
+
2/4 or 1/2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Library/WebContent/pages/full-width.html b/Library/WebContent/pages/full-width.html
new file mode 100644
index 0000000..cdd10a8
--- /dev/null
+++ b/Library/WebContent/pages/full-width.html
@@ -0,0 +1,290 @@
+
+
+
+
+
Academic Education V2 | Pages | Full Width
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <h1> to <h6> - Headline Colour and Size Are All The Same
+
+ Aliquatjusto quisque nam consequat doloreet vest orna partur scetur portortis nam. Metadipiscing eget facilis elit sagittis felisi eger id justo maurisus convallicitur.
+ Dapiensociis temper donec auctortortis cumsan et curabitur condis lorem loborttis leo. Ipsumcommodo libero nunc at in velis tincidunt pellentum tincidunt vel lorem.
+
+ This is a W3C compliant free website template from OS Templates. For full terms of use of this template please read our website template licence.
+ You can use and modify the template for both personal and commercial use. You must keep all copyright information and credit links in the template and associated files. For more website templates visit free website templates.
+ Portortornec condimenterdum eget consectetuer condis consequam pretium pellus sed mauris enim. Puruselit mauris nulla hendimentesque elit semper nam a sapien urna sempus.
+ Table(s)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Library/WebContent/pages/gallery.html b/Library/WebContent/pages/gallery.html
new file mode 100644
index 0000000..1ba2671
--- /dev/null
+++ b/Library/WebContent/pages/gallery.html
@@ -0,0 +1,211 @@
+
+
+
+
+
Academic Education V2 | Pages | Gallery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Library/WebContent/pages/portfolio.html b/Library/WebContent/pages/portfolio.html
new file mode 100644
index 0000000..dbfea09
--- /dev/null
+++ b/Library/WebContent/pages/portfolio.html
@@ -0,0 +1,236 @@
+
+
+
+
+
Academic Education V2 | Pages | Portfolio
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+
+ Metridiculis conseque quis
+ Orciinterdum condimenterdum nullamcorper elit nam curabitur laoreet met praesenean et iaculum. Metridiculis conseque quis iaculum aenean nunc aenean quis nam nis dui.
+ Read More Here »
+
+
+ -
+
+ Metridiculis conseque quis
+ Orciinterdum condimenterdum nullamcorper elit nam curabitur laoreet met praesenean et iaculum. Metridiculis conseque quis iaculum aenean nunc aenean quis nam nis dui.
+ Read More Here »
+
+
+ -
+
+ Metridiculis conseque quis
+ Orciinterdum condimenterdum nullamcorper elit nam curabitur laoreet met praesenean et iaculum. Metridiculis conseque quis iaculum aenean nunc aenean quis nam nis dui.
+ Read More Here »
+
+
+ -
+
+ Metridiculis conseque quis
+ Orciinterdum condimenterdum nullamcorper elit nam curabitur laoreet met praesenean et iaculum. Metridiculis conseque quis iaculum aenean nunc aenean quis nam nis dui.
+ Read More Here »
+
+
+ -
+
+ Metridiculis conseque quis
+ Orciinterdum condimenterdum nullamcorper elit nam curabitur laoreet met praesenean et iaculum. Metridiculis conseque quis iaculum aenean nunc aenean quis nam nis dui.
+ Read More Here »
+
+
+ -
+
+ Metridiculis conseque quis
+ Orciinterdum condimenterdum nullamcorper elit nam curabitur laoreet met praesenean et iaculum. Metridiculis conseque quis iaculum aenean nunc aenean quis nam nis dui.
+ Read More Here »
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Library/WebContent/pages/sidebar-left-2.html b/Library/WebContent/pages/sidebar-left-2.html
new file mode 100644
index 0000000..d1028f0
--- /dev/null
+++ b/Library/WebContent/pages/sidebar-left-2.html
@@ -0,0 +1,350 @@
+
+
+
+
+
Academic Education V2 | Pages | Sidebar Left 2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
<h1> to <h6> - Headline Colour and Size Are All The Same
+

+
Aliquatjusto quisque nam consequat doloreet vest orna partur scetur portortis nam. Metadipiscing eget facilis elit sagittis felisi eger id justo maurisus convallicitur.
+
Dapiensociis temper donec auctortortis cumsan et curabitur condis lorem loborttis leo. Ipsumcommodo libero nunc at in velis tincidunt pellentum tincidunt vel lorem.
+

+
This is a W3C compliant free website template from OS Templates. For full terms of use of this template please read our website template licence.
+
You can use and modify the template for both personal and commercial use. You must keep all copyright information and credit links in the template and associated files. For more website templates visit free website templates.
+
Portortornec condimenterdum eget consectetuer condis consequam pretium pellus sed mauris enim. Puruselit mauris nulla hendimentesque elit semper nam a sapien urna sempus.
+
Table(s)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Library/WebContent/pages/sidebar-left.html b/Library/WebContent/pages/sidebar-left.html
new file mode 100644
index 0000000..250a2f1
--- /dev/null
+++ b/Library/WebContent/pages/sidebar-left.html
@@ -0,0 +1,350 @@
+
+
+
+
+
Academic Education V2 | Pages | Sidebar Left
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
<h1> to <h6> - Headline Colour and Size Are All The Same
+

+
Aliquatjusto quisque nam consequat doloreet vest orna partur scetur portortis nam. Metadipiscing eget facilis elit sagittis felisi eger id justo maurisus convallicitur.
+
Dapiensociis temper donec auctortortis cumsan et curabitur condis lorem loborttis leo. Ipsumcommodo libero nunc at in velis tincidunt pellentum tincidunt vel lorem.
+

+
This is a W3C compliant free website template from OS Templates. For full terms of use of this template please read our website template licence.
+
You can use and modify the template for both personal and commercial use. You must keep all copyright information and credit links in the template and associated files. For more website templates visit free website templates.
+
Portortornec condimenterdum eget consectetuer condis consequam pretium pellus sed mauris enim. Puruselit mauris nulla hendimentesque elit semper nam a sapien urna sempus.
+
Table(s)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Library/WebContent/pages/sidebar-right-2.html b/Library/WebContent/pages/sidebar-right-2.html
new file mode 100644
index 0000000..041703c
--- /dev/null
+++ b/Library/WebContent/pages/sidebar-right-2.html
@@ -0,0 +1,350 @@
+
+
+
+
+
Academic Education V2 | Pages | Sidebar Right 2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
<h1> to <h6> - Headline Colour and Size Are All The Same
+

+
Aliquatjusto quisque nam consequat doloreet vest orna partur scetur portortis nam. Metadipiscing eget facilis elit sagittis felisi eger id justo maurisus convallicitur.
+
Dapiensociis temper donec auctortortis cumsan et curabitur condis lorem loborttis leo. Ipsumcommodo libero nunc at in velis tincidunt pellentum tincidunt vel lorem.
+

+
This is a W3C compliant free website template from OS Templates. For full terms of use of this template please read our website template licence.
+
You can use and modify the template for both personal and commercial use. You must keep all copyright information and credit links in the template and associated files. For more website templates visit free website templates.
+
Portortornec condimenterdum eget consectetuer condis consequam pretium pellus sed mauris enim. Puruselit mauris nulla hendimentesque elit semper nam a sapien urna sempus.
+
Table(s)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Library/WebContent/pages/sidebar-right.html b/Library/WebContent/pages/sidebar-right.html
new file mode 100644
index 0000000..4c92a92
--- /dev/null
+++ b/Library/WebContent/pages/sidebar-right.html
@@ -0,0 +1,350 @@
+
+
+
+
+
Academic Education V2 | Pages | Sidebar Right
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
<h1> to <h6> - Headline Colour and Size Are All The Same
+

+
Aliquatjusto quisque nam consequat doloreet vest orna partur scetur portortis nam. Metadipiscing eget facilis elit sagittis felisi eger id justo maurisus convallicitur.
+
Dapiensociis temper donec auctortortis cumsan et curabitur condis lorem loborttis leo. Ipsumcommodo libero nunc at in velis tincidunt pellentum tincidunt vel lorem.
+

+
This is a W3C compliant free website template from OS Templates. For full terms of use of this template please read our website template licence.
+
You can use and modify the template for both personal and commercial use. You must keep all copyright information and credit links in the template and associated files. For more website templates visit free website templates.
+
Portortornec condimenterdum eget consectetuer condis consequam pretium pellus sed mauris enim. Puruselit mauris nulla hendimentesque elit semper nam a sapien urna sempus.
+
Table(s)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Library/build/classes/BorrowerServlet.class b/Library/build/classes/BorrowerServlet.class
new file mode 100644
index 0000000..063b6f2
Binary files /dev/null and b/Library/build/classes/BorrowerServlet.class differ
diff --git a/Library/build/classes/CheckInServlet.class b/Library/build/classes/CheckInServlet.class
new file mode 100644
index 0000000..3dee196
Binary files /dev/null and b/Library/build/classes/CheckInServlet.class differ
diff --git a/Library/build/classes/CheckInServlet2.class b/Library/build/classes/CheckInServlet2.class
new file mode 100644
index 0000000..f1016fb
Binary files /dev/null and b/Library/build/classes/CheckInServlet2.class differ
diff --git a/Library/build/classes/CheckOutServlet.class b/Library/build/classes/CheckOutServlet.class
new file mode 100644
index 0000000..25a3ca1
Binary files /dev/null and b/Library/build/classes/CheckOutServlet.class differ
diff --git a/Library/build/classes/FineServlet.class b/Library/build/classes/FineServlet.class
new file mode 100644
index 0000000..705c727
Binary files /dev/null and b/Library/build/classes/FineServlet.class differ
diff --git a/Library/build/classes/FineServlet2.class b/Library/build/classes/FineServlet2.class
new file mode 100644
index 0000000..0902c22
Binary files /dev/null and b/Library/build/classes/FineServlet2.class differ
diff --git a/Library/build/classes/SearchServlet.class b/Library/build/classes/SearchServlet.class
new file mode 100644
index 0000000..5dc3ca9
Binary files /dev/null and b/Library/build/classes/SearchServlet.class differ
diff --git a/Library/src/BorrowerServlet.java b/Library/src/BorrowerServlet.java
new file mode 100644
index 0000000..9ff076c
--- /dev/null
+++ b/Library/src/BorrowerServlet.java
@@ -0,0 +1,117 @@
+
+/*
+ *
+ * @uthor: Anupama
+ *
+ * To add a borrower to the database
+ *
+ */
+
+import java.io.IOException;
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+
+import javax.servlet.RequestDispatcher;
+import javax.servlet.ServletException;
+import javax.servlet.annotation.WebServlet;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * Servlet implementation class LoansServlet
+ */
+@WebServlet("/BorrowerServlet")
+public class BorrowerServlet extends HttpServlet {
+ static Connection conn = null;
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * @see HttpServlet#HttpServlet()
+ */
+ public BorrowerServlet() {
+ super();
+ //System.out.println("Search Servlet");
+ // TODO Auto-generated constructor stub
+ }
+
+ /**
+ * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
+ */
+ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
+ {
+ doPost(request,response);
+ }
+
+ /**
+ * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
+ */
+ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
+ {
+ String url = "jdbc:mysql://localhost:3306/Library";
+ String user = "root";
+ String password = "asd";
+
+ String fname=request.getParameter("fname");
+ String lname=request.getParameter("lname");
+ String address=request.getParameter("address");
+
+ long cardno= (long)0;
+ try
+ {
+ Class.forName("com.mysql.jdbc.Driver");
+ /* Create a connection to the local MySQL server */
+ conn = DriverManager.getConnection(url, user, password);
+
+ /* Create a SQL statement object and execute the query */
+
+ //to get the card no
+ PreparedStatement ps2 = conn.prepareStatement("select max(card_no) from Borrower");
+ ResultSet rs2 = ps2.executeQuery();
+ while (rs2.next())
+ {
+ cardno = rs2.getLong("max(card_no)");
+ }
+
+
+ //to check whether it already exists
+ PreparedStatement ps = conn.prepareStatement("select * from Borrower where fname=? and lname= ? and address = ?");
+ ps.setString(1, fname);
+ ps.setString(2, lname);
+ ps.setString(3, address);
+ ResultSet rs = ps.executeQuery();
+ System.out.println(ps);
+
+ if(!rs.next())
+ {
+ PreparedStatement ps1 = conn.prepareStatement("Insert into Borrower (card_no, Fname, Lname, Address)values (?,?,?,?)");
+ ps1.setLong(1, ++cardno);
+ ps1.setString(2, fname);
+ ps1.setString(3, lname);
+ ps1.setString(4, address);
+ ps1.executeUpdate();
+ System.out.println(ps1);
+ request.setAttribute("message", "Your information is updated!!!");
+
+ }
+
+ else
+ {
+ request.setAttribute("message", "You are already a member!!!");
+ }
+
+ RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/Borrower.jsp");
+ dispatcher.forward(request,response);
+
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+
+ }
+
+}
diff --git a/Library/src/CheckInServlet.java b/Library/src/CheckInServlet.java
new file mode 100644
index 0000000..5a59e21
--- /dev/null
+++ b/Library/src/CheckInServlet.java
@@ -0,0 +1,92 @@
+
+
+/*
+ *
+ * @uthor: Anupama
+ *
+ * To check out a book
+ *
+ */
+import java.io.IOException;
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+
+import javax.servlet.RequestDispatcher;
+import javax.servlet.ServletException;
+import javax.servlet.annotation.WebServlet;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * Servlet implementation class LoansServlet
+ */
+@WebServlet("/CheckInServlet")
+public class CheckInServlet extends HttpServlet {
+ static Connection conn = null;
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * @see HttpServlet#HttpServlet()
+ */
+ public CheckInServlet() {
+ super();
+ //System.out.println("Search Servlet");
+ // TODO Auto-generated constructor stub
+ }
+
+ /**
+ * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
+ */
+ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
+ {
+ doPost(request,response);
+ }
+
+ /**
+ * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
+ */
+ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
+ {
+ String url = "jdbc:mysql://localhost:3306/Library";
+ String user = "root";
+ String password = "asd";
+ long cardno=(long)0;
+
+ String bookid =request.getParameter("bookid");
+ String borrower_name=request.getParameter("borrower_name");
+
+ if(!request.getParameter("cardno").equals(""))
+ cardno=Long.parseLong(request.getParameter("cardno"));
+
+ try
+ {
+ Class.forName("com.mysql.jdbc.Driver");
+ /* Create a connection to the local MySQL server */
+ conn = DriverManager.getConnection(url, user, password);
+
+ /* Create a SQL statement object and execute the query */
+ PreparedStatement ps = conn.prepareStatement(" select Loan_id,card_no,concat(fname,' ',lname) as Name,book_id,title,Branch_id from book_loans natural join borrower natural join book where ((fname=? or lname=?) or card_no= ? or Book_id=? )and date_in is null ;");
+ ps.setString(1, borrower_name);
+ ps.setString(2, borrower_name);
+ ps.setLong(3, cardno);
+ ps.setString(4, bookid);
+ System.out.println(ps+" is the query");
+
+ ResultSet rs = ps.executeQuery();
+ request.setAttribute("loans", rs);
+ RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/CheckIn.jsp");
+ dispatcher.forward(request,response);
+
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+
+ }
+
+}
diff --git a/Library/src/CheckInServlet2.java b/Library/src/CheckInServlet2.java
new file mode 100644
index 0000000..249c7de
--- /dev/null
+++ b/Library/src/CheckInServlet2.java
@@ -0,0 +1,97 @@
+
+/*
+ *
+ * @uthor: Anupama
+ *
+ * To check in a book
+ *
+ */
+import java.io.IOException;
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+import javax.servlet.RequestDispatcher;
+import javax.servlet.ServletException;
+import javax.servlet.annotation.WebServlet;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * Servlet implementation class CheckInServlet2
+ */
+@WebServlet("/CheckInServlet2")
+public class CheckInServlet2 extends HttpServlet {
+ static Connection conn = null;
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * @see HttpServlet#HttpServlet()
+ */
+ public CheckInServlet2() {
+ super();
+ //System.out.println("Search Servlet");
+ // TODO Auto-generated constructor stub
+ }
+
+ /**
+ * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
+ */
+ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
+ {
+ doPost(request,response);
+ }
+
+ /**
+ * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
+ */
+ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
+ {
+ String url = "jdbc:mysql://localhost:3306/Library";
+ String user = "root";
+ String password = "asd";
+ int branchid=0;
+ String bookradio = request.getParameter("book_radio");
+ String str[] = bookradio.split(",");
+ str[2] = str[2].substring(0, str[2].length());
+ Date d = new Date();
+ SimpleDateFormat sdf = new SimpleDateFormat("YYYY-MM-dd");
+
+ try
+ {
+ Class.forName("com.mysql.jdbc.Driver");
+ /* Create a connection to the local MySQL server */
+ conn = DriverManager.getConnection(url, user, password);
+
+ /* Create a SQL statement object and execute the query */
+ PreparedStatement ps = conn.prepareStatement("Update book_copies set no_of_copies= no_of_copies+1 where book_id=? and branch_id=?;");
+ PreparedStatement ps1 = conn.prepareStatement("Update book_loans set Date_in=? where book_id=? and branch_id=? and card_no=? and loan_id=?;");
+ ps.setString(1, str[0]);
+ ps.setInt(2, Integer.parseInt(str[1]));
+
+
+ ps.executeUpdate();
+ ps1.setString(1, sdf.format(d));
+ ps1.setString(2, str[0]);
+ ps1.setInt(3, Integer.parseInt(str[1]));
+ ps1.setLong(4, Long.parseLong(str[2]));
+ ps1.setLong(5, Long.parseLong(str[3]));
+ ps1.executeUpdate();
+ request.setAttribute("message", "BOOK CHECKED IN!!!");
+ System.out.println(ps + "\n"+ps1);
+ RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/CheckIn.jsp");
+ dispatcher.forward(request,response);
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+
+ }
+
+}
diff --git a/Library/src/CheckOutServlet.java b/Library/src/CheckOutServlet.java
new file mode 100644
index 0000000..767f00f
--- /dev/null
+++ b/Library/src/CheckOutServlet.java
@@ -0,0 +1,135 @@
+
+/*
+ *
+ * @uthor: Anupama
+ *
+ * To checkout a book
+ *
+ */
+import java.io.IOException;
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+import javax.servlet.RequestDispatcher;
+import javax.servlet.ServletException;
+import javax.servlet.annotation.WebServlet;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * Servlet implementation class LoansServlet
+ */
+@WebServlet("/CheckOutServlet")
+public class CheckOutServlet extends HttpServlet {
+ static Connection conn = null;
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * @see HttpServlet#HttpServlet()
+ */
+ public CheckOutServlet() {
+ super();
+ System.out.println("Search Servlet");
+ // TODO Auto-generated constructor stub
+ }
+
+ /**
+ * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
+ */
+ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
+ {
+ doPost(request,response);
+ }
+
+ /**
+ * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
+ */
+ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
+ {
+ String url = "jdbc:mysql://localhost:3306/Library";
+ String user = "root";
+ String password = "asd";
+ String bookid = null;
+ Long cardno=(long)0;
+ String branchid=null;
+
+ if(!request.getParameter("bookid").equals(""))
+ bookid=request.getParameter("bookid");
+
+ if(!request.getParameter("branchid").equals(""))
+ branchid=request.getParameter("branchid");
+ if(!request.getParameter("cardno").equals(""))
+ cardno=Long.parseLong(request.getParameter("cardno"));
+
+ Date d = new Date();
+
+ SimpleDateFormat sdf = new SimpleDateFormat("YYYY-MM-dd");
+ try
+ {
+ Class.forName("com.mysql.jdbc.Driver");
+ /* Create a connection to the local MySQL server */
+ conn = DriverManager.getConnection(url, user, password);
+
+ /* Create a SQL statement object and execute the query */
+ PreparedStatement ps1 = conn.prepareStatement("Select count(*) from book_copies where book_id=? and branch_id=? and no_of_copies >0;");
+ ps1.setString(1, bookid);
+ ps1.setString(2, branchid);
+ ResultSet rs1 = ps1.executeQuery();
+ rs1.next();
+
+ PreparedStatement ps2 = conn.prepareStatement("select count(*) from book_loans where card_no=? group by card_no;");
+ ps2.setLong(1, cardno);
+ ResultSet rs2 = ps2.executeQuery();
+
+
+ PreparedStatement ps = null, ps3 = null ;
+ //System.out.println(rs2.getInt(1));
+ //System.out.println(rs1.getInt(1));
+ int a1= rs1.getInt(1);
+ int a2=-1;
+ if(rs2.next())
+ {a2=rs2.getInt(1);
+ rs2.first();
+ }
+
+ System.out.println(a1 + " SDFGH "+ a2);
+ if (a1 > 0 && a2 <3)
+ {
+ System.out.println("hiiii");
+ ps= conn.prepareStatement("Insert into book_loans (Book_id, Branch_id, card_no, Date_out, Due_date)values (?,?,?,?,DATE_ADD(?,INTERVAL 14 DAY))");
+ ps3 = conn.prepareStatement("Update book_copies set no_of_copies= no_of_copies-1 where book_id=? and branch_id=?;");
+ ps.setString(1,bookid);
+ ps.setString(2, branchid);
+ ps.setLong(3, cardno);
+ ps.setString(4, sdf.format(d));
+ ps.setString(5,sdf.format(d));
+ ps3.setString(1, bookid);
+ ps3.setString(2, branchid);
+ ps.executeUpdate();
+ ps3.executeUpdate();
+ request.setAttribute("message", "BOOK CHECKED OUT!!!");
+ }
+ else
+ {
+ request.setAttribute("message", "This check out is not possible!!!");
+ }
+ System.out.println(ps1 + "\n"+ps2+"\n"+ ps+ "\n"+ps3);
+ //System.out.println(ps2);
+ RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/CheckOut.jsp");
+ dispatcher.forward(request,response);
+ }
+
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+
+ }
+
+}
diff --git a/Library/src/FineServlet.java b/Library/src/FineServlet.java
new file mode 100644
index 0000000..c7fc614
--- /dev/null
+++ b/Library/src/FineServlet.java
@@ -0,0 +1,98 @@
+/*
+ *
+ * @uthor: Anupama
+ *
+ * To calculate the fine for a checked in book
+ *
+ */
+
+import java.io.IOException;
+import java.sql.CallableStatement;
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+
+import javax.servlet.RequestDispatcher;
+import javax.servlet.ServletException;
+import javax.servlet.annotation.WebServlet;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * Servlet implementation class FineServlet
+ */
+@WebServlet("/FineServlet")
+public class FineServlet extends HttpServlet {
+ static Connection conn = null;
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * @see HttpServlet#HttpServlet()
+ */
+ public FineServlet() {
+ super();
+ //System.out.println("Search Servlet");
+ // TODO Auto-generated constructor stub
+ }
+
+ /**
+ * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
+ */
+ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
+ {
+ doPost(request,response);
+ }
+
+ /**
+ * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
+ */
+ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
+ {
+ String url = "jdbc:mysql://localhost:3306/Library";
+ String user = "root";
+ String password = "asd";
+ long cardno=(long)0;
+
+ if(!request.getParameter("cardno").equals(""))
+ cardno=Long.parseLong(request.getParameter("cardno"));
+
+ try
+ {
+ Class.forName("com.mysql.jdbc.Driver");
+ /* Create a connection to the local MySQL server */
+ conn = DriverManager.getConnection(url, user, password);
+
+ //stored procedure
+ CallableStatement cs = conn.prepareCall("{call REFRESH()}");
+ cs.execute();
+
+
+ /* Create a SQL statement object and execute the query */
+ PreparedStatement ps = conn.prepareStatement(" select sum(fine_amt) as fine_amt,card_no from book_loans natural join fine where card_no=? and paid=0 group by card_no;");
+ ps.setLong(1, cardno);
+
+ ResultSet rs = ps.executeQuery();
+ request.setAttribute("fine", rs);
+
+ PreparedStatement ps1 = conn.prepareStatement(" select sum(fine_amt) as fine_amt,card_no from book_loans natural join fine where card_no=? and paid=1 group by card_no;");
+ ps1.setLong(1, cardno);
+
+ ResultSet rs1 = ps1.executeQuery();
+ request.setAttribute("paid", rs1);
+ System.out.println(ps+ "/n"+ ps1);
+
+ RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/Fine.jsp");
+ dispatcher.forward(request,response);
+
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+
+ }
+
+}
diff --git a/Library/src/FineServlet2.java b/Library/src/FineServlet2.java
new file mode 100644
index 0000000..f9a0033
--- /dev/null
+++ b/Library/src/FineServlet2.java
@@ -0,0 +1,85 @@
+
+/*
+ *
+ * @uthor: Anupama
+ *
+ * To calculate the fine for a checked in book
+ *
+ */
+import java.io.IOException;
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+
+import javax.servlet.RequestDispatcher;
+import javax.servlet.ServletException;
+import javax.servlet.annotation.WebServlet;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * Servlet implementation class LoansServlet
+ */
+@WebServlet("/FineServlet2")
+public class FineServlet2 extends HttpServlet {
+ static Connection conn = null;
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * @see HttpServlet#HttpServlet()
+ */
+ public FineServlet2() {
+ super();
+ //System.out.println("Search Servlet");
+ // TODO Auto-generated constructor stub
+ }
+
+ /**
+ * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
+ */
+ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
+ {
+ doPost(request,response);
+ }
+
+ /**
+ * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
+ */
+ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
+ {
+ String url = "jdbc:mysql://localhost:3306/Library";
+ String user = "root";
+ String password = "asd";
+ long cardno=(long)0;
+
+ if(!request.getParameter("book_radio").equals(""))
+ cardno=Long.parseLong(request.getParameter("book_radio"));
+
+ try
+ {
+ Class.forName("com.mysql.jdbc.Driver");
+ /* Create a connection to the local MySQL server */
+ conn = DriverManager.getConnection(url, user, password);
+
+ /* Create a SQL statement object and execute the query */
+ PreparedStatement ps = conn.prepareStatement("update fine set paid=1 where paid=0 and loan_id in (select loan_id from book_loans where card_no=? and Date_in is not null);");
+ ps.setLong(1, cardno);
+ System.out.println(ps+" is the query");
+
+ ps.executeUpdate();
+ request.setAttribute("message", "Paid!!");
+ RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/Fine.jsp");
+ dispatcher.forward(request,response);
+
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+
+ }
+
+}
diff --git a/Library/src/SearchServlet.java b/Library/src/SearchServlet.java
new file mode 100644
index 0000000..dfeff74
--- /dev/null
+++ b/Library/src/SearchServlet.java
@@ -0,0 +1,160 @@
+/*
+ *
+ * @uthor: Anupama
+ *
+ * To search for a book in the database
+ *
+ */
+
+import java.io.IOException;
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+
+import javax.servlet.RequestDispatcher;
+import javax.servlet.ServletException;
+import javax.servlet.annotation.WebServlet;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+
+/**
+ * Servlet implementation class SearchServlet
+ */
+@WebServlet("/SearchServlet")
+public class SearchServlet extends HttpServlet {
+ static Connection conn = null;
+
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * @see HttpServlet#HttpServlet()
+ */
+ public SearchServlet() {
+ super();
+
+ // TODO Auto-generated constructor stub
+ }
+
+ /**
+ * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
+ */
+ protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
+ {
+ doPost(request,response);
+ }
+
+ /**
+ * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
+ */
+ protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
+ {
+ String url = "jdbc:mysql://localhost:3306/Library";
+ String user = "root";
+ String password = "asd";
+
+ String bookid = null;
+
+ if(!request.getParameter("bookid").equals(""))
+ bookid=request.getParameter("bookid");
+
+ String booktitle = request.getParameter("booktitle");
+ String author = request.getParameter("author");
+
+ String bookname=null;
+ String query="select * from Book_authors natural join book where book_id=? and title like ? or author_name like ?; ";
+
+ int flag1 =0, flag2=0, flag3=0;
+
+ if(request.getParameter("bookid").equals(""))
+ flag1 =0;
+ else
+ flag1 =1;
+ if(request.getParameter("booktitle").equals(""))
+ flag2=0;
+ else
+ flag2=1;
+ if(request.getParameter("author").equals(""))
+ flag3 =0;
+ else
+ flag3=1;
+
+ int a= flag1 * 4 + flag2 * 2 + flag3 * 1;
+
+ /** 1 2 3 bookid-booktitle-author
+ 000 0
+ 001 1
+ 010 2
+ 011 3
+ 100 4
+ 101 5
+ 110 6
+ 111 7 **/
+ System.out.println("case " + a);
+
+ switch(a)
+ {
+ case 0 :
+ query= "(select * from Book_authors natural join book natural join book_copies natural join book_count where book_id=? and title= ? and author_name like ?) UNION (select * from Book_authors natural join book natural join book_copies natural join book_count where book_id=0000 and title like 'xxxxxx' and author_name like 'xxxxxxxx'); ";
+ break;
+
+ case 1 :
+ query= "(select * from Book_authors natural join book natural join book_copies natural join book_count where book_id=? and title like ? and book_id=0000000) UNION(select * from Book_authors natural join book natural join book_copies natural join book_count where author_name like ?);";
+ break;
+
+ case 2 :
+ query= "(select * from Book_authors natural join book natural join book_copies natural join book_count where book_id=? and book_id=0000000) UNION(select * from Book_authors natural join book natural join book_copies natural join book_count where title like ? ) UNION (select * from Book_authors natural join book natural join book_copies natural join book_count where author_name like ? and book_id=0000000) ;";
+ break;
+
+ case 3 :
+ query= "(select * from Book_authors natural join book natural join book_copies natural join book_count where book_id=? and book_id=0000000) UNION(select * from Book_authors natural join book natural join book_copies natural join book_count where title like ? and author_name like ? );";
+ break;
+
+ case 4 :
+ query= "(select * from Book_authors natural join book natural join book_copies natural join book_count where book_id= ? )UNION(select * from Book_authors natural join book natural join book_copies natural join book_count where title like ? and title like ? and book_id=0000000) ;";
+ break;
+
+ case 5 :
+ query= "select * from Book_authors natural join book natural join book_copies natural join book_count where book_id=? and title not in (?) and author_name like ?;";
+ break;
+
+ case 6 :
+ query= "(select * from Book_authors natural join book natural join book_copies natural join book_count where book_id=? and title like ? ) UNION(select * from Book_authors natural join book natural join book_copies natural join book_count where author_name like ? and book_id=0000000);";
+ break;
+
+ case 7 :
+ query= "select * from Book_authors natural join book natural join book_copies natural join book_count where book_id=? and title like ? and author_name like ? ; ";
+ break;
+ }
+
+ try
+ {
+ Class.forName("com.mysql.jdbc.Driver");
+ /* Create a connection to the local MySQL server */
+ conn = DriverManager.getConnection(url, user, password);
+
+ /* Create a SQL statement object and execute the query */
+ PreparedStatement ps1 = conn.prepareStatement(query );
+ /*to give the values which is entered by the user */
+ ps1.setString(1,bookid);
+ ps1.setString(2,"%"+booktitle+"%");
+ ps1.setString(3,"%"+author+"%");
+ System.out.println(ps1);
+ System.out.println( bookid + "id");
+
+ //when book_id is given
+ ResultSet rs1 = ps1.executeQuery();
+ request.setAttribute("result", rs1);
+ RequestDispatcher dispatcher = getServletContext().getRequestDispatcher("/Search.jsp");
+ dispatcher.forward(request,response);
+
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ }
+
+ }
+
+}