/* Scripts enhanced, trimmed, & packed by V.E.L - packed using Dean Edward's JS packer (http://dean.edwards.name/packer/)
 * Loaded scripts:
 * - Simple AJAX Code-Kit (SACK) v1.6.1 - © 2005 Gregory Wild-Smith (www.twilightuniverse.com) (caching prevention function removed)
 * - Ajax dynamic content (prerequisites: AJAX Code-Kit (SACK) v1.6.1) - © 2006 DTHMLGoodies.com, Alf Magne Kalleland
 * - SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 * - Other custom scripts
 */
// SACK
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}('7 1t(13){5.9=t;5.1d=7(){5.y="1N";5.V="?";5.h="&";5.a="";5.I=b;5.1c=G;5.F=t;5.o=t;5.C=13;5.d=f 1z();5.w=f m(2)};5.Q=7(){5.O=7(){};5.11=7(){};5.M=7(){};5.K=7(){};5.1b=7(){};5.17=7(){}};5.16=7(){5.Q();5.1d()};5.15=7(){J{5.9=f 12("1Q.P")}D(1M){J{5.9=f 12("1I.P")}D(1F){5.9=t}};8(!5.9){8(1A S!="1w"){5.9=f S()}c{5.R=b}}};5.H=7(p,l){5.d[p]=m(l,G)};5.B=7(p,l,W){8(b==W){1m m(q(p),q(l))}c{5.d[q(p)]=m(q(l),b)}};5.N=7(14,10){n=q(5.h);L=f 1e(5.h+"|"+n);E=14.19(L);18(i=0;i<E.A;i++){s=E[i].19("=");8(b==10){5.B(s[0],s[1])}c{5.H(s[0],s[1])}}};5.1a=7(j){8(5.I&&5.a.A){5.N(5.a,b)};8(j){8(5.a.A){5.a+=5.h+j}c{5.a=j}};5.H("1U",f 1T().1R());r=f m();18(g 1P 5.d){8(G==5.d[g][1]&&b==5.I){n=5.B(g,5.d[g][0],b);1O 5.d[g];5.d[n[0]]=m(n[1],b);g=n[0]};r[r.A]=g+"="+5.d[g][0]};8(j){5.a+=5.h+r.Z(5.h)}c{5.a+=r.Z(5.h)}};5.Y=7(){1L(5.u)};5.1H=7(j){8(5.R){5.17()}c{5.1a(j);8(5.F){5.o=1G.1E(5.F)};8(5.9){1D 6=5;8(5.y=="1B"){U=5.C+5.V+5.a;5.9.T(5.y,U,b)}c{5.9.T(5.y,5.C,b);J{5.9.1y("1x-1v","1u/x-1s-1r-1q")}D(e){}};5.9.1p=7(){1o(6.9.1C){v 1:6.O();z;v 2:6.11();z;v 3:6.M();z;v 4:6.u=6.9.1n;6.X=6.9.X;6.w[0]=6.9.1J;6.w[1]=6.9.1K;8(6.1c){6.Y()};8(6.o){k=6.o.1l;k.1k();8(k=="1j"||k=="1i"||k=="1h"||k=="1g"){6.o.l=6.u}c{6.o.1S=6.u}};8(6.w[0]=="1f"){6.K()}c{6.1b()};6.a="";z}};5.9.1V(5.a)}}};5.16();5.15()};',62,120,'|||||this|self|function|if|xmlhttp|URLString|true|else|vars||new|key|argumentSeparator||urlstring|elemNodeName|value|Array|encoded|elementObj|name|encodeURIComponent|urlstringtemp|urlVars|null|response|case|responseStatus||method|break|length|encVar|requestFile|catch|varArray|element|false|setVar|encodeURIString|try|onCompletion|regexp|onInteractive|processURLString|onLoading|XMLHTTP|resetFunctions|failed|XMLHttpRequest|open|totalurlstring|queryStringSeparator|returnvars|responseXML|runResponse|join|encode|onLoaded|ActiveXObject|file|string|createAJAX|reset|onFail|for|split|createURLString|onError|execute|resetData|RegExp|200|textarea|option|select|input|toLowerCase|nodeName|return|responseText|switch|onreadystatechange|urlencoded|form|www|sack|application|Type|undefined|Content|setRequestHeader|Object|typeof|GET|readyState|var|getElementById|e2|document|runAJAX|Microsoft|status|statusText|eval|e1|POST|delete|in|Msxml2|getTime|innerHTML|Date|rndval|send'.split('|'),0,{}))

// Ajax dynamic content
var enableCache=true;var jsCache=new Array();var dynamicContent_ajaxObjects=new Array();
function ajax_showContent(divId,ajaxIndex,url){var targetObj=document.getElementById(divId);targetObj.innerHTML=dynamicContent_ajaxObjects[ajaxIndex].response;if(enableCache){jsCache[url]=dynamicContent_ajaxObjects[ajaxIndex].response;};dynamicContent_ajaxObjects[ajaxIndex]=false;ajax_parseJs(targetObj);};
function ajax_loadContent(divId,url){
	if(enableCache && jsCache[url]){document.getElementById(divId).innerHTML = jsCache[url];ajax_parseJs(document.getElementById(divId));evaluateCss(document.getElementById(divId));return;};var ajaxIndex=dynamicContent_ajaxObjects.length;
	document.getElementById(divId).innerHTML='<div class="AJAXloading">Loading</div>';
	dynamicContent_ajaxObjects[ajaxIndex]=new sack();if(url.indexOf('?')>=0){dynamicContent_ajaxObjects[ajaxIndex].method='GET';var string=url.substring(url.indexOf('?'));url=url.replace(string,'');string=string.replace('?','');
	if(string.indexOf('&amp;')>0){deli='&amp;';}else if(string.indexOf(';')>0){deli=';';}else{deli='&';};
	var items=string.split(deli);for(var no=0;no<items.length;no++){var tokens = items[no].split('=');if(tokens.length==2){dynamicContent_ajaxObjects[ajaxIndex].setVar(tokens[0],tokens[1]);};};url=url.replace(string,'');};dynamicContent_ajaxObjects[ajaxIndex].requestFile=url;dynamicContent_ajaxObjects[ajaxIndex].onCompletion=function(){ajax_showContent(divId,ajaxIndex,url);};dynamicContent_ajaxObjects[ajaxIndex].runAJAX();
};
function ajax_parseJs(obj){var scriptTags=obj.getElementsByTagName('SCRIPT');var string='';var jsCode='';for(var no=0;no<scriptTags.length;no++){if(scriptTags[no].src){var head = document.getElementsByTagName("head")[0];var scriptObj = document.createElement("script");scriptObj.setAttribute("type", "text/javascript");scriptObj.setAttribute("src", scriptTags[no].src);}else{if(navigator.userAgent.toLowerCase().indexOf('opera')>=0){jsCode=jsCode+scriptTags[no].text+'\n';}else{jsCode=jsCode+scriptTags[no].innerHTML;};};};if(jsCode){ajax_installScript(jsCode);};};
function ajax_installScript(script){if (!script){return;};if (window.execScript){window.execScript(script)}else if(window.jQuery && jQuery.browser.safari){window.setTimeout(script,0);}else{window.setTimeout( script, 0 );};};
function evaluateCss(obj){var cssTags=obj.getElementsByTagName('STYLE');var head=document.getElementsByTagName('HEAD')[0];for(var no=0;no<cssTags.length;no++){head.appendChild(cssTags[no]);};};

// SWFObject
if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;

// phpAdsNew parser
function loadAds(){
	ajax_loadContent('banneroranye-kiri-atas_','dsp_adsParsing.php?bid=15');
	ajax_loadContent('banneroranye-kiri-bawah_','dsp_adsParsing.php?bid=4');
	ajax_loadContent('bannerbiru-isi_','dsp_adsParsing.php?bid=3');
	ajax_loadContent('banneroranye-kanan-atas_','dsp_adsParsing.php?bid=8');
	ajax_loadContent('banneroranye-kanan-bawah_','dsp_adsParsing.php?bid=9');
	ajax_loadContent('bannerijo-isi_','dsp_adsParsing.php?bid=7');
	ajax_loadContent('artikelmuAds','dsp_adsParsing.php?bid=16');
	ajax_loadContent('banner_cangkir','dsp_adsParsing.php?bid=12');
	ajax_loadContent('thelatest-isi_banner','dsp_adsParsing.php?bid=18');
};

// content parser
function loadContent(){
	ajax_loadContent('suaraanda-isi_','dsp_contentParsing.php?q=quizp');
	ajax_loadContent('shoutout-isi_','dsp_contentParsing.php?q=suaramu');
	ajax_loadContent('rilekstv-isi_','dsp_contentParsing.php?q=konsultasi');
	ajax_loadContent('trivia-isi_','dsp_contentParsing.php?q=solusi');
	ajax_loadContent('hof-isi-kiri_','dsp_contentParsing.php?q=hof');
	ajax_loadContent('breakingnews-isi_','dsp_contentParsing.php?q=breakingnews');
	ajax_loadContent('thelatest-isi_content','dsp_contentParsing.php?q=latest');
	ajax_loadContent('tvc_main','dsp_contentParsing.php?q=whuzzup');
	ajax_loadContent('hof-kanan-isi_','dsp_contentParsing.php?q=mostpopular');
};

// additional custom functions
function op(h,w,u){var a = window.open(u,"aa","width="+w+",height="+h+",status=yes,toolbar=no,menubar=no,location=no");a.focus();};
function fCari() {var cari = document.myFormcari.cari.value;if(cari == "") {alert ("Criteria tidak boleh kosong.");document.myFormcari.cari.focus();} else {document.myFormcari.action = "member/?act=search&cari="+cari;document.myFormcari.submit();};};
function showHide(obj) {if(obj.style.display == "none") {obj.style.display = "block";} else {obj.style.display = "none";};};
