<!-- Pop-up Window Control -->
function MM_openBrWindow(theURL, winName, features){
	window.open(theURL, winName, features);
}

<!-- Bookmark me -->
function bookmark(url,title){
	if((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)){
		window.external.AddFavorite(url,title);
	}else if(navigator.appName == "Netscape"){
		window.sidebar.addPanel(title,url,"");
	}else{
		alert("Press CTRL-D (Netscape) or CTRL-T (Opera) to bookmark");
	}
}

<!-- To add the watermark text to a text box. -->
function OnFocus(elementId, defaultText){
   if (document.getElementById(elementId).value == defaultText) {
      document.getElementById(elementId).className = "loginTextbox";
      document.getElementById(elementId).value = "";
   }
}

function OnBlur(elementId, defaultText){
   var textValue = document.getElementById(elementId).value;
   if (textValue == defaultText || textValue.length == 0){
      document.getElementById(elementId).className = "watermark";
      document.getElementById(elementId).value = defaultText;
   }
   else{
      document.getElementById(elementId).className = "loginTextbox";
   }
}

//function to navigate to a web page with some variable
function navigate(page, param){
	window.location = page+"?"+param;
}

//function to toggle show/hide html elements.
function showHide(shID){
	if (document.getElementById(shID)){
		if (document.getElementById(shID).style.display != 'block'){
			document.getElementById(shID).style.display = 'block';
		}
		else{
			document.getElementById(shID).style.display = 'none';
		}
	}
}

//FUNCTION TO SHOW AN AREA BY ID

function showElementByID(ID){
	if (document.getElementById(ID)){
		if (document.getElementById(ID).style.display != 'block'){
			document.getElementById(ID).style.display = 'block';
		}
	}
}

//FUNCTION TO HIDE AN AREA BY ID

function hideElementByID(ID){
	if (document.getElementById(ID)){
		if (document.getElementById(ID).style.display != 'none'){
			document.getElementById(ID).style.display = 'none';
		}
	}
}
//VALIDATE THE E-MAIL ADDRESS
function checkEmail(myForm){
	if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(myForm.email.value)){
		return(true);
	}
	alert("Invalid E-mail Address! Please re-enter.");
	return(false);
}
//-----------------------------------------------//
//TO POPOP THE AUTHOR DETAIL IN ARTICLE PAGE
function showPopup(w, h, id, data){
	var popUp = document.getElementById("popup");
	var pos = document.getElementById(id);
	var innerData = document.getElementById(data);
	var positionX = 0;
	var positionY = 0;
	var linkPos = pos;
	while (pos != null){
		positionX += pos.offsetLeft;
		positionY += pos.offsetTop;
		pos = pos.offsetParent;
	}
	positionY += linkPos.offsetHeight;
	var Y = positionY + "px";
	var X = positionX + "px";
	popUp.style.top = Y;
	popUp.style.left = X;
	popUp.style.width = w + "px";
	popUp.style.height = h + "px";
	popUp.innerHTML = innerData.innerHTML;
	popUp.style.visibility = "visible";
}

function hidePopup(id){
	var popUp = document.getElementById(id);
	popUp.style.visibility = "hidden";
}
//-----------------------------------------------//


//FLY-OUT MENU
var DDSPEED = 1;
var DDTIMER = 1;
var OFFSET = -2;
var ZINT = 1;

function ddMenu(id,d){
  var h = document.getElementById(id + '-ddheader');
  var c = document.getElementById(id + '-ddcontent');
  clearInterval(c.timer);
  if(d == 1){
    clearTimeout(h.timer);
    c.style.display = 'block';
    if(c.maxh && c.maxh <= c.offsetHeight){return}
    else if(!c.maxh){
      c.style.left = (h.offsetWidth + OFFSET) + 'px';
      c.style.height = 'auto';
      c.maxh = c.offsetHeight;
      c.style.height = '0px';
    }
    ZINT = ZINT + 1;
    c.style.zIndex = ZINT;
    c.timer = setInterval(function(){ddSlide(c,1)},DDTIMER);
  }else{
    h.timer = setTimeout(function(){ddCollapse(c)},50);
  }
}

function ddCollapse(c){
  c.timer = setInterval(function(){ddSlide(c,-1)},DDTIMER);
}

function cancelHide(id){
  var h = document.getElementById(id + '-ddheader');
  var c = document.getElementById(id + '-ddcontent');
  clearTimeout(h.timer);
  clearInterval(c.timer);
  if(c.offsetHeight < c.maxh){
    c.timer = setInterval(function(){ddSlide(c,1)},DDTIMER);
  }
}

function ddSlide(c,d){
  var currh = c.offsetHeight;
  var dist;
  if(d == 1){
    dist = Math.round((c.maxh - currh) / DDSPEED);
  }else{
    dist = Math.round(currh / DDSPEED);
  }
  if(dist <= 1 && d == 1){
    dist = 1;
  }
  c.style.height = currh + (dist * d) + 'px';
  c.style.opacity = currh / c.maxh;
  c.style.filter = 'alpha(opacity=' + (currh * 100 / c.maxh) + ')';
  if(currh > (c.maxh - 2) && d == 1){
    clearInterval(c.timer);
  }else if(dist < 1 && d != 1){
    clearInterval(c.timer);
    c.style.display = 'none';
  }
}
//TO DISPLAY THE DROPDOWN AT THE LEFT SIDE.
function ddMenuRight(id,d){
  var h = document.getElementById(id + '-ddheader');
  var c = document.getElementById(id + '-ddcontent');
  clearInterval(c.timer);
  if(d == 1){
    clearTimeout(h.timer);
    c.style.display = 'block';
    if(c.maxh && c.maxh <= c.offsetHeight){return}
    else if(!c.maxh){
      c.style.left = '-' + (c.offsetWidth + OFFSET) + 'px';
      c.style.height = 'auto';
      c.maxh = c.offsetHeight;
      c.style.height = '0px';
    }
    ZINT = ZINT + 1;
    c.style.zIndex = ZINT;
    c.timer = setInterval(function(){ddSlide(c,1)},DDTIMER);
  }else{
    h.timer = setTimeout(function(){ddCollapse(c)},50);
  }
}

//FUNCTION RELATED TO AJAX CALL
var xmlHttp
function getListData(country, state){
	xmlHttp=GetXmlHttpObject();
	if (xmlHttp==null){
		alert ("Browser does not support HTTP Request");
		return;
	} 
	var url="getstatelist.php";
	url=url+"?country="+country+"&state="+state;
	url=url+"&sid="+Math.random();
	xmlHttp.onreadystatechange=stateChanged ;
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);
}

function stateChanged(){
	if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){
		document.getElementById("stateArea").innerHTML=xmlHttp.responseText;
	}
}
function GetXmlHttpObject(){
	var xmlHttp=null;
	try{
	// Firefox, Opera 8.0+, Safari
		xmlHttp=new XMLHttpRequest();
	}
	catch (e){
	// Internet Explorer
		try{
			xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch (e){
			xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
		}
	}
	return xmlHttp;
}




// THIS SCROLLER HAS CAUSED ERRORS IN IE 8 AND APPEARS TO NOT BE USED
/***********************************************
* Cross browser
Marquee II- © Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for this script and 100s more.
***********************************************/

//var delayb4scroll=2000 //Specify initial delay before marquee starts to scroll on page (2000=2 seconds)
//var marqueespeed=2 //Specify marquee scroll speed (larger is faster 1-10)
//var pauseit=1 //Pause marquee onMousever (0=no. 1=yes)?
//
//////NO NEED TO EDIT BELOW THIS LINE////////////
//
//var copyspeed=marqueespeed
//var pausespeed=(pauseit==0)? copyspeed: 0
//var actualheight=''
//
//function scrollmarquee(){
//if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8)) //if scroller hasn't reached the end of its height
//cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px" //move scroller upwards
//else //else, reset to original position
//cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
//}
//
//function initializemarquee(){
//cross_marquee=document.getElementById("vmarquee")
//cross_marquee.style.top=0
//marqueeheight=document.getElementById("marqueecontainer").offsetHeight
//actualheight=cross_marquee.offsetHeight //height of marquee content (much of which is hidden from view)
//if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
//cross_marquee.style.height=marqueeheight+"px"
//cross_marquee.style.overflow="scroll"
//return
//}
//setTimeout('lefttime=setInterval("scrollmarquee()",30)', delayb4scroll)
//}
//
//if (window.addEventListener)
//window.addEventListener("load", initializemarquee, false)
//else if (window.attachEvent)
//window.attachEvent("onload", initializemarquee)
//else if (document.getElementById)
//window.onload=initializemarquee

/**
* nlsscroller.js v2.1
* Copyright 2009, addobject.com. All Rights Reserved
* Author Jack Hermanto, www.addobject.com
*/
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('3 U=1T 35();3 1h=1z.36.37;3 1A=(1h.Z("1U")>=0);3 1V=(1h.Z("1U 5.0")>=0);3 2l=(1h.Z("1U 4")>=0);3 38=(1h.Z("39")>=0);3 1W=(1h.Z("3a")>=0);6(1W)1A=1B;9 2m(a){6(!a||a==""){3 b=(14.2n?14.2n("3b"):14.3c);10(3 i=0;i<b.F;i++){6(b[i].I.2o().Z("1X.2p")>=0){a=b[i].I.1Y(/1X.2p/1o,"K/");Q}}}2.L=a+"L.M";2.1C=a+"1C.M";2.V=a+"V.M";2.1D=a+"1D.M";2.1i=a+"1E.M";2.2q=a+"2r.M";2.E=a+"E.M";2.1Z=a+"1Z.M";2.2s=a+"3d.M";2.20=a+"20.M";2.21=a+"21.M";2.1p=a+"1p.M";p 2};9 7(s){2.N=s;2.R=O;2.W=O;2.2t=O;2.J=1T 2m();U[s]=2;2.q="1b";2.v=1T 15();2.2u=1B;2.2v=["3e","3f","3g","3h"];2.16=[];2.P=3i;2.S=3j;2.1j=3k;2.1c="";2.22=1B;2.2w="3l...";2.V=9(){2.v.V()};2.L=9(){2.v.L()};2.2x=9(){};2.2y=9(){};p 2};3 X=7.3m;X.2z=9(c){3 a=c.2A(/<2B[^>]/1o);6(a){c=c.23(c.Z(a[0]));c=c.23(c.Z(">")+1);a=c.2A(/<\\/2B>/1o);6(a){c=c.23(0,c.Z(a[0]))}}3 s="<1F 17=\\"2C\\"></1F>";c=c.1Y(/<1F 17=(["\']*)2C(["\']*)><\\/1F>/1o,s);2.16=c.24(s);2.2D()};X.3n=9(a){3 b=7.x(a);b.8.2E="2F";2.2z(b.25)};7.$26=9(){3 a="1k",27="B";6(2l){a="1k";27="2G"}p[a,27]};7.$28=9(c){3 a="",2H=7.$26();10(3 i=0;i<c.16.F;i++){a+=("<w y=\'"+c.N+"2I"+i+"\' 8=\'o:"+2H[1]+";1G:1k;11:2J\' 17=\'"+c.1c+"3o\'><r><n 17=\'"+c.1c+"3p\'>"+c.16[i]+"</n></r></w>")}p a};X.3q=9(a){3 b=7.$26(),k=2.N,1l="U."+k;3 c="<w y=\'"+k+"1H\' 1d=\'0\' 1e=\'0\' "+(2.q=="1f"?"8=\'o:B\'":"")+"><r>";c+="<n 1q=\\"7.1r(\'"+k+"1E\')\\" 1s=\\"7.1t(\'"+k+"1E\')\\" 1u=\'"+1l+".1i();\'><K y=\'"+k+"1E\' I=\'"+2.J.1i+"\' Y=\'3r\' ><K y=\'"+k+"2r\' I=\'"+2.J.2q+"\' 8=\'o:B\' Y=\'3s\'></n>";c+="<n 1q=\\"7.1r(\'"+k+"29\')\\" 1s=\\"7.1t(\'"+k+"29\')\\" 1u=\'"+1l+".E();\'><K y=\'"+k+"29\' I=\'"+2.J.E+"\' Y=\'2K\'><K y=\'"+k+"3t\' I=\'"+2.J.1Z+"\' 8=\'o:B\' Y=\'2K\'></n>";c+="</r></w>";3 d="<w y=\'"+k+"1I\' 3u=\'0\' 1d=\'0\' 1e=\'0\' "+(2.q=="1b"?"8=\'o:B\'":"")+"><r>";d+="<n 1q=\\"7.1r(\'"+k+"V\')\\" 1s=\\"7.1t(\'"+k+"V\')\\" 1u=\'"+1l+".V();\'><K y=\'"+k+"V\' I=\'"+2.J.V+"\' Y=\'2L\'><K y=\'"+k+"1D\' I=\'"+2.J.1D+"\' 8=\'o:B\' Y=\'2L\'></n>";d+="<n 1q=\\"7.1r(\'"+k+"L\')\\" 1s=\\"7.1t(\'"+k+"L\')\\" 1u=\'"+1l+".L();\'><K y=\'"+k+"L\' I=\'"+2.J.L+"\' Y=\'2M\'><K y=\'"+k+"1C\' I=\'"+2.J.1C+"\' 8=\'o:B\' Y=\'2M\'></n>";d+="</r></w>";3 e="<w 1d=\'0\' 1e=\'0\'><r><n 1u=\'"+1l+".2a();\'><K y=\'"+k+"q\' I=\'"+2.J.20+"\' "+(2.q=="1f"?"8=\'o:B\'":"")+" Y=\'2N 2O q: 1H/1I\'><K y=\'"+k+"2P\' I=\'"+2.J.21+"\' "+(2.q=="1b"?"8=\'o:B\'":"")+" Y=\'2N 2O q: 1H/1I\'></n></r></w>";3 f="<w y=\\""+k+"$1p\\" 8=\'o:B;1G:1k;11:z-3v:3w\'><r><n><K I=\'"+2.J.1p+"\'></n><n 8=\'3x:#3y\'>"+2.2w+"</n></r></w>";3 g=7.$28(2);g="<1m y=\\""+k+"$16\\" 8=\'S:1n%\'>"+g+"</1m>";g+=("<1m y=\'"+k+"2Q\' 8=\'o:"+b[1]+";1G:1k;11:2J;P:1n%;S:1n%\' 17=\'"+2.1c+"3z\'><w P=\'1n%\' 1d=\'0\' 1e=\'0\'><r><n></n></r></w></1m>");g=("<1m y=\\""+k+"\\" 8=\'1G:1k;2E:2F;P:"+2.P+"G;S:"+2.S+"G;\' 1q=\\"7.2R(\'"+k+"\')\\" 1s=\\"7.2S(\'"+k+"\')\\">"+g+"</1m>");g="<w 1d=\'0\' 1e=\'0\'><r><n 3A=\'11\' 8=\'P:"+2.P+"G;S:"+2.S+"G\'>"+g;g+="</n></r></w>";g="<w 1d=\'0\' 1e=\'0\' 17=\'"+2.1c+"1X\'><r><n 17=\'"+2.1c+"3B\'>"+f+g+"</n></r>";6(2.2u&&2.2v.F>0)g+="<r><n 17=\'"+2.1c+"3C\' 3D=\'"+2.J.2s+"\' 2T=\'2U\'><w P=\'1n%\' S=\'1n%\' 1d=\'0\' 1e=\'0\'><r><n P=\'2V\'>&3E;</n><n 2T=\'2U\'>"+c+d+"</n><n P=\'2V\'>"+e+"</n></r></w></n></r>";g+="</w>";6(a){3 h=7.x(a);h.25=g;h.8.o="2G"}T{14.3F(g);g=""}2.2t=7.x(k+"2Q");2.3G=7.x(k);2.2b=7.x(k+"$16");2.3H=7.x(k+"$1p");6(1A){1z.3I("3J",9(){U[k].2c()})}T{1z.3K("3L",9(){U[k].2c()},1B)}p g};X.2D=9(){6(!2.2b)p;2.E();2.2b.25=7.$28(2)};X.2c=9(){3 a=O;2.W=[];10(3 i=0;i<2.16.F;i++){a=7.x(2.N+"2I"+i);2.W[2.W.F]=a;2W(a.8){3M=2.16.F-i;o=""}}6(2.W.F==0)p;2.v.2X(2);2.E();6(2.v.18=="15"){2.R=2d("2e(U."+2.N+".v.12())",2.1j)}T{6(2.q=="1b"){2.R=2f("2e(U."+2.N+".v.12())",2.1j)}}};X.E=9(){6(!2.v)p;6(2.v.18=="15"){2.v.E();6(2.R){3N(2.R);2.R=O}}T{6(2.R){2Y(2.R);2.R=O}}};X.1i=9(){6(!2.v)p;6(2.v.18=="15"){2.v.12()}T{6(2.R==O){2.R=2f("2e(U."+2.N+".v.12())",2.1j)}}};X.2a=9(){3 m=7.x(2.N+"q");3 a=7.x(2.N+"2P");3 b=7.x(2.N+"1I");3 c=7.x(2.N+"1H");6(2.q=="1b"){6(2.v.18=="15"){3O("3P q 3Q 3R 3S 2 v");p}2.q="1f";2.E();m.8.o="B";a.8.o="";b.8.o="";c.8.o="B"}T 6(2.q=="1f"){2.q="1b";2.v.A["1J"]="L";2.1i();m.8.o="";a.8.o="B";b.8.o="B";c.8.o=""}};X.3T=9(a){6(!a)p;6(a.18=="15"){6(7.x(2.N+"q")){6(2.q=="1f")2.2a()}T{2.q="1b"}}T 6(a.18=="3U"){6(!1A||1V)p}T 6(a.18=="3V"){6(1W||1V)p}2.E();2.v=a};7.x=9(a){6(14.2Z){p 14.2Z(a)}T 6(14.30){p 14.30(a)}};7.2g=9(a,b,c){1K(a){C"1v":;C"13":p(b<=c);C"1L":;C"1M":p(b>=c)}};7.3W=9(){2.A.1J="V";2.12()};7.3X=9(){2.A.1J="L";2.12()};7.3Y=9(){2.1N=7.31(2)};7.31=9(f){3 a=f.H.W.F,19=f.1N;6(f.A.1J=="L"){19=(19==a-1?0:19+1)}T{19=(19==0?a-1:19-1)}p 19};7.1r=9(b){7.x(b).8.o="B";7.x(b+"32").8.o=""};7.1t=9(b){7.x(b).8.o="";7.x(b+"32").8.o="B"};7.2R=9(a){3 b=U[a];6(b.q=="1f")p;6(b.22)b.E();b.2x()};7.2S=9(a){3 b=U[a];6(b.q=="1f")p;6(b.22)b.1i();b.2y()};9 15(f){3 g=2;2.H=O;2.1w={};2.A={1x:"1v",1j:3Z,2h:1,1y:0};6(f&&f!=""){3 h=f.1Y(/\\s+/1o,"").2o().24(",");3 j="";10(3 i=0;i<h.F;i++){j=h[i].24("=");2.A[j[0]]=j[1]}}2.1N=0;2.1g=O;2.18="15";2.2X=9(a){2.H=a;2.1N=0;3 b=O;3 c=0;10(3 i=0;i<2.H.W.F;i++){b=2.H.W[i];b.8.S="";2W(b.8){1K(2.A["1x"]){C"1v":13=0;11=c+"G";c+=b.2i;Q;C"1L":13=0;c+=b.2i;11=(2.H.S-c)+"G";Q;C"13":11=0;13=c+"G";c+=b.2j;Q;C"1M":11=0;c+=b.2j;13=(2.H.P-c)+"G";Q}}}2.1g=b};2.12=9(){6(!2.H)p;3 a=1,1O,1P,1Q,2k=2.A["1x"];1K(2k){C"1v":C"13":2.1R=33;a=-2.A["2h"];Q;C"1L":C"1M":2.1R=34;a=+2.A["2h"];Q}1K(2k){C"1v":C"1L":1O="11";1P="2i";1Q="S";Q;C"13":C"1M":1O="13";1P="2j";1Q="P";Q}2.E();2.1w["1S"]=1z.2f(9(){g.1R(a,1O,1P,1Q)},+g.A["1j"])};2.1R=9(){};9 33(a,b,c,d){3 l,D,u=2.H.W;10(3 i=0;i<u.F;i++){l=u[i];D=1a(l.8[b])+a;l.8[b]=D+"G";6(D>2.H[d]){D=1a(u[i-1].8[b])+u[i-1][c];l.8[b]=D+"G";Q}}l=u[0];D=1a(l.8[b]);3 e=-l[c];6(7.2g(2.A["1x"],D,e)){3 t=1a(2.1g.8[b])+2.1g[c];l.8[b]=(t>2.H[d]?t:2.H[d])+"G";2.1g=l;10(3 i=0;i<u.F-1;i++){u[i]=u[i+1]}u[i]=l;6(+2.A["1y"]>0){2.E();2d(9(){g.12()},+2.A["1y"])}}};9 34(a,b,c,d){3 l,D,u=2.H.W;10(3 i=0;i<u.F;i++){l=u[i];D=1a(l.8[b])+a;l.8[b]=D+"G";6(D+l[c]<0){D=1a(u[i-1].8[b])-l[c];l.8[b]=D+"G";Q}}l=u[0];D=1a(l.8[b]);3 e=2.H[d];6(7.2g(2.A["1x"],D,e)){3 t=1a(2.1g.8[b]);l.8[b]=(t<0?(t-l[c]):-l[c])+"G";2.1g=l;10(3 i=0;i<u.F-1;i++){u[i]=u[i+1]}u[i]=l;6(+2.A["1y"]>0){2.E();2d(9(){g.12()},+2.A["1y"])}}};2.E=9(){6(2.1w["1S"]!=O){2Y(2.1w["1S"]);2.1w["1S"]=O}}};',62,248,'||this|var|||if|NlsScroller|style|function|||||||||||sId|||td|display|return|mode|tr|||bl|effect|table|GE|id||cfg|none|case|pos|stop|length|px|scr|src|ico|img|next|gif|scrlId|null|width|break|intRef|height|else|nlsScroller|prev|blockObj|NLSSCROLLER|alt|indexOf|for|top|run|left|document|NlsEffContinuous|content|class|name|tp|parseInt|AUTO|stylePref|cellpadding|cellspacing|MANUAL|lsTpc|_ua|resume|speed|absolute|sObj|div|100|gi|loading|onmouseover|tbMOVR|onmouseout|tbMOUT|onclick|up|rtprop|direction|delay|window|nls_isIE|false|nextover|prevover|play|span|position|auto|manual|topicsequence|switch|down|right|crTpc|dir|odim|dim|runScroll|tmId|new|MSIE|nls_isIE5|nls_isOpera|nlsscroller|replace|stopover|modeauto|modeman|stopOnMouseOver|substr|split|innerHTML|posAttr|dsp|genContent|pause|toggleMode|cntWin|start|setTimeout|eval|setInterval|exitView|step|offsetHeight|offsetWidth|sdir|nls_isIE4|NlsScrollerIco|getElementsByTagName|toLowerCase|js|resumeover|playover|backgrd|helper|showToolbar|toolbar|loadText|onMouseOver|onMouseOut|setContent|match|body|nlsscrollerbreak|reload|overflow|hidden|block|atr|line|0px|Stop|Previous|Next|Toggle|scroll|modeover|Helper|mOver|mOut|align|center|20px|with|init|clearInterval|all|getElementById|getTopic|over|runUpLeft|runDownRight|Object|navigator|userAgent|nls_isSafari|Safari|Opera|SCRIPT|scripts|bg|MODE|PLAY|PREV|NEXT|150|80|3500|Loading|prototype|setContentById|scrlcontentfrm|scrlcontent|render|Run|Play|pauseover|border|index|1000|color|333333|scrlefflayerH|valign|scrlclient|scrltoolbar|background|nbsp|write|scrl|ldng|attachEvent|onload|addEventListener|load|zIndex|clearTimeout|alert|Manual|not|available|in|setEffect|NlsEffIETrans|NlsEffFade|prevTopic|nextTopic|setTopic|40'.split('|'),0,{}))


/**
* nlsscroller_eff_fade.js v2.1
* Copyright 2009, addobject.com. All Rights Reserved
* Author Jack Hermanto, www.addobject.com
*/
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('6 V(f){7 g=4;4.r=z;4.8={W:{},X:{}};4.9={Y:5,x:1c,F:"Z",1d:"10"};m(f&&f!=""){7 h=f.1e(/\\s+/1f,"").1g().11(",");7 j="";N(7 i=0;i<h.A;i++){j=h[i].11("=");4.9[j[0]]=j[1]}}4.B=z;4.1h="V";7 k=(1i.1j.1k=="12 1l 1m");4.O=6(){7 p=4.8;m(p.C!=z){1n(p.C);p.C=z}};4.1o=6(a){4.r=a;4.B=0;7 s=4.r.D;N(7 i=0;i<s.A;i++){1p(s[i].n){1q="13";1r="13";m(k)s[i].n.1s="1t:1u.12.1v( n=0,1w="+(i==0?q:0)+")";G{o(s[i],(i==0?q:0))}}}};4.1x=6(){7 a=4.8,H=4.r.D,p=a.W,E=a.X,c=4.9;m(a.C!=z)y;7 b=H.A;a.P=H[4.B];E.u=q;E.w=0;4.Q();7 d=H[4.B];o(d,0);p.u=0;p.w=q;d.n.R=b;a.14=d;4.I=(4.9.F==\'Z\'?15:S);a.t=0;T(p);T(E);4.O();a.C=1y(6(){g.I(p,E)},+g.9.Y)};4.I=6(){};6 S(p,a){7 l=4.8.14,v=4.8.P,J=4.r.D.A;m(4.8.t>=4.9.x){o(l,q);m(4.9.F=="16")o(v,0);N(7 i=0;i<J;i++){m(i!=4.B)4.r.D[i].n.R=0}l.n.R=J-1;4.O()}G{o(l,K(4.8.t/4.9.x,p.u,p.w,p.L,p.M));m(4.9.F=="16")o(v,K(4.8.t/4.9.x,a.u,a.w,a.L,a.M));4.8.t++}};6 15(a,b){7 v=4.8.P,J=4.r.D.A;m(4.8.t>=4.9.x){o(v,0);4.8.t=0;4.I=S}G{o(v,K(4.8.t/4.9.x,b.u,b.w,b.L,b.M));4.8.t++}};6 o(e,a){m(k){e.1z[0].17=a}G{e.n.1A=a/q;e.n.1B=a/q;e.n.17=a/q}};4.1C=U.1D;4.10=U.1E;4.Q=U.Q}6 T(p){p.L=p.u+(p.w-p.u)*2/3;p.M=p.w};6 18(t){y(1-t)};6 19(t){y(1-t)*(1-t)};6 1a(t){y(1-t)*(1-t)*(1-t)};6 1b(t){y t*t*t};6 K(t,a,b,c,d){y 1a(t)*a+3*t*19(t)*c+3*t*t*18(t)*d+1b(t)*b};',62,103,'||||this||function|var|rtprop|cfg|||||||||||||if|style|setOpacity||100|scr|||x1||x2|stepsnum|return|null|length|crTpc|tmId|blockObj|p2|type|else|bl|runScroll|cnt|effect_bezier|c1|c2|for|clearIv|pvLine|setTopic|zIndex|crossFade|_fc_fade|NlsScroller|NlsEffFade|point|point2|speed|linear|next|split|Microsoft|0px|nxLine|linearFade|cross|Opacity|_f1|_f2|_f3|_f4|50|topicsequence|replace|gi|toLowerCase|name|window|navigator|appName|Internet|Explorer|clearInterval|init|with|left|top|filter|progid|DXImageTransform|Alpha|opacity|run|setInterval|filters|MozOpacity|khtmlOpacity|prev|prevTopic|nextTopic'.split('|'),0,{}))
