function getDoor(id,i){ 	$.post("engine.php", {'act':'get_door', 'id':id, 'img':i, 'xp':xp},		function(data)		{			$("#left_door").html(data.image);			$("#details").html(data.details);			$("#petik").html(data.petik);  		}, "json"); 	return false;// 	   			.load("engine.php", {\'id\':id, \'img\':i, \'act\':\'get_door\', \'xp\':\''.sed_sourcekey().'\'});}function select(tabid,menu_left,menu_right){	$(".tab").addClass('hidden');	$("#"+tabid).removeClass('hidden');		$(".tab_left").removeClass('left_a');	$(".tab_left").addClass('left_p');	$("#"+menu_left).removeClass('left_p');	$("#"+menu_left).addClass('left_a');		$(".tab_right").removeClass('right_a');	$(".tab_right").addClass('right_p');	$("#"+menu_right).removeClass('right_p');	$("#"+menu_right).addClass('right_a');			//alert(menu_left);//	$("#"+menuid).addClass('left_a');	//$("#"+menuid).className="tab_left left_a";	//$(".tab").AddClass("hidden");	return false;}function open_div(id){	document.getElementById(id).className='show';	return false;}	function open_divv(id){	document.getElementById(id).className='show';}function close_div(id){		document.getElementById(id).className='hide';	return false;}function navigate(url)
	{window.location=url;}	function redirect(el)
	{window.location=el.value;}
	
function open_div(id){
	document.getElementById(id).className='show';
	return false;
}function open_headdiv(id,id1){
	document.getElementById(id).className='show';	document.getElementById(id1).className='menu_sub_hover';
	return false;
}function close_headdiv(id,id1){
	document.getElementById(id).className='hide';	document.getElementById(id1).className='menu_sub';
	return false;
}
	
function open_div(id){

	document.getElementById(id).className='show';

	return false;

}

function close_div(id){	

	document.getElementById(id).className='hide';

	return false;

}
function close_divv(id){	
	document.getElementById(id).className='hide';
}

function show_div(id){	
	document.getElementById(id).className='showblock';
}
function hide_div(id){	
	document.getElementById(id).className='hidden';
}

function toggle(name)
{  $('#'+name).toggleClass('hidden');  return false;}

function swtabz(rtab,uid)
{

  tohide = $("#tabbodycontainer_"+uid+" > *");
  toshow = $('#tabbody_'+rtab+'_'+uid);
 
  tohide.addClass('tabbody');
  tohide.removeClass('currenttabbody');
  toshow.addClass('currenttabbody');
  toshow.removeClass('tabbody');

  tohide = $("#tabcontainer_"+uid+" > div");
  toshow = $('#tab_'+rtab+'_'+uid);
 
  tohide.addClass('tab');
  tohide.removeClass('currenttab');
  toshow.addClass('currenttab');
  toshow.removeClass('tab');
}
}
 