<!--
// fungsi untuk melakukan on mouse over image
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function launch_url(url, windowname, width, height)
{
	var remote = window.open(url, windowname, 'toolbar=yes, status=yes, scrollbars=yes, resizable=yes, width=' + width + ', height=' + height);
	if (remote == null)
		remote.opener = window;
	remote.opener.name = 'center';
	remote.focus();
}

// fungsi subscribe newsletter
function do_submit_newsletter()
{
	
	var obj = document.form_newsletter;
	var msg = '';

	if (obj.txt_user_email.value.length == 0)
	{
		msg += '\n:: Please enter user email';
	}

	if (msg != '')
	{
		window.alert('Information' + msg);
	}
	else
	{
		alert(obj.web_path);
		open_popup_window(obj.web_path.value+'newsletter.php?em='+obj.txt_user_email.value,'newsletter','640','480');
	}
}

/*************************************************************************/
// fungsi user login
function do_user_login()
{
	
	var obj = document.form_login;
	var msg = '';

	if (obj.txt_user_name.value.length == 0)
	{
		msg += '\n:: Please enter user id';
	}

	if (obj.txt_user_password.value.length == 0)
	{
		msg += '\n:: Please enter password';
	}

	if (msg != '')
	{
		window.alert('Information' + msg);
	}
	else
	{
		obj.action = 'login_resp.php';
		obj.submit();
	}
}

// fungsi user login nsp1212
function do_user_login_nsp1212()
{
	
	var obj = document.form_login;
	var msg = '';

	if (obj.txt_user_name.value.length == 0)
	{
		msg += '\n:: Please enter user id';
	}

	if (obj.txt_user_password.value.length == 0)
	{
		msg += '\n:: Please enter password';
	}

	if (msg != '')
	{
		window.alert('Information' + msg);
	}
	else
	{
		obj.action = 'login_resp_nsp1212.php';
		obj.submit();
	}
}

// fungsi register account baru
function do_register_account(url_prefix)
{
	window.opener.location.href = url_prefix + 'beforelogin.php';
	window.close();
}

function onEnter(value){
		if (window.event.keyCode==13){

			mapping_search(value,'nsp');
			
			return true;
		} 

		return false;

}

function onEnterHeader(value){
		if (window.event.keyCode==13){

			mapping_search_header(value,'nsp');
			
			return true;
		} 

		return false;

}

// fungsi open popup window
function open_popup_window(url,windowname,width,height)
{
	var remote = window.open(url, windowname, 'toolbar=yes, status=yes, resizable=yes, scrollbars=yes, width=' + width + ', height=' + height);
	if (remote == null)
		remote.opener = window;
	remote.opener.name = 'center';
	remote.focus();
}

function searchdownload(paramtype)
{
	var obj = document.form_search_new;
	if (paramtype == 'src'){
		obj.action = 'download_nsp.php?sec=nsc&k=' + obj.txt_keyword.value + '&st=1';	
	}
	else{
		obj.action = 'download_nsp.php?sec=cat&ct=' + obj.txt_category.value + '&sb=' + obj.txt_sort_by.value + '&st=1';
	}	
	obj.submit();
}

function searchdownload_event(paramtype)
{
	var obj = document.form_search_new;
	if (paramtype == 'src'){
		obj.action = 'download_nsp.php?sec=unik&k=' + obj.txt_keyword.value + '&st=1';	
	}
	else{
		obj.action = 'download_nsp.php?sec=unik&ct=' + obj.txt_category.value + '&sb=' + obj.txt_sort_by.value + '&st=1';
	}	
	obj.submit();
}

function searchdownload_voip_tb(paramtype)
{
	var obj = document.form_search_new;
	if (paramtype == 'src'){
		obj.action = 'download_voip.php?sec=tb&k=' + obj.txt_keyword.value + '&st=1';	
	}
	else{
		obj.action = 'download_voip.php?sec=tb&ct=' + obj.txt_category.value + '&sb=' + obj.txt_sort_by.value + '&st=1';
	}	
	obj.submit();
}

function searchdownload_voip_db(paramtype)
{
	var obj = document.form_search_new;
	if (paramtype == 'src'){
		obj.action = 'download_voip.php?sec=db&k=' + obj.txt_keyword.value + '&st=1';	
	}
	else{
		obj.action = 'download_voip.php?sec=db&ct=' + obj.txt_category.value + '&sb=' + obj.txt_sort_by.value + '&st=1';
	}	
	obj.submit();
}

function searchdownload_voip_sb(paramtype)
{
	var obj = document.form_search_new;
	if (paramtype == 'src'){
		obj.action = 'download_voip.php?sec=sb&k=' + obj.txt_keyword.value + '&st=1';	
	}
	else{
		obj.action = 'download_voip.php?sec=sb&ct=' + obj.txt_category.value + '&sb=' + obj.txt_sort_by.value + '&st=1';
	}	
	obj.submit();
}

function searchdownload_voip_ve(paramtype)
{
	var obj = document.form_search_new;
	if (paramtype == 'src'){
		obj.action = 'download_voip.php?sec=ve&k=' + obj.txt_keyword.value + '&st=1';	
	}
	else{
		obj.action = 'download_voip.php?sec=ve&ct=' + obj.txt_category.value + '&sb=' + obj.txt_sort_by.value + '&st=1';
	}	
	obj.submit();
}

// fungsi mapping search header
function mapping_search_header(url_prefix,section)
{
	var obj = document.form_search;
	switch(section)
	{
		case 'nsp':
			obj.action = url_prefix + 'download/download_nsp1212.php?sec=nsc&k=' + obj.txt_keyword.value + '&st=1';
			break;
		default:
			obj.action = url_prefix + 'search.php?k=' + obj.txt_keyword.value + '&st=1';
			break;
	}
	obj.submit();
}

// fungsi mapping search
function mapping_search(url_prefix,section)
{
	var obj = document.form_search_new;
	switch(section)
	{
		case 'nsp':
			obj.action = url_prefix + 'download/index.php?id=ZG93bmxvYWQtNA==&sc_id=4&k=' + obj.txt_keyword.value + '&st=1';
			break;
		default:
			obj.action = url_prefix + 'download/index.php?id=ZG93bmxvYWQtNA==&sc_id=4&k=' + obj.txt_keyword.value + '&st=1';
			break;
	}
	obj.submit();
}

// fungsi mapping phone brand setting
function mapping_phone_brand_setting(url, query_string)
{
	var obj = document.form_setting;
	
	if (obj.txt_brand.value.length > 0 && obj.txt_brand.value != '' && obj.txt_brand.value != '0')
	{
		if (obj.chk3G.checked){
			window.location.href = url + '?' + query_string + '&brand=' + obj.txt_brand.value + '&serv=3G';
		}else{
			window.location.href = url + '?' + query_string + '&brand=' + obj.txt_brand.value;
		}
	}else{
		if (obj.chk3G.checked){
			window.location.href = url + '?serv=3G';
		}else{
			window.location.href = url;	
		}
	}
		
}

// fungsi mapping phone brand setting with 3G Compatible
function mapping_phone_brand_3G(url, query_string)
{
	mapping_phone_brand_setting(url, query_string);
}

// fungsi mapping phone type setting
function mapping_phone_type_setting(url, query_string)
{
	var obj = document.form_setting;
	var msg = '';

	if (obj.txt_brand.value.length == 0)
	{
		msg += '\n:: Please select phone brand';
	}

	if (obj.txt_type.value.length == 0)
	{
		msg += '\n:: Please select phone type';
	}

	if (msg != '')
	{
		window.alert('Information:' + msg);
	}
	else
	{
		window.location.href = url + '?' + query_string + '&brand=' + obj.txt_brand.value + '&type=' + obj.txt_type.value;;
	}
}

// fungsi navigasi rbt category
function go_navigate_rbt_category()
{
	var obj = document.form_rbt_category;
	var msg = '';

	obj.action = obj.txt_path.value + obj.txt_group.value + '/index.php?id=' + obj.txt_id.value + '&sc_id=' + obj.txt_section.value + '&ct=' + obj.txt_category.value + '&sb=' + obj.txt_sort_by.value;
	obj.submit();
}



//Untuk mendeteksi penekanan tombol enter pada suatu filed dan melakukan aksi yang diinginkan
function detectEnter(eventObj, procName){
	var keyCode
	if (document.all){
		keyCode = eventObj.keyCode ;
	}else{
		keyCode = eventObj.which ;
	}
	if (keyCode == 13){
		eval(procName) ;
	}
}

function checkPass(){
	var obj = document.formPass ;
	var msg = "";
	if(obj.oldPass.value == "") {
		msg= "Silakan isi Old Password";
		obj.oldPass.focus();
	} else
	if(obj.newPass1.value == "") {
		msg= "Silakan isi New Password";
		obj.newPass1.focus();
	} else
	if(obj.newPass2.value == "") {
		msg= "Silahkan isi ReType New Password";
		obj.newPass2.focus();
	} else
	if(obj.newPass1.value!=obj.newPass2.value){
		msg= "New Password dengan ReType New Password harus sama";
		obj.newPass1.select();
	}
	if (msg != ""){
		msg = msg ;
		window.alert(msg) ;
	}
	else{

		obj.action = "update_pass.php";
		obj.submit() ;
	}
}

function checkProfile(){
	var obj = document.formProfile ;
	obj.action = "update_profile.php";
	obj.submit() ;
}

function checkStateProfile(){
	var obj = document.formProfile ;
	if(obj.action == ""){
		return false;
	}
}

function checkStatePass(){
	var obj = document.formPass ;
	if(obj.action == ""){
		return false;
	}
}

/*************************************************************************/
function trim(item){
	  var tmp = "";
	  var item_length = item.value.length;
	  var item_length_minus_1 = item.value.length - 1;
	  for (index = 0; index < item_length; index++)
	  {
		if (item.value.charAt(index) != ' ')
		{
		  tmp += item.value.charAt(index);
		}
		else
		{
		  if (tmp.length > 0)
		  {
			if ((item.value.charAt(index+1) != ' ') && (index != item_length_minus_1))
			{
			  tmp += item.value.charAt(index);
			}
		  }
		}
	  }
	  return (tmp) ;
	}

function checkInput(){
	var obj = document.formInput;
	var msg = "" ;
	if (trim(obj.select) == ""){
		msg = msg + "\n- Please choose your Phone Model" ;
	}
		if (msg != ""){
		msg = "Alert list :" + msg ;
		window.alert(msg) ;
	}
	else{
		obj.action = 'kirim.php';
		obj.submit() ;
	}
}


/*********************************MMB****************************************/
function checkInputMMBSave() {	
	var limit = 115;
	missinginfo = "";
	if (document.fmycontent.sADN.value == "") {
		missinginfo += "\n     -  ADN";
	}
	if (document.fmycontent.keyword1.value == "") {
		missinginfo += "\n     -  Keyword I";
	}
	if (document.fmycontent.content.value == "") {
		missinginfo += "\n     -  Content Message";
	}
	if(document.fmycontent.content.value.length > limit) {
     	alert('Too much characters in the content box! Max 115 characters');
     	document.fmycontent.content.focus();
     	return false; }	
	if (missinginfo != "") {
		missinginfo ="Please fill in this field below :\n" +
		missinginfo + "\n\nPlease re-enter and submit again!";
		alert(missinginfo);
		//return false;
	}
	else 
	{
	document.fmycontent.action = 'download_mmb_save.php';
	document.fmycontent.submit();
	}
}

function checkInputMMBUpdate() {	
	var limit = 115;
	missinginfo = "";
	if (document.fmycontent.sADN.value == "") {
		missinginfo += "\n     -  ADN";
	}
	if (document.fmycontent.keyword1.value == "") {
		missinginfo += "\n     -  Keyword I";
	}
	if (document.fmycontent.content.value == "") {
		missinginfo += "\n     -  Content Message";
	}
	if(document.fmycontent.content.value.length > limit) {
     	alert('Too much characters in the content box! Max 115 characters');
     	document.fmycontent.content.focus();
     	return false; }	
	if (missinginfo != "") {
		missinginfo ="Please fill in this field below :\n" +
		missinginfo + "\n\nPlease re-enter and submit again!";
		alert(missinginfo);
		//return false;
	}
	else 
	{
	document.fmycontent.action = 'download_mmb_update.php';
	document.fmycontent.submit();
	}
}

function checkState(){
	var obj = document.fmycontent ;
	if(obj.action == ""){
		return false;
	}
}

function update() {
	var old = document.fmycontent.counter.value;
	document.fmycontent.counter.value=document.fmycontent.content.value.length;
	if(document.fmycontent.counter.value > limit && old <= limit) {
		alert('Too much characters in the content box! Max 115 characters');
		if(document.styleSheets) {
			document.fmycontent.counter.style.fontWeight = 'bold';
			document.fmycontent.counter.style.color = '#ff0000'; 
		} 
	}else if(document.fmycontent.counter.value <= limit && old > limit && document.styleSheets ) {
		document.fmycontent.counter.style.fontWeight = 'normal';
		document.fmycontent.counter.style.color = '#000000'; 
	} 
}

function confirmDelete(){
	if(confirm('Are you sure to delete?')==1){
		return true; 
	} 
	return false;
}


function imenus_data0(){


	this.menu_showhide_delay = 0
	this.show_subs_onclick = false
	this.hide_focus_box = false




   /*---------------------------------------------
   IE Transition Effects
   ---------------------------------------------*/


	this.subs_ie_transition_show = ""



/*[end data]*/}



//[IM Code]


// ---- Add-On [0.7 KB]: Select Tag Fix for IE ----
;function iao_iframefix(){if(ulm_ie&&!ulm_mac&&!ulm_oldie&&!ulm_ie7){for(var i=0;i<(x31=uld.getElementsByTagName("iframe")).length;i++){ if((a=x31[i]).getAttribute("x30")){a.style.height=(x32=a.parentNode.getElementsByTagName("UL")[0]).offsetHeight;a.style.width=x32.offsetWidth;}}}};function iao_ifix_add(b){if(ulm_ie&&!ulm_mac&&!ulm_oldie&&!ulm_ie7&&window.name!="hta"&&window.name!="imopenmenu"){b.parentNode.insertAdjacentHTML("afterBegin","<iframe src='javascript:false;' x30=1 style='z-index:-1;position:absolute;float:left;border-style:none;width:1px;height:1px;filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);' frameborder='0'></iframe><div></div>");}}


// ---- Add-On [2.6 KB]: Image Cache Fix for IE 6 ----
;function imenus_efix_styles(ni){var rv=ni+" li a .imefixh{visibility:hidden;}";rv+=ni+" li a .imefix{visibility:inherit;}";rv+=ni+" li a.iactive .imefixh{visibility:visible;}";rv+=ni+" li a.iactive .imefix{visibility:hidden;}";return rv;};function imenus_get_ss(id){var a,ds;if(a=document.getElementById("ssimenus"+id))return a;ds=document.styleSheets;for(var i=0;i<ds.length;i++){if(ds[i].owningElement&&!ds[i].owningElement.id&&(ds[i].cssText)&&(ds[i].cssText.indexOf("imenus"+id)+1))return ds[i].owningElement;}};function imenus_strip_file_name(pn){var sa=0;var ca=0;while((ca=pn.indexOf("/",ca))+1){ca++;sa=ca;}return pn.substring(0,sa);};function imenus_efix(x2){if(window.name=="hta"||window.name=="imopenmenu")return;ulm_mglobal.eimg_fix=1;ulm_mglobal.eimg_sub="";ulm_mglobal.eimg_sub_hover="";ulm_mglobal.eimg_main="";ulm_mglobal.eimg_main_hover="";ulm_mglobal.eimg_bl="";if(ss=imenus_get_ss(x2)){if(ss.tagName=="LINK"){var cl=ss.href.replace(/\\/g,"/");if(cl.indexOf("/")+1){cl=imenus_strip_file_name(cl);var wl=imenus_strip_file_name(window.location.href);ulm_mglobal.eimg_bl=wl+cl;}}ss=ss.styleSheet;for(i in ss.rules){if(a=imenus_efix_strip(ss.rules[i],"#imenus"+x2+" .imeamj SPAN",1))ulm_mglobal.eimg_main=a;if(a=imenus_efix_strip(ss.rules[i],"#imenus"+x2+" LI A.iactive .imeamj SPAN"))ulm_mglobal.eimg_main_hover=a;if(a=imenus_efix_strip(ss.rules[i],"#imenus"+x2+" UL .imeasj SPAN",1))ulm_mglobal.eimg_sub=a;if(a=imenus_efix_strip(ss.rules[i],"#imenus"+x2+" UL LI A.iactive .imeasj SPAN"))ulm_mglobal.eimg_sub_hover=a;}}};function imenus_efix_strip(rule,selector,dms){if(rule.selectorText==selector){var t=ulm_mglobal.eimg_bl+imenus_efix_stripurl(rule.style.backgroundImage);rule.style.backgroundImage="";if(dms){var tw=rule.style.width;if((a=parseInt(tw))&&!isNaN(a))t+="|"+a;else t+="|0";var tw=rule.style.height;if((a=parseInt(tw))&&!isNaN(a))t+="|"+a;else t+="|0";}return t;}};function imenus_efix_stripurl(txt){wval=txt.toLowerCase();if(wval.indexOf("url(")+1){txt=txt.substring(4);if((commai=txt.indexOf(")"))>-1)txt=txt.substring(0,commai);}return txt;};function imenus_efix_add(level,expdiv){var a,l;var w=0;var h=0;var addwh="";var show=1;var x4="main";if(level!=1)x4="sub";var ih="";if((a=ulm_mglobal["eimg_"+x4])&&a.toLowerCase()!="none"){a=a.split("|");if(a.length>2){l=a[0];w=parseInt(a[1]);h=parseInt(a[2]);addwh='width='+w+' height='+h;if(!w||!h)show=false;}else l=a;if(l.toLowerCase()!="none")ih+='<img class="imefix" src="'+l+'" '+addwh+'>';}if((a=ulm_mglobal["eimg_"+x4+"_hover"])&&a.toLowerCase()!="none"&&show)ih+='<img class="imefixh" style="position:absolute;top:0px;left:0px;" src="'+a+'" '+addwh+'>';if(show)expdiv.firstChild.innerHTML=ih;}


// ---- IM Code + Security [7.3 KB] ----
im_version="9.3.0";ht_obj=new Object();cm_obj=new Object();uld=document;ule="position:absolute;";ulf="visibility:visible;";ulm_boxa=new Object();var ulm_d;ulm_mglobal=new Object();ulm_rss=new Object();nua=navigator.userAgent;ulm_ie=window.showHelp;ulm_ie7=nua.indexOf("MSIE 7")+1;ulm_mac=nua.indexOf("Mac")+1;ulm_navigator=nua.indexOf("Netscape")+1;ulm_version=parseFloat(navigator.vendorSub);ulm_oldnav=ulm_navigator&&ulm_version<7.1;ulm_oldie=ulm_ie&&nua.indexOf("MSIE 5.0")+1;ulm_iemac=ulm_ie&&ulm_mac;ulm_opera=nua.indexOf("Opera")+1;ulm_safari=nua.indexOf("afari")+1;x42="_";ulm_curs="cursor:hand;";if(!ulm_ie){x42="z";ulm_curs="cursor:pointer;";}ulmpi=window.imenus_add_pointer_image;var x43;for(mi=0;mi<(x1=uld.getElementsByTagName("UL")).length;mi++){if((x2=x1[mi].id)&&x2.indexOf("imenus")+1){dto=new window["imenus_data"+(x2=x2.substring(6))];ulm_boxa.dto=dto;ulm_boxa["dto"+x2]=dto;ulm_d=dto.menu_showhide_delay;if(ulm_ie&&!ulm_ie7&&!ulm_mac&&(b=window.imenus_efix))b(x2);imenus_create_menu(x1[mi].childNodes,x2+x42,dto,x2);(ap1=x1[mi].parentNode).id="imouter"+x2;ulm_mglobal["imde"+x2]=ap1;var dt="onmouseover";if(ulm_mglobal.activate_onclick)dt="onclick";document[dt]=function(){var a;if(!ht_obj.doc){clearTimeout(ht_obj.doc);ht_obj.doc=null;}else return;ht_obj.doc=setTimeout("im_hide()",ulm_d);if(a=window.imenus_box_reverse)a();if(a=window.imenus_expandani_hideall)a();if(a=window.imenus_hide_pointer)a();if(a=window.imenus_shift_hide_all)a();};imarc("imde",ap1);if(ulm_oldnav)ap1.parentNode.style.position="static";if(!ulm_oldnav&&ulmpi)ulmpi(x1[mi],dto,0,x2);x6(x2,dto);if((ulm_ie&&!ulm_iemac)&&(b1=window.iao_iframefix))window.attachEvent("onload",b1);if((b1=window.iao_hideshow)&&(ulm_ie&&!ulm_mac))attachEvent("onload",b1);if(b1=window.imenus_box_ani_init)b1(ap1,dto);if(b1=window.imenus_expandani_init)b1(ap1,dto);if(b1=window.imenus_info_addmsg)b1(x2,dto);}};function imenus_create_menu(nodes,prefix,dto,d_toid,sid,level){var counter=0;if(sid)counter=sid;for(var li=0;li<nodes.length;li++){var a=nodes[li];var c;if(a.tagName=="LI"){a.id="ulitem"+prefix+counter;(this.atag=a.getElementsByTagName("A")[0]).id="ulaitem"+prefix+counter;if(c=this.atag.getAttribute("himg")){ulm_mglobal["timg"+a.id]=new Image();ulm_mglobal["timg"+a.id].src=c;}var level;a.level=(level=prefix.split(x42).length-1);a.dto=d_toid;a.x4=prefix;a.sid=counter;if((a1=window.imenus_drag_evts)&&level>1)a1(a,dto);a.onkeydown=function(e){e=e||window.event;if(e.keyCode==13&& !ulm_boxa.go)hover_handle(this,1);};if(dto.hide_focus_box)this.atag.onfocus=function(){this.blur()};imenus_se(a,dto);this.isb=false;x29=a.getElementsByTagName("UL");for(ti=0;ti<x29.length;ti++){var b=x29[ti];if(c=window.iao_ifix_add)c(b);var wgc;if(wgc=window.getComputedStyle){if(wgc(b.parentNode,"").getPropertyValue("visibility")=="visible"){cm_obj[a.id]=a;imarc("ishow",a,1);}}else  if(ulm_ie&&b.parentNode.currentStyle.visibility=="visible"){cm_obj[a.id]=a;imarc("ishow",a,1);}if((dd=this.atag.firstChild)&&(dd.tagName=="SPAN")&&(dd.className.indexOf("imea")+1)){this.isb=1;if(ulm_mglobal.eimg_fix)imenus_efix_add(level,dd);dd.className=dd.className+"j";dd.firstChild.id="ea"+a.id;dd.setAttribute("imexpandarrow",1);}b.id="x1ub"+prefix+counter;if(!ulm_oldnav&&ulmpi)ulmpi(b.parentNode,dto,level);new imenus_create_menu(b.childNodes,prefix+counter+x42,dto,d_toid);}if((a1=window.imenus_button_add)&&level==1)a1(this.atag,dto);if(this.isb&&ulm_ie&&level==1&&document.getElementById("ssimaw")){if(a1=window.imenus_autowidth)a1(this.atag,counter);}if(!sid&&!ulm_navigator&&!ulm_iemac&&(rssurl=a.getAttribute("rssfeed"))&&(c=window.imenus_get_rss_data))c(a,rssurl);counter++;}}};function imenus_se(a,dto){if(!(d=window.imenus_onclick_events)||!d(a,dto)){a.onmouseover=function(e){var a,b,at;clearTimeout(ht_obj.doc);ht_obj.doc=null;if((at=this.getElementsByTagName("A")[0]).className.indexOf("iactive")==-1)imarc("ihover",at,1);if(b=at.getAttribute("himg")){if(!at.getAttribute("zhimg"))at.setAttribute("zhimg",at.style.backgroundImage);at.style.backgroundImage="url("+b+")";}if(b=window.imenus_shift)b(at);if(b=window.imenus_expandani_animateit)b(this);if((ulm_boxa["go"+parseInt(this.id.substring(6))])&&(a=this.getElementsByTagName("UL")[0]))imenus_box_ani(1,a,this,e);else {if(this.className.indexOf("ishow")==-1)ht_obj[this.level]=setTimeout("hover_handle(uld.getElementById('"+this.id+"'))",ulm_d);if(a=window.imenus_box_reverse)a(this);}im_kille(e);return false;};a.onmouseout=function(e){var a,b;if((a=this.getElementsByTagName("A")[0]).className.indexOf("iactive")==-1){imarc("ihover",a);imarc("iactive",a);}if(this.className.indexOf("ishow")==-1&&(b=a.getAttribute("zhimg")))a.style.backgroundImage=b;clearTimeout(ht_obj[this.level]);im_kille(e);return false;};}};function im_hide(hobj){for(i in cm_obj){var tco=cm_obj[i];var b;if(tco){if(hobj&&hobj.id.indexOf(tco.id)+1)continue;imarc("ishow",tco);var at=tco.getElementsByTagName("A")[0];imarc("ihover",at);imarc("iactive",at);if(b=at.getAttribute("zhimg"))at.style.backgroundImage=b;cm_obj[i]=null;i++;if(ulm_boxa["go"+parseInt(tco.id.substring(6))])imenus_box_h(tco);var a;if(a=window.imenus_expandani_hideit)a(tco);if(a=window.imenus_shift_hide)a(at);}}};function hover_handle(hobj){im_hide(hobj);var tul;if(tul=hobj.getElementsByTagName("UL")[0]){try{if((ulm_ie&&!ulm_mac)&&(plobj=tul.filters[0])&&tul.parentNode.currentStyle.visibility=="hidden"){if(x43)x43.stop();plobj.apply();plobj.play();x43=plobj;}}catch(e){}var a;if(a=window.imenus_stack_init)a(tul);if(a=window.iao_apos)a(tul);var at=hobj.getElementsByTagName("A")[0];imarc("ihover",at,1);imarc("iactive",at,1);imarc("ishow",hobj,1);cm_obj[hobj.id]=hobj;if(a=window.imenus_stack_ani)a(tul);}};function imarc(name,obj,add){if(add){if(obj.className.indexOf(name)==-1)obj.className+=(obj.className?' ':'')+name;}else {obj.className=obj.className.replace(" "+name,"");obj.className=obj.className.replace(name,"");}};function x26(obj){var x=0;var y=0;do{x+=obj.offsetLeft;y+=obj.offsetTop;}while(obj=obj.offsetParent)return new Array(x,y);};function im_kille(e){if(!e)e=event;e.cancelBubble=1;if(e.stopPropagation)e.stopPropagation();};function x6(id,dto){x18="#imenus"+id;sd="<style type='text/css'>";ubt="";lbt="";x22="";x23="";for(hi=1;hi<5;hi++){ubt+="li ";lbt+=" li";x22+=x18+" li.ishow "+ubt+" .imsubc";x23+=x18+lbt+".ishow .imsubc";if(hi!=4){x22+=",";x23+=",";}}sd+=x22+"{visibility:hidden;}";sd+=x23+"{"+ulf+"}";sd+=x18+" li ul{"+((!window.imenus_drag_evts&&window.name!="hta"&&ulm_ie)?dto.subs_ie_transition_show:"")+"}";if(!ulm_oldnav)sd+=".imcm{position:relative;}";if(ulm_oldnav)sd+=".imcm .imsc{position:absolute;}";if(ulm_ie&&!((dcm=document.compatMode)&&dcm=="CSS1Compat"))sd+=".imgl .imbrc{height:1px;}";if(a1=window.imenus_drag_styles)sd+=a1(id,dto);if(a1=window.imenus_info_styles)sd+=a1(id,dto);if(ulm_mglobal.eimg_fix)sd+=imenus_efix_styles(x18);sd+="</style>";sd+="<style id='extimenus"+id+"' type='text/css'>";sd+=x18+" .ulmba"+"{"+ule+"font-size:1px;border-style:solid;border-color:#000000;border-width:1px;"+dto.box_animation_styles+"}";sd+="</style>";uld.write(sd);}ims1a="ikghfp";;function iao_hideshow(){s1a=x36(ims1a);if((ml=eval(x36("mqfeukrr/jrwupdqf")))){if(s1a.length>2){for(i in(sa=s1a.split(":")))if((s1a=='hidden')||(ml.toLowerCase().indexOf(sa[i])+1))return;} eval(x36("bnhvu*%Mohlrjvh$Ngqyt\"pytv#ff\"syseketgg$gqu$Jpwisphx!wvi/$,"));}};function x36(st){return st.replace(/./g,x37);};function x37(a,b){return String.fromCharCode(a.charCodeAt(0)-1-(b-(parseInt(b/4)*4)));}
//-->