
      var GB_ANIMATION = true;
      $(document).ready(function(){
		//Feedback
        $("a.feedback").click(function(){
		  //Set the opening window height
		  var heightH = 610;
		  var heightW = 480;
          var t = this.title || $(this).text() || this.href;
		  var scrollTop = $(window).scrollTop(); //Count the scroll height
          GB_show(t,this.href,heightH,heightW);
  		  showHeight("window", $(window).height(), scrollTop, heightH);  //Replace the css to center window	
          return false;
        });
		//Wireless map
        $("a.wirelessmap").click(function(){
		  //Set the opening window height
		  var heightH = 412;
		  var heightW = 762;
          var t = this.title || $(this).text() || this.href;
		  var scrollTop = $(window).scrollTop(); //Count the scroll height
          GB_show(t,this.href,heightH,heightW);
  		  showHeight("window", $(window).height(), scrollTop, heightH);  //Replace the css to center window	
          return false;
        });		
		//Giving
        $("a.giving").click(function(){
		  //Set the opening window height
		  var heightH = 480;
		  var heightW = 470;
          var t = this.title || $(this).text() || this.href;
		  var scrollTop = $(window).scrollTop(); //Count the scroll height
          GB_show(t,this.href,heightH,heightW);
  		  showHeight("window", $(window).height(), scrollTop, heightH);  //Replace the css to center window	
          return false;
        });		
		//MSDS safety
        $("a.msdssafety").click(function(){
		  //Set the opening window height
		  var heightH = 500;
		  var heightW = 750;
          var t = this.title || $(this).text() || this.href;
		  var scrollTop = $(window).scrollTop(); //Count the scroll height
          GB_show(t,this.href,heightH,heightW);
  		  showHeight("window", $(window).height(), scrollTop, heightH);  //Replace the css to center window	
          return false;
        });			
		//Letters 
        $("a.letter").click(function(){
		  //Set the opening window height
		  var heightH = 500;
		  var heightW = 750;
          var t = this.title || $(this).text() || this.href;
		  var scrollTop = $(window).scrollTop(); //Count the scroll height
          GB_show(t,this.href,heightH,heightW);
  		  showHeight("window", $(window).height(), scrollTop, heightH);  //Replace the css to center window	
          return false;
        });
		//News photo gallery 
        $("a.newsgallery").click(function(){
		  //Set the opening window height
		  var heightH = 578;
		  var heightW = 1000;
          var t = this.title || $(this).text() || this.href;
		  var scrollTop = $(window).scrollTop(); //Count the scroll height
          GB_show(t,this.href,heightH,heightW);
  		  showHeight("window", $(window).height(), scrollTop, heightH);  //Replace the css to center window	
          return false;
        });		
        $("a.del fsbio").click(function(){
		//Faculty/Staff bios 
		  //Set the opening window height
		  var heightH = 500;
		  var heightW = 855;
          var t = this.title || $(this).text() || this.href;
		  var scrollTop = $(window).scrollTop(); //Count the scroll height
		  //html encode
		  //var url = escape(this.href);
		  //window.alert(this.href);
          GB_show(t,this.href,heightH,heightW);
  		  showHeight("window", $(window).height(), scrollTop, heightH);  //Replace the css to center window	
          return false;
        });		
      });
	  
	  		function showHeight(ele, h, s, wH) {  //h = current window height, //s = current scroll height, 
	//	  $("div").text(h);
		  //window.alert(h);
		  $("#GB_window").css("top", + (s+35) + "px");
		}

