function DeleteArticle (idArt,idOrder,ArtTitle) {

		if (confirm("Are you sure you want to delete this order irrevocably?") ) {
		document.DeleteArt.id_article.value=idArt;
		document.DeleteArt.id_order.value=idOrder;
		document.DeleteArt.submit();
		}
	
	
}

function limitChars(textid, limit, infodiv) {

			var text = $('#'+textid).val(); 
			var textlength = text.length;

			if(textlength > limit) {
				
			//$('#' + infodiv).html('You cannot write more then '+limit+' characters!');
			//$('#'+textid).val(text.substr(0,limit));
			//return false;
			
			} else {
			
			$('#' + infodiv).html('You have '+ (limit - textlength) +' characters left.');
			
			return true;
			
			}
}
