var fxDialogList=new Array();var TOP_DECREMENT_OFFSET=3;var SLIDE_TIMEOUT=5;var OPACITY_DECREMENT_OFFSET=60;var OPACITY_TIMEOUT=2;var DEFAULT_OPACITY=10;var DIVFX_SHOW_CENTER=0;var DIVFX_CLOSE_FADE=1;var DIVFX_SHOW_SLIDE=2;function divFx_old(C,B,A){switch(B){case 0:showCenter(C);break;case 1:closeFade(C,A);break;case 2:slide(C);break;default:break}}function fxDialog(){this.oTop=null;this.oHt=null;this.opacity=null}function SET_FXDIALOG(){return ;for(var A=0;A<arguments.length;A++){var B=new fxDialog();var C=arguments[A];var D=document.getElementById(C);D.style.display="block";B.oHt=D.offsetHeight;B.oTop=parseInt(removePX(D.style.top));D.style.display="none";if(D.style.filter==null){D.style.filter="alpha(opacity=100);-moz-opacity:1; opacity:1; -khtml-opacity:1;"}else{B.opacity=D.style.filter}fxDialogList[C]=B}}function slide(C){document.getElementById(C).style.display="block";document.getElementById(C).style.visibility="visible";var D=parseInt(removePX(document.getElementById(C).style.top));document.getElementById(C).style.top=D-TOP_DECREMENT_OFFSET;var A=parseInt(fxDialogList[C].oTop);var B=parseInt(fxDialogList[C].oHt);if(D>(A-B)){setTimeoutX('slide("'+C+'")',SLIDE_TIMEOUT)}}function parseOpacity(B){if(B==null||B==""){return DEFAULT_OPACITY}else{var D=B.indexOf("=");var A=B.indexOf(")");var C=B.substring(D+1,A);return parseInt(C)}}function closeFade(D,B){var A=parseOpacity(document.getElementById(D).style.filter);var E;if(B!=null){E=B}else{E=OPACITY_DECREMENT_OFFSET}A=A-E;var C=A/100;document.getElementById(D).style.filter="alpha(opacity="+A+"); -moz-opacity:"+C+"; opacity:"+C+"; -khtml-opacity:"+C+";";if(A>=0){setTimeoutX('closeFade("'+D+'",'+B+")",OPACITY_TIMEOUT)}else{if(fxDialogList[D].opacity==null){document.getElementById(D).style.filter="alpha(opacity="+100+");-moz-opacity:1; opacity:1; -khtml-opacity:1;"}else{document.getElementById(D).style.filter=fxDialogList[D].opacity}document.getElementById(D).style.display="none"}}function showCenter(B){if(B=="AddSpotBlogs"){}var A=document.getElementById(B);A.style.visibility="visible";A.style.display="block";A.style.left=(screen.width/4)+"px";A.style.top=screen.height/6+"px"}