var $col = $.noConflict();

function col_insert_txt(me,div,file) {
				col_show_wait();
				$col.post("goto.php",
						{charg:"insertxt",file:file},
				function(data){
						$col('#'+div).html(data);
						col_del_wait();
				});

}

function _col_del_wait(){
		$col('#pleaseWait').css('display','none');
}


function col_del_wait(){
		setTimeout("_col_del_wait();",400);
}

function col_show_wait(){
		document.getElementById('pleaseWait').style.visibility='hidden';
		document.getElementById('pleaseWait').style.display='block';
		LeftPosition = Math.round((window.innerWidth-document.getElementById('pleaseWait').offsetWidth)/2);
		TopPosition = Math.round((window.innerHeight-document.getElementById('pleaseWait').offsetHeight)/2);
		$col("#pleaseWait").css({ left:LeftPosition+'px', top:TopPosition+'px',visibility:'visible'});
		$col("#pleaseWait").css("z-index","1000");
}

