var min=8;var max=18;function increaseFontSize() {   var p = document.getElementsByTagName('p');   for(i=0;i<p.length;i++) {      if(p[i].style.fontSize) {         var s = parseInt(p[i].style.fontSize.replace("px",""));      } else {         var s = 12;      }      if(s!=max) {         s += 1;      }      p[i].style.fontSize = s+"px"   }}function decreaseFontSize() {   var p = document.getElementsByTagName('p');   for(i=0;i<p.length;i++) {      if(p[i].style.fontSize) {         var s = parseInt(p[i].style.fontSize.replace("px",""));      } else {         var s = 12;      }      if(s!=min) {         s -= 1;      }      p[i].style.fontSize = s+"px"   }   }function mainmenu(){jQuery(" #nav li").hover(function(){jQuery(this).find('ul:first').css({visibility: "visible",display: "none"}).fadeIn(300);},function(){jQuery(this).find('ul:first').fadeOut(300);});} jQuery(document).ready(function(){					mainmenu();});jQuery(document).ready(function() {jQuery('.eco-dev').append('<span class="hover"></span>').each(function () {  var $span = jQuery('> span.hover', this).css('opacity', 0);  jQuery(this).hover(function () {    $span.stop().fadeTo(500, 1);  }, function () {    $span.stop().fadeTo(500, 0);  });});});jQuery(document).ready(function() {jQuery('.eco-data').append('<span class="hover"></span>').each(function () {  var $span = jQuery('> span.hover', this).css('opacity', 0);  jQuery(this).hover(function () {    $span.stop().fadeTo(500, 1);  }, function () {    $span.stop().fadeTo(500, 0);  });});});jQuery(document).ready(function() {jQuery('.eco-research').append('<span class="hover"></span>').each(function () {  var $span = jQuery('> span.hover', this).css('opacity', 0);  jQuery(this).hover(function () {    $span.stop().fadeTo(500, 1);  }, function () {    $span.stop().fadeTo(500, 0);  });});});jQuery(document).ready(function() {jQuery('.publications').append('<span class="hover"></span>').each(function () {  var $span = jQuery('> span.hover', this).css('opacity', 0);  jQuery(this).hover(function () {    $span.stop().fadeTo(500, 1);  }, function () {    $span.stop().fadeTo(500, 0);  });});});/* jQuery(document).ready(function(){jQuery(".accordion h3:first").addClass("active");jQuery(".accordion p:not(:first)").hide();jQuery(".accordion h3").click(function(){jQuery(this).next("p").slideDown("slow").siblings("p:visible").slideUp("slow");jQuery(this).toggleClass("active");jQuery(this).siblings("h3").removeClass("active");});}); */jQuery(document).ready(/*This function gets loaded when all the HTML, not including the portlets, isloaded.*/function() {});Liferay.Portlet.ready(/*This function gets loaded after each and every portlet on the page.portletId: the current portlet's idjQueryObj: the jQuery wrapped object of the current portlet*/function(portletId, jQueryObj) {});jQuery(document).last(/*This function gets loaded when everything, including the portlets, is onthe page.*/function() {});/*tambah lagi*/function mainmenu(){jQuery(" #nav ul ").css({display: "none"}); // Opera FixjQuery(" #nav li").hover(function(){jQuery(this).find('ul:first:hidden').css({visibility: "visible",display: "none"}).show(400);},function(){jQuery(this).find('ul:first').hide(400);});}jQuery(document).ready(function(){mainmenu();}); jQuery(document).ready(/*This function gets loaded when all the HTML, not including the portlets, isloaded.*/function() {});Liferay.Portlet.ready(/*This function gets loaded after each and every portlet on the page.portletId: the current portlet's idjQueryObj: the jQuery wrapped object of the current portlet*/function(portletId, jQueryObj) {});jQuery(document).last(/*This function gets loaded when everything, including the portlets, is onthe page.*/function() {});/*******Select Option Start************/function changed(){selObj = document.getElementById("accept");val = selObj.options[selObj.selectedIndex].value;for(var i=1;i<20;i++){document.getElementById(i).style.display='none';document.getElementById(val).style.display='';}		}/*******Select Option End************/