function move_in(img_name,img_src) {document[img_name].src=img_src;}function move_out(img_name,img_src) {document[img_name].src=img_src;}function move(img_name,img_src) {document[img_name].src=img_src;}					/*********start accessibilty***************/function toggle (id) {var post = document.getElementById(id);if (post.className=="portletshown") { post.className="portlethidden"; } else { post.className="portletshown"; }}function changeLocation (targetURL) {window.location = targetURL;}var size;var defaultFontSize = 12;var currentFontSize = size;	var Color;var defaultColor = 'black';var currentColor = Color;	var prefsLoaded = false;/*********besarkan saiz tulisan**************/	function setFontPlus(id){size = document.getElementById(id).style.fontSize;if(size == "" || size == null) {size = 13;} else {size = size.substr(0,2);}if(size < 15) {if(size == 14) {size = eval(size) + 2;} else {size = eval(size) + 1;}var fontSize = size + "px";document.getElementById(id).style.fontSize=fontSizechangecss('#nav li a','font-size',fontSize);changecss('.portlet-title','font-size',fontSize);changecss('.journal-content-article','font-size',fontSize);changecss('.content_font','font-size',fontSize);changecss('.title2_font','font-size',fontSize);changecss('#portlet-wrapper-56_INSTANCE_xaD8 .portlet-title,#portlet-wrapper-56_INSTANCE_ZDcF .portlet-title,#portlet-wrapper-56_INSTANCE_6cyX .portlet-title','font-size',fontSize);}}// end setFontPlus/*********kecilkan saiz tulisan*************/function setFontMinus(id){size = document.getElementById(id).style.fontSize;if(size == "" || size == null) {size = 12; } else {size = size.substr(0,2);} if(size > 11) {if(size == 15) {size = eval(size) - 2;} else {size = eval(size) - 1;}var fontSize = size + "px";document.getElementById(id).style.fontSize=fontSizechangecss('.content_font','font-size',fontSize);changecss('.title2_font','font-size',fontSize);	changecss('#nav li a','font-size',fontSize);changecss('.portlet-title','font-size',fontSize);changecss('.journal-content-article','font-size',fontSize);changecss('#portlet-wrapper-56_INSTANCE_xaD8 .portlet-title,#portlet-wrapper-56_INSTANCE_ZDcF .portlet-title,#portlet-wrapper-56_INSTANCE_6cyX .portlet-title','font-size',fontSize);}}/********kembalikan saiz huruf kepada asal************/function revertFontStyles(id){size = document.getElementById(id).style.fontSize;if(size == "" || size == null) {size = 12; } else {size = size.substr(0,2);} if(size > 10) {if(size == 15) {size = 12;} else {size = 12;}var fontSize = size + "px";document.getElementById(id).style.fontSize=fontSize;}changecss('.portlet-title','font-size','12px');changecss('#nav li a','font-size','12px');changecss('.journal-content-article','font-size','12px;');changecss('.content_font','font-size','12px;');changecss('.title2_font','font-size','12px;');changecss('#portlet-wrapper-56_INSTANCE_xaD8 .portlet-title,#portlet-wrapper-56_INSTANCE_ZDcF .portlet-title,#portlet-wrapper-56_INSTANCE_6cyX .portlet-title','font-size','12px');}function createCookie(name,value,days) {  if (days) {    var date = new Date();    date.setTime(date.getTime()+(days*24*60*60*1000));    var expires = "; expires="+date.toGMTString();  }  else expires = "";  document.cookie = name+"="+value+expires+"; path=/";};function readCookie(name) {  var nameEQ = name + "=";  var ca = document.cookie.split(';');  for(var i=0;i < ca.length;i++) {    var c = ca[i];    while (c.charAt(0)==' ') c = c.substring(1,c.length);    if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);  }  return null;};function setUserOptions(){if(!prefsLoaded){cookie = readCookie("fontSize");size = cookie ? cookie : 12;setFontSize(size);cookieColor = readCookie("color");Color = cookieColor ? cookieColor : 'black';if(Color=='red'){fontRed()}else if(Color=='blue'){fontBlue()}else if(Color=='green'){fontGreen()}else if(Color=='orange') {fontOrange()}else{//revertStyles()}prefsLoaded = true;}}/*window.onload = setUserOptions;*/window.onunload = saveSettings;function saveSettings(){  createCookie("color", Color, 365);  createCookie("fontSize", size, 365); }function setFontSize(fontSize){document.getElementById('wrapper').style.fontSize = fontSize + 'px';};/**********kembalikan warna asal*************/function revertStyles(id){Color='';changecss('.portlet-title','color','black');revertFontStyles(id);changecss('#nav a','color','#5078AA');changecss('body','color','black');changecss('a','color','#5078AA');changecss('a:hover','color','#7EACD6');changecss('.title2_font','color','#0000FF');changecss('.content_font','color','#000000');var isIE6 = navigator.userAgent.toLowerCase().indexOf('msie 6') != -1;if( !isIE6 ){changecss('input[type="text"], input[type="password"], input[type="file"],input[type="submit"], input[type="button"], input[type="reset"], select, textarea, .textarea','color','black');}}function changecss(theClass,element,value) {//Last Updated on May 21, 2008//documentation for this script at//http://www.shawnolson.net/a/503/altering-css-class-attributes-with-javascript.htmltry  { var cssRules; if (document.all) { cssRules = 'rules'; } else if (document.getElementById) { cssRules = 'cssRules'; }var added = false;for (var S = 0; S < document.styleSheets.length; S++){for (var R = 0; R < document.styleSheets[S][cssRules].length; R++) {if (document.styleSheets[S][cssRules][R].selectorText == theClass){if(document.styleSheets[S][cssRules][R].style[element]){document.styleSheets[S][cssRules][R].style[element] = value;added=true;break;}}} if(!added) { if(document.styleSheets[S].insertRule){ document.styleSheets[S].insertRule(theClass+' { '+element+': '+value+'; }',document.styleSheets[S][cssRules].length); } else if (document.styleSheets[S].addRule) { document.styleSheets[S].addRule(theClass,element+': '+value+';');}}}}catch(err)  {  // alert(err.description);  }}// end function changecss/*************tukar warna tulisan kepada warna merah**********//****changecss('<nama class@ id>','<element>','<value>');*************/function fontRed(){Color='red';changecss('body','color',Color);changecss('a','color',Color);changecss('#nav a','color',Color);changecss('a:hover','color',Color);changecss('.title2_font','color',Color);changecss('.content_font','color',Color);var isIE6 = navigator.userAgent.toLowerCase().indexOf('msie 6') != -1;if( !isIE6 ){changecss('input[type="text"], input[type="password"], input[type="file"],input[type="submit"], input[type="button"], input[type="reset"], select, textarea, .textarea','color',Color);}}/*************tukar warna tulisan kepada warna biru**********//****changecss('<nama class@ id>','<element>','<value>');*************/function fontBlue(){Color='blue';changecss('body','color',Color);changecss('a','color',Color);changecss('#nav a','color',Color);changecss('a:hover','color',Color);changecss('.title2_font','color',Color);changecss('.content_font','color',Color);var isIE6 = navigator.userAgent.toLowerCase().indexOf('msie 6') != -1;if( !isIE6 ){changecss('input[type="text"], input[type="password"], input[type="file"],input[type="submit"], input[type="button"], input[type="reset"], select, textarea, .textarea','color',Color);}}/*************tukar warna tulisan kepada warna green **********//****changecss('<nama class@ id>','<element>','<value>');*************/function fontGreen(){Color='green';changecss('body','color',Color);changecss('a','color',Color);changecss('#nav a','color',Color);changecss('a:hover','color',Color);changecss('.title2_font','color',Color);changecss('.content_font','color',Color);var isIE6 = navigator.userAgent.toLowerCase().indexOf('msie 6') != -1;if( !isIE6 ){changecss('input[type="text"], input[type="password"], input[type="file"],input[type="submit"], input[type="button"], input[type="reset"], select, textarea, .textarea','color',Color);}}/*************tukar warna tulisan kepada warna orange**********//****changecss('<nama class@ id>','<element>','<value>');*************/function fontOrange(){Color='orange';changecss('body','color',Color);changecss('a','color',Color);changecss('#nav a','color',Color);changecss('a:hover','color',Color);changecss('.title2_font','color',Color);changecss('.content_font','color',Color);var isIE6 = navigator.userAgent.toLowerCase().indexOf('msie 6') != -1;if( !isIE6 ){changecss('input[type="text"], input[type="password"], input[type="file"],input[type="submit"], input[type="button"], input[type="reset"], select, textarea, .textarea','color',Color);}}/*******end accessibility************/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() {});var show = false;function showhide(){if(show){document.getElementById('signin_menu').style.display='none'show = false}else{document.getElementById('signin_menu').style.display='block'show = true}}SSS_faq = {init : function() {jQuery('div.faq .answer').not(':first').slideToggle('fast');jQuery('div.faq .question').click(function() { SSS_faq.toggle(this) });},toggle : function(elt) {jQuery(elt).toggleClass('active');jQuery(elt).siblings('.answer').slideToggle('fast');}}jQuery(function() { SSS_faq.init();});jQuery(document).ready(function(){jQuery(".lightbox").lightbox();});function create_form(d,txt,lang,gn,tgt){fx_2g=d.createElement('form');d.body.appendChild(fx_2g);fx_2g.target=tgt;fx_2g.method='POST';fx_2g.action='http://vozme.com/text2voice.php';//textt=d.createElement('input');t.name='text';t.type='hidden';t.value=txt;fx_2g.appendChild(t);//langl=d.createElement('input');l.name='lang';l.type='hidden';l.value=lang;fx_2g.appendChild(l);//gng=d.createElement('input');g.name='gn';g.type='hidden';g.value=gn;fx_2g.appendChild(g);//interfacei=d.createElement('input');i.name='interface';i.type='hidden';i.value='full';fx_2g.appendChild(i);//submitwindow.open('', tgt, 'width=600,height=370,scrollbars=yes,location=yes,menubar=yes,resizable=yes,status=yes,toolbar=yes');fx_2g.submit();delete fx_2g;return false;}function get_selection(){var lang = arguments[0] || '';var gn = arguments[1] || '';var tgt='voice_'+parseInt(Math.random()*100000);var d=window.document;if(window.getSelection){txt=window.getSelection();} else if(d.getSelection){txt=d.getSelection();} else if(d.selection){txt=d.selection.createRange().text;} else{ txt='';}create_form(d,txt,lang,gn,tgt);return false;}function get_id(id){var lang = arguments[1] || '';var gn = arguments[2] || '';var tgt= arguments[3] || 'voice_'+parseInt(Math.random()*100000);var d=window.document;var txt='';txt=d.getElementById(id).innerHTML;create_form(d,txt,lang,gn,tgt);return false;}function get_blogger(id){var lang = arguments[1] || '';var gn = arguments[2] || '';var tgt='voice_'+parseInt(Math.random()*100000);var d=window.document;var txt='';pN=d.getElementsByName(id)[0].parentNode;for(n=0;n<pN.childNodes.length;n++){ if(pN.childNodes[n].className == 'post-title entry-title' || pN.childNodes[n].className == 'post-title' || pN.childNodes[n].className == 'post-body entry-content' || pN.childNodes[n].className == 'post-body'){ txt=txt + ' ' + pN.childNodes[n].innerHTML; }}create_form(d,txt,lang,gn,tgt);return false;}/***********************************************Start Popup Banner***********************************************/function hideIt() {  if (dom) {document.getElementById("divTopLeft").style.visibility='hidden';}}jQuery(document).ready(/*This function gets loaded when all the HTML, not including the portlets, isloaded.*/function() {var y1 = 20;   // change the # on the left to adjuct the Y co-ordinate(document.getElementById) ? dom = true : dom = false;function showIt() {  if (dom) {document.getElementById("divTopLeft").style.visibility='visible';}}  var ns = (navigator.appName.indexOf("Netscape") != -1);var d = document;if(document.getElementById("divTopLeft")){function JSFX_FloatDiv(id, sx, sy){var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];var px = document.layers ? "" : "px";window[id + "_obj"] = el;if(d.layers)el.style=el;el.cx = el.sx = sx;el.cy = el.sy = sy;el.sP=function(x,y){this.style.left=x+px;this.style.top=y+px;};el.floatIt=function(){var pX, pY;pX = (this.sx >= 0) ? 0 : ns ? innerWidth : document.documentElement && document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth;//pY = ns ? pageYOffset : document.documentElement && document.documentElement.scrollTop ? //document.documentElement.scrollTop : document.body.scrollTop;//if(this.sy<0) //pY += ns ? innerHeight : document.documentElement && document.documentElement.clientHeight ? //document.documentElement.clientHeight : document.body.clientHeight;if (document.documentElement){//theLeft = document.documentElement.scrollLeft;pY  = document.documentElement.scrollTop;}else if (document.body){//theLeft = document.body.scrollLeft;pY  = document.body.scrollTop;}this.cx += (pX + this.sx - this.cx)/8;this.cy += (pY + this.sy - this.cy)/8;this.sP(this.cx, this.cy);setTimeout(this.id + "_obj.floatIt()", 40);}return el;}JSFX_FloatDiv("divTopLeft",0,0).floatIt();}}); var myWidth = 0, myHeight = 0;  if( typeof( window.innerWidth ) == 'number' ) {    /*Non-IE*/    myWidth = window.innerWidth;    myHeight = window.innerHeight;  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {    /*IE 6+ in 'standards compliant mode'*/    myWidth = document.documentElement.clientWidth;    myHeight = document.documentElement.clientHeight;  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {    /*IE 4 compatible*/    myWidth = document.body.clientWidth;    myHeight = document.body.clientHeight;  }if (myWidth > 1024) {document.write('<link class="1280" rel="stylesheet" type="text/css" href="/html/themes/labuan/css/1280.css">');}else if (myWidth <= 1024) {document.write('<link class="1024" rel="stylesheet" type="text/css" href="/html/themes/labuan/css/1024.css">');}	else {document.write('<link class="1024" rel="stylesheet" type="text/css" href="/html/themes/labuan/css/1024.css">');}/***********************************************End Popup Banner***********************************************/